Skip to content

Commit f9f8b33

Browse files
MikeLooijmansgroeck
authored andcommitted
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>
1 parent 20005cc commit f9f8b33

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Documentation/devicetree/bindings/hwmon/max6650.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,16 @@ Optional properties, default is to retain the chip's current setting:
1313
- maxim,fan-prescale : Pre-scaling value, as per datasheet [1]. Lower values
1414
allow more fine-grained control of slower fans.
1515
Valid: 1, 2, 4, 8, 16.
16+
- maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the
17+
driver selects closed-loop mode and the requested speed.
18+
This ensures the fan is already running before userspace
19+
takes over.
1620

1721
Example:
1822
fan-max6650: max6650@1b {
1923
reg = <0x1b>;
2024
compatible = "maxim,max6650";
2125
maxim,fan-microvolt = <12000000>;
2226
maxim,fan-prescale = <4>;
27+
maxim,fan-target-rpm = <1200>;
2328
};

0 commit comments

Comments
 (0)