summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorChris Verges <kg4ysn@gmail.com>2013-01-05 01:41:20 -0800
committerGuenter Roeck <linux@roeck-us.net>2013-02-06 09:57:58 -0800
commit2bf9233a108cea32edbb5a65afa8e609fa146577 (patch)
tree7c7f3550fd520786c63d63b1c65f5b5893cd95a0 /Documentation/hwmon
parent8c14d126ae2efbcd094b24e5413b8cbe1d2c01e4 (diff)
downloadop-kernel-dev-2bf9233a108cea32edbb5a65afa8e609fa146577.zip
op-kernel-dev-2bf9233a108cea32edbb5a65afa8e609fa146577.tar.gz
hwmon: (lm73) Add support for max/min alarms
Add support for temp1_min_alarm and temp1_max_alarm Signed-off-by: Chris Verges <kg4ysn@gmail.com> [linux@roeck-us.net: cleanup; dropped platform data and interrupt support] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r--Documentation/hwmon/lm7311
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/hwmon/lm73 b/Documentation/hwmon/lm73
index 782b3e1..8af059d 100644
--- a/Documentation/hwmon/lm73
+++ b/Documentation/hwmon/lm73
@@ -77,3 +77,14 @@ via the following function:
where 'x' is the output from 'update_interval' and 'g(x)' is the
resolution in degrees C per LSB.
+
+Alarm Support
+-------------
+
+The LM73 features a simple over-temperature alarm mechanism. This
+feature is exposed via the sysfs attributes.
+
+The attributes 'temp1_max_alarm' and 'temp1_min_alarm' are flags
+provided by the LM73 that indicate whether the measured temperature has
+passed the 'temp1_max' and 'temp1_min' thresholds, respectively. These
+values _must_ be read to clear the registers on the LM73.
OpenPOWER on IntegriCloud