You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Guenter Roeck
parent
8c14d126ae
commit
2bf9233a10
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user