Skip to content

Commit

Permalink
hwmon: Add 4 current alarm/beep attributes to sysfs-interface
Browse files Browse the repository at this point in the history
Add currX_alarm, currX_min_alarm, currX_max_alarm and currX_beep
attributes to the hwmon sysfs API.

currX_min_alarm and currX_max_alarm are already supported by the LTC4215
and LTC4245 drivers. currX_alarm is supported by the LTC4261 driver.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
  • Loading branch information
Guenter Roeck authored and Jean Delvare committed Aug 14, 2010
1 parent f46fc8c commit e04a715
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Documentation/hwmon/sysfs-interface
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,6 @@ Also see the Alarms section for status flags associated with temperatures.
* Currents *
************

Note that no known chip provides current measurements as of writing,
so this part is theoretical, so to say.

curr[1-*]_max Current max value
Unit: milliampere
RW
Expand Down Expand Up @@ -490,6 +487,7 @@ limit-related alarms, not both. The driver should just reflect the hardware
implementation.

in[0-*]_alarm
curr[1-*]_alarm
fan[1-*]_alarm
temp[1-*]_alarm
Channel alarm
Expand All @@ -501,6 +499,8 @@ OR

in[0-*]_min_alarm
in[0-*]_max_alarm
curr[1-*]_min_alarm
curr[1-*]_max_alarm
fan[1-*]_min_alarm
fan[1-*]_max_alarm
temp[1-*]_min_alarm
Expand Down Expand Up @@ -532,6 +532,7 @@ beep_enable Master beep enable
RW

in[0-*]_beep
curr[1-*]_beep
fan[1-*]_beep
temp[1-*]_beep
Channel beep
Expand Down

0 comments on commit e04a715

Please sign in to comment.