diff options
author | Chris Verges <kg4ysn@gmail.com> | 2013-01-05 01:41:20 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-02-06 09:57:58 -0800 |
commit | 2bf9233a108cea32edbb5a65afa8e609fa146577 (patch) | |
tree | 7c7f3550fd520786c63d63b1c65f5b5893cd95a0 /Documentation/hwmon/lm73 | |
parent | 8c14d126ae2efbcd094b24e5413b8cbe1d2c01e4 (diff) | |
download | linux-stable-2bf9233a108cea32edbb5a65afa8e609fa146577.tar.gz linux-stable-2bf9233a108cea32edbb5a65afa8e609fa146577.tar.bz2 linux-stable-2bf9233a108cea32edbb5a65afa8e609fa146577.zip |
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/lm73')
-rw-r--r-- | Documentation/hwmon/lm73 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/hwmon/lm73 b/Documentation/hwmon/lm73 index 782b3e1055ca..8af059dcb642 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. |