summaryrefslogtreecommitdiff
path: root/drivers/hwmon/sht21.c
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2021-09-27 01:10:43 +0300
committerGuenter Roeck <linux@roeck-us.net>2021-10-17 00:58:42 +0300
commitb1986c8e31a3e5f119a52aab50234fc65cf01f30 (patch)
tree079288213759c620f6a1ec34ed6c23390e217146 /drivers/hwmon/sht21.c
parent51369c0f05347c1f4762cb05e9775e81eec04262 (diff)
downloadlinux-b1986c8e31a3e5f119a52aab50234fc65cf01f30.tar.xz
hwmon: (dell-smm) Add support for fanX_min, fanX_max and fanX_target
The nominal speed of each fan can be obtained with i8k_get_fan_nominal_speed(), however the result is not available from userspace. Change that by adding fanX_min, fanX_max and fanX_target attributes. All are RO since fan control happens over pwm. Tested on a Dell Inspiron 3505 and a Dell Latitude C600. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Reviewed-by: Pali Rohár <pali@kernel.org> Link: https://lore.kernel.org/r/20210926221044.14327-2-W_Armin@gmx.de Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/sht21.c')
0 files changed, 0 insertions, 0 deletions