1
0
Fork 0

dt-bindings: hwmon: Add optional regulator support to pwm-fan

This adds an optional regulator support (e.g. switchable supply) to the
pwm fan binding.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
hifive-unleashed-5.1
Stefan Wahren 2019-02-22 14:45:23 +01:00 committed by Guenter Roeck
parent e4e6c0b0ad
commit 29d013ad04
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ Required properties:
- cooling-levels : PWM duty cycle values in a range from 0 to 255
which correspond to thermal cooling states
Optional properties:
- fan-supply : phandle to the regulator that provides power to the fan
Example:
fan0: pwm-fan {
compatible = "pwm-fan";