diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2016-08-24 11:13:26 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-09-09 07:34:17 +0300 |
commit | 20005cc58da50035c9b64572d4091c184dfa24c0 (patch) | |
tree | ae69f66cecd7eadf155e10db8091e636d7bf80e9 /Documentation/hwmon | |
parent | a6cdeefeca47b834109bb13941c699be92c4ff97 (diff) | |
download | linux-20005cc58da50035c9b64572d4091c184dfa24c0.tar.xz |
hwmon: (max6650) Allow fan shutdown and initial rpm target
The fan can be stopped by writing "3" to pwm1_enable in sysfs.
Add devicetree property for early initialization of the fan controller
to prevent overheating, for example when resetting the board while the
fan was completely turned off.
Also improve error reporting, I2C failures were ignored while writing
new values.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r-- | Documentation/hwmon/max6650 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/hwmon/max6650 b/Documentation/hwmon/max6650 index 58d9644a2bde..dff1d296a48b 100644 --- a/Documentation/hwmon/max6650 +++ b/Documentation/hwmon/max6650 @@ -34,6 +34,7 @@ fan3_input ro " fan4_input ro " fan1_target rw desired fan speed in RPM (closed loop mode only) pwm1_enable rw regulator mode, 0=full on, 1=open loop, 2=closed loop + 3=off pwm1 rw relative speed (0-255), 255=max. speed. Used in open loop mode only. fan1_div rw sets the speed range the inputs can handle. Legal |