dt-bindings: hwmon: Add optional regulator support to pwm-fan
authorStefan Wahren <stefan.wahren@i2se.com>
Fri, 22 Feb 2019 13:45:23 +0000 (14:45 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 23 Feb 2019 17:01:24 +0000 (09:01 -0800)
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>
Documentation/devicetree/bindings/hwmon/pwm-fan.txt

index c6d533202d3e3a1a12eee650fe17125d48e5963f..49ca5d83ed138c1e90b448e03d62581506965952 100644 (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";