From: Krzysztof Kozlowski Date: Fri, 20 Jan 2023 13:30:10 +0000 (+0100) Subject: regulator: dt-bindings: fixed-regulator: allow gpios property X-Git-Tag: v6.6.17~5384^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12df2c182ccb850988d2680a422211a812fb5cb2;p=platform%2Fkernel%2Flinux-rpi.git regulator: dt-bindings: fixed-regulator: allow gpios property 'gpios' is in general preferred even for single GPIO specifiers and there are DTS boards using it (exynos4412-p4note.dtsi), so allow both versions. Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20230120133010.299797-1-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml index 84eeaef..48af7cb 100644 --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml @@ -35,6 +35,10 @@ allOf: required: - power-domains - required-opps + - not: + required: + - gpio + - gpios properties: compatible: @@ -49,6 +53,9 @@ properties: description: gpio to use for enable control maxItems: 1 + gpios: + maxItems: 1 + clocks: description: clock to use for enable control. This binding is only available if