[PATCH v2 2/2] dt-bindings: hwmon: pwm-fan: add retain-state-shutdown property

From: Akinobu Mita
Date: Sat Oct 26 2024 - 04:06:21 EST


Document new retain-state-shutdown property.

Cc: Jean Delvare <jdelvare@xxxxxxxx>
Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
Cc: Rob Herring <robh@xxxxxxxxxx>
Cc: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
Cc: Conor Dooley <conor+dt@xxxxxxxxxx>
Cc: Billy Tsai <billy_tsai@xxxxxxxxxxxxxx>
Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx>
---
Documentation/devicetree/bindings/hwmon/pwm-fan.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/hwmon/pwm-fan.yaml b/Documentation/devicetree/bindings/hwmon/pwm-fan.yaml
index 4e5abf7580cc..86a069969e29 100644
--- a/Documentation/devicetree/bindings/hwmon/pwm-fan.yaml
+++ b/Documentation/devicetree/bindings/hwmon/pwm-fan.yaml
@@ -40,6 +40,10 @@ properties:
maximum: 4
default: 2

+ retain-state-shutdown:
+ description: Retain the state of the PWM on shutdown.
+ $ref: /schemas/types.yaml#/definitions/flag
+
pwms:
description: The PWM that is used to control the fan.
maxItems: 1
--
2.34.1