summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuenter Roeck2010-08-14 21:08:53 +0200
committerJean Delvare2010-08-14 21:08:53 +0200
commite04a715e4e1210a6ecfcaa0e6ceefde07020710b (patch)
tree48bd4a50412788b9a9d68a24c0bf8c1cecf108cd
parenthwmon: Add 3 critical limit attributes to sysfs-interface (diff)
downloadkernel-qcow2-linux-e04a715e4e1210a6ecfcaa0e6ceefde07020710b.tar.gz
kernel-qcow2-linux-e04a715e4e1210a6ecfcaa0e6ceefde07020710b.tar.xz
kernel-qcow2-linux-e04a715e4e1210a6ecfcaa0e6ceefde07020710b.zip
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>
-rw-r--r--Documentation/hwmon/sysfs-interface7
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.
* 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
@@ -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
@@ -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
@@ -532,6 +532,7 @@ beep_enable Master beep enable
RW
in[0-*]_beep
+curr[1-*]_beep
fan[1-*]_beep
temp[1-*]_beep
Channel beep