aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2019-02-22 08:45:23 -0500
committerGuenter Roeck <linux@roeck-us.net>2019-02-23 12:01:24 -0500
commit29d013ad04010e545f6b51f17b629e3047030105 (patch)
treeca0c0517dcf49cc0810fff33f1fe334e6588b97d
parente4e6c0b0ad79c077c6894b82edf9d7e214ccdf16 (diff)
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>
-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:
6- cooling-levels : PWM duty cycle values in a range from 0 to 255 6- cooling-levels : PWM duty cycle values in a range from 0 to 255
7 which correspond to thermal cooling states 7 which correspond to thermal cooling states
8 8
9Optional properties:
10- fan-supply : phandle to the regulator that provides power to the fan
11
9Example: 12Example:
10 fan0: pwm-fan { 13 fan0: pwm-fan {
11 compatible = "pwm-fan"; 14 compatible = "pwm-fan";