dt-bindings: hwmon: gpio-fan: Add optional regulator support

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>
This commit is contained in:
Alexander Stein 2025-02-10 15:59:29 +01:00 committed by Guenter Roeck
parent c90a00368d
commit 9f8e2e49c5

View 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