diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2016-08-24 11:13:27 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-09-09 07:34:17 +0300 |
commit | f9f8b33d373056788a60c464dd8eb5b91ba518f8 (patch) | |
tree | 6e26c4dd34f24565d0f100ed4e8dd6fd515d1eb0 /Documentation/devicetree/bindings/hwmon | |
parent | 20005cc58da50035c9b64572d4091c184dfa24c0 (diff) | |
download | linux-f9f8b33d373056788a60c464dd8eb5b91ba518f8.tar.xz |
hwmon: (max6650) Add initial rpm target devicetree documentation
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.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon')
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/max6650.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/max6650.txt b/Documentation/devicetree/bindings/hwmon/max6650.txt index d6c10e3680cb..f6bd87d8e284 100644 --- a/Documentation/devicetree/bindings/hwmon/max6650.txt +++ b/Documentation/devicetree/bindings/hwmon/max6650.txt @@ -13,6 +13,10 @@ Optional properties, default is to retain the chip's current setting: - maxim,fan-prescale : Pre-scaling value, as per datasheet [1]. Lower values allow more fine-grained control of slower fans. Valid: 1, 2, 4, 8, 16. +- maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the + driver selects closed-loop mode and the requested speed. + This ensures the fan is already running before userspace + takes over. Example: fan-max6650: max6650@1b { @@ -20,4 +24,5 @@ Example: compatible = "maxim,max6650"; maxim,fan-microvolt = <12000000>; maxim,fan-prescale = <4>; + maxim,fan-target-rpm = <1200>; }; |