[PATCH 2/2] dt-bindings: hwmon: (pwm-fan) add disable-state-shutdown property

Akinobu Mita
2019-12-22T14:11:00Z

Document new disable-state-shutdown property that is introduced in case
someone wants to stop the fun running when shutting down the system.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Kamil Debski <kamil@wypas.org>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
---
Documentation/devicetree/bindings/hwmon/pwm-fan.txt | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt
index 41b7676..1e25787 100644
--- a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt
+++ b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt
@@ -18,6 +18,8 @@ Optional properties:
an integer (default is 2 interrupts per revolution).
The value must be greater than zero.

+- disable-state-shutdown: Disable the state of the PWM on shutdown.
+
Example:
fan0: pwm-fan {
compatible = "pwm-fan";
--
2.7.4