From: Stefan Wahren Date: Fri, 22 Feb 2019 13:45:23 +0000 (+0100) Subject: dt-bindings: hwmon: Add optional regulator support to pwm-fan X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=29d013ad04010e545f6b51f17b629e3047030105;p=openwrt%2Fstaging%2Fblogic.git 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 Reviewed-by: Rob Herring Signed-off-by: Guenter Roeck --- diff --git a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt index c6d533202d3e..49ca5d83ed13 100644 --- a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt +++ b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt @@ -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";