hwmon: Update current alarm attributes
Subsystems (2)
PATCH 3/3 hwmon: Update current alarm attributes
This patch adds currX_alarm, currX_min_alarm, and currX_max_alarm 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.
--- Documentation/hwmon/sysfs-interface | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
Documentation/hwmon/sysfs-interface +3 -0
@@ -471,6 +471,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
@@ -482,6 +483,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
Signature · 7 lines
1.7.0.87.g0901d _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH/RFC 3/3] hwmon: Update current alarm
Hi Guenter,
Quoted 24 lines · Guenter Roeck
This patch adds
currX_alarm,currX_min_alarm, andcurrX_max_alarmattributes to the hwmon sysfs API.
currX_min_alarmandcurrX_max_alarmare already supported by the LTC4215 and LTC4245 drivers.currX_alarmis supported by the LTC4261 driver.Signed-off-by Guenter Roeck <[email protected]>--- Documentation/hwmon/sysfs-interface | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)Documentation/hwmon/sysfs-interface +1
-0@@ -471,6 +471,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
Documentation/hwmon/sysfs-interface OR · line 490
Quoted 8 lines
Documentation/hwmon/sysfs-interface +2
-0@@ -482,6 +483,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
Applied, thanks. I also added curr[1-*]_beep, as libsensors supports it already. And I've removed the comment that says that current attributes are not implemented by any driver yet, as this comment was obviously obsolete.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors