diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2010-08-14 15:08:53 -0400 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-08-14 15:08:53 -0400 |
commit | e04a715e4e1210a6ecfcaa0e6ceefde07020710b (patch) | |
tree | 48bd4a50412788b9a9d68a24c0bf8c1cecf108cd /Documentation/hwmon/sysfs-interface | |
parent | f46fc8cd382f318a7d9c6cd0af1b771c74e5dfd0 (diff) |
hwmon: Add 4 current alarm/beep attributes to sysfs-interface
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>
Diffstat (limited to 'Documentation/hwmon/sysfs-interface')
-rw-r--r-- | Documentation/hwmon/sysfs-interface | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface index 2e492187a665..d4d175b8a54a 100644 --- a/Documentation/hwmon/sysfs-interface +++ b/Documentation/hwmon/sysfs-interface | |||
@@ -363,9 +363,6 @@ Also see the Alarms section for status flags associated with temperatures. | |||
363 | * Currents * | 363 | * Currents * |
364 | ************ | 364 | ************ |
365 | 365 | ||
366 | Note that no known chip provides current measurements as of writing, | ||
367 | so this part is theoretical, so to say. | ||
368 | |||
369 | curr[1-*]_max Current max value | 366 | curr[1-*]_max Current max value |
370 | Unit: milliampere | 367 | Unit: milliampere |
371 | RW | 368 | RW |
@@ -490,6 +487,7 @@ limit-related alarms, not both. The driver should just reflect the hardware | |||
490 | implementation. | 487 | implementation. |
491 | 488 | ||
492 | in[0-*]_alarm | 489 | in[0-*]_alarm |
490 | curr[1-*]_alarm | ||
493 | fan[1-*]_alarm | 491 | fan[1-*]_alarm |
494 | temp[1-*]_alarm | 492 | temp[1-*]_alarm |
495 | Channel alarm | 493 | Channel alarm |
@@ -501,6 +499,8 @@ OR | |||
501 | 499 | ||
502 | in[0-*]_min_alarm | 500 | in[0-*]_min_alarm |
503 | in[0-*]_max_alarm | 501 | in[0-*]_max_alarm |
502 | curr[1-*]_min_alarm | ||
503 | curr[1-*]_max_alarm | ||
504 | fan[1-*]_min_alarm | 504 | fan[1-*]_min_alarm |
505 | fan[1-*]_max_alarm | 505 | fan[1-*]_max_alarm |
506 | temp[1-*]_min_alarm | 506 | temp[1-*]_min_alarm |
@@ -532,6 +532,7 @@ beep_enable Master beep enable | |||
532 | RW | 532 | RW |
533 | 533 | ||
534 | in[0-*]_beep | 534 | in[0-*]_beep |
535 | curr[1-*]_beep | ||
535 | fan[1-*]_beep | 536 | fan[1-*]_beep |
536 | temp[1-*]_beep | 537 | temp[1-*]_beep |
537 | Channel beep | 538 | Channel beep |