mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V2 1/2] dt-bindings: gpio: fsl-imx-gpio: update gpio-ranges
@ 2023-03-30 10:05 Peng Fan (OSS)
  2023-03-30 10:05 ` [PATCH V2 2/2] dt-bindings: gpio: vf610: " Peng Fan (OSS)
  2023-03-31 12:26 ` [PATCH V2 1/2] dt-bindings: gpio: fsl-imx-gpio: " Linus Walleij
  0 siblings, 2 replies; 5+ messages in thread
From: Peng Fan (OSS) @ 2023-03-30 10:05 UTC (permalink / raw)
  To: linus.walleij, brgl, robh+dt, krzysztof.kozlowski+dt
  Cc: shawnguo, s.hauer, kernel, festevam, linux-imx, stefan,
	linux-gpio, devicetree, linux-arm-kernel, linux-kernel, Peng Fan,
	Krzysztof Kozlowski

From: Peng Fan <peng.fan@nxp.com>

And bounds for gpio-ranges to address dtbs_error.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
V2:
 Enlarge bounds to 32, since it max supports 32 pins
 Add A-b

 Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
index be56c3faec0f..bb9b40ef3112 100644
--- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
@@ -66,7 +66,10 @@ properties:
 
   gpio-controller: true
   gpio-line-names: true
-  gpio-ranges: true
+
+  gpio-ranges:
+    minItems: 1
+    maxItems: 32
 
   power-domains:
     maxItems: 1
-- 
2.37.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-03-31 12:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-30 10:05 [PATCH V2 1/2] dt-bindings: gpio: fsl-imx-gpio: update gpio-ranges Peng Fan (OSS)
2023-03-30 10:05 ` [PATCH V2 2/2] dt-bindings: gpio: vf610: " Peng Fan (OSS)
2023-03-31 11:55   ` Andrew Lunn
2023-03-31 12:45   ` Linus Walleij
2023-03-31 12:26 ` [PATCH V2 1/2] dt-bindings: gpio: fsl-imx-gpio: " Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®