diff options
author | Armin Wolf <W_Armin@gmx.de> | 2021-09-27 01:10:43 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-10-17 00:58:42 +0300 |
commit | b1986c8e31a3e5f119a52aab50234fc65cf01f30 (patch) | |
tree | 079288213759c620f6a1ec34ed6c23390e217146 /Documentation | |
parent | 51369c0f05347c1f4762cb05e9775e81eec04262 (diff) | |
download | linux-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 'Documentation')
-rw-r--r-- | Documentation/hwmon/dell-smm-hwmon.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/hwmon/dell-smm-hwmon.rst b/Documentation/hwmon/dell-smm-hwmon.rst index 3bf77a5df995..beec88491171 100644 --- a/Documentation/hwmon/dell-smm-hwmon.rst +++ b/Documentation/hwmon/dell-smm-hwmon.rst @@ -34,6 +34,9 @@ Name Perm Description =============================== ======= ======================================= fan[1-3]_input RO Fan speed in RPM. fan[1-3]_label RO Fan label. +fan[1-3]_min RO Minimal Fan speed in RPM +fan[1-3]_max RO Maximal Fan speed in RPM +fan[1-3]_target RO Expected Fan speed in RPM pwm[1-3] RW Control the fan PWM duty-cycle. pwm1_enable WO Enable or disable automatic BIOS fan control (not supported on all laptops, |