summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/hwmon
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2019-02-22 14:45:23 +0100
committerGuenter Roeck <linux@roeck-us.net>2019-02-23 18:01:24 +0100
commit29d013ad04010e545f6b51f17b629e3047030105 (patch)
treeca0c0517dcf49cc0810fff33f1fe334e6588b97d /Documentation/devicetree/bindings/hwmon
parenthwmon: (f71882fg) Mark expected switch fall-through (diff)
downloadlinux-29d013ad04010e545f6b51f17b629e3047030105.tar.xz
linux-29d013ad04010e545f6b51f17b629e3047030105.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon')
-rw-r--r--Documentation/devicetree/bindings/hwmon/pwm-fan.txt3
1 files changed, 3 insertions, 0 deletions
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";