diff options
author | Chris Verges <kg4ysn@gmail.com> | 2013-01-05 04:41:20 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-02-06 12:57:58 -0500 |
commit | 2bf9233a108cea32edbb5a65afa8e609fa146577 (patch) | |
tree | 7c7f3550fd520786c63d63b1c65f5b5893cd95a0 /Documentation/hwmon | |
parent | 8c14d126ae2efbcd094b24e5413b8cbe1d2c01e4 (diff) |
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/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: | |||
77 | 77 | ||
78 | where 'x' is the output from 'update_interval' and 'g(x)' is the | 78 | where 'x' is the output from 'update_interval' and 'g(x)' is the |
79 | resolution in degrees C per LSB. | 79 | resolution in degrees C per LSB. |
80 | |||
81 | Alarm Support | ||
82 | ------------- | ||
83 | |||
84 | The LM73 features a simple over-temperature alarm mechanism. This | ||
85 | feature is exposed via the sysfs attributes. | ||
86 | |||
87 | The attributes 'temp1_max_alarm' and 'temp1_min_alarm' are flags | ||
88 | provided by the LM73 that indicate whether the measured temperature has | ||
89 | passed the 'temp1_max' and 'temp1_min' thresholds, respectively. These | ||
90 | values _must_ be read to clear the registers on the LM73. | ||