dt-bindings: hwmon: gpio-fan: Add optional regulator support
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Mon, 10 Feb 2025 14:59:29 +0000 (15:59 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 2 Mar 2025 16:51:36 +0000 (08:51 -0800)
This adds an optional regulator support (e.g. switchable supply) to the
GPIO fan binding.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250210145934.761280-2-alexander.stein@ew.tq-group.com
[groeck: Changed power supply description as suggested by Krzysztof]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/gpio-fan.yaml

index 7f30cfc87350676a8fbf2d35914b87b9404f053b..4faebbb4c7abd22bbd5658e7586c09ba8e9a2fb1 100644 (file)
@@ -23,6 +23,9 @@ properties:
   alarm-gpios:
     maxItems: 1
 
+  fan-supply:
+    description: Power supply for fan
+
   gpio-fan,speed-map:
     $ref: /schemas/types.yaml#/definitions/uint32-matrix
     minItems: 2