hwmon: (nct7802) Add auto_point attributes
Subsystems (2)
PATCH v5 1/1 hwmon: (nct7802) Add auto_point attributes
Introduced REG_PWM, pwm[1..3]_auto_point[1..5]_temp, pwm[1..3]_auto_point[1..5]_pwm, nct7802_auto_point_attrs, nct7802_auto_point_group, updated nct7802_regmap_is_volatile
---
Changed in v5:
- removed URL and fixed typo
Changed in v4:
- fixed expression in nct7802_regmap_is_volatile
- added pwmX_auto_point to driver's documentation Changed in v3:
- removed nct7802_auto_point_is_visible
- removed usage of sysfs_update_group
- introduced REG_PWM
- removed S_IWUSR from RO attributes
- added PWM registers to nct7802_regmap_is_volatile Changed in v2:
- removed PWM_REG, TEMP_REG
- removed auto_point[1..4]_temp, auto_point[1..4]_pwm and auto_point_crit_temp
- introduced pwm[1..3]_auto_point[1..5]_temp and pwm[1..3]_auto_point[1..5]_pwm.
- introduced nct7802_auto_point_is_visible
- used sysfs_update_group in store_pwm_enable
--- Documentation/hwmon/nct7802 | 3 +- drivers/hwmon/nct7802.c | 130 ++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 127 insertions(+), 6 deletions(-)
Documentation/hwmon/nct7802 +1 -2
@@ -17,8 +17,7 @@ This driver implements support for the Nuvoton NCT7802Y hardware monitoring chip. NCT7802Y supports 6 temperature sensors, 5 voltage sensors, and 3 fan speed sensors. -The chip also supports intelligent fan speed control. This functionality is -not currently supported by the driver. +Smart Fan™ speed control is available via pwmX_auto_point attributes. Tested Boards and BIOS Versions -------------------------------
drivers/hwmon/nct7802.c +126 -4
165 lines not on this page · raw message
Signature · 1 line
1.9.1
Quoted 7 lines · Constantine Shulyupin
Introduced
REG_PWM, pwm[1..3]_auto_point[1..5]_temp, pwm[1..3]_auto_point[1..5]_pwm,nct7802_auto_point_attrs,nct7802_auto_point_group, updatednct7802_regmap_is_volatileSigned-off-by Constantine Shulyupin <[email protected]>---
Applied to -next.
Note that the patch requires http://www.spinics.net/lists/kernel/msg2041703.html
to work reliably.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors