Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 12df2c1

Browse files
krzkbroonie
authored andcommitted
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>
1 parent 2bbba11 commit 12df2c1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/devicetree/bindings/regulator/fixed-regulator.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ allOf:
3535
required:
3636
- power-domains
3737
- required-opps
38+
- not:
39+
required:
40+
- gpio
41+
- gpios
3842

3943
properties:
4044
compatible:
@@ -49,6 +53,9 @@ properties:
4953
description: gpio to use for enable control
5054
maxItems: 1
5155

56+
gpios:
57+
maxItems: 1
58+
5259
clocks:
5360
description:
5461
clock to use for enable control. This binding is only available if

0 commit comments

Comments
 (0)