diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-01-20 16:30:10 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-20 17:09:58 +0300 |
commit | 12df2c182ccb850988d2680a422211a812fb5cb2 (patch) | |
tree | 956fa560b1a73f7bd1cec62d20a7a6d33db70a1d /Documentation/devicetree/bindings/regulator | |
parent | 2bbba115c3c9a647bcb3201b014fcc3728fe75c8 (diff) | |
download | linux-12df2c182ccb850988d2680a422211a812fb5cb2.tar.xz |
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 <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230120133010.299797-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/fixed-regulator.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml index 84eeaef179a5..48af7cba4652 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 |