summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2016-08-24 10:13:26 +0200
committerGuenter Roeck <linux@roeck-us.net>2016-09-08 21:34:17 -0700
commit20005cc58da50035c9b64572d4091c184dfa24c0 (patch)
treeae69f66cecd7eadf155e10db8091e636d7bf80e9 /Documentation/hwmon
parenta6cdeefeca47b834109bb13941c699be92c4ff97 (diff)
downloadop-kernel-dev-20005cc58da50035c9b64572d4091c184dfa24c0.zip
op-kernel-dev-20005cc58da50035c9b64572d4091c184dfa24c0.tar.gz
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/max66501
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/hwmon/max6650 b/Documentation/hwmon/max6650
index 58d9644..dff1d29 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
OpenPOWER on IntegriCloud