[PATCH] regulator: dt-bindings: fixed-regulator: allow gpios property

Krzysztof Kozlowski posted 1 patch 2 years, 7 months ago
.../devicetree/bindings/regulator/fixed-regulator.yaml     | 7 +++++++
1 file changed, 7 insertions(+)
[PATCH] regulator: dt-bindings: fixed-regulator: allow gpios property
Posted by Krzysztof Kozlowski 2 years, 7 months ago
'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>
---
 .../devicetree/bindings/regulator/fixed-regulator.yaml     | 7 +++++++
 1 file changed, 7 insertions(+)

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
-- 
2.34.1
Re: [PATCH] regulator: dt-bindings: fixed-regulator: allow gpios property
Posted by Mark Brown 2 years, 7 months ago
On Fri, 20 Jan 2023 14:30:10 +0100, Krzysztof Kozlowski wrote:
> 'gpios' is in general preferred even for single GPIO specifiers and
> there are DTS boards using it (exynos4412-p4note.dtsi), so allow both
> versions.
> 
> 

Applied to

   broonie/regulator.git for-next

Thanks!

[1/1] regulator: dt-bindings: fixed-regulator: allow gpios property
      commit: 12df2c182ccb850988d2680a422211a812fb5cb2

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark