diff mbox series

[V2,1/2] dt-bindings: gpio: fsl-imx-gpio: update gpio-ranges

Message ID 20230330100550.2049687-1-peng.fan@oss.nxp.com
State New
Headers show
Series [V2,1/2] dt-bindings: gpio: fsl-imx-gpio: update gpio-ranges | expand

Commit Message

Peng Fan (OSS) March 30, 2023, 10:05 a.m. UTC
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(-)

Comments

Linus Walleij March 31, 2023, 12:26 p.m. UTC | #1
On Thu, Mar 30, 2023 at 12:00 PM Peng Fan (OSS) <peng.fan@oss.nxp.com> wrote:

> 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

Saw this after already ACKing v1...
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
diff mbox series

Patch

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