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

From: Peng Fan (OSS)
Date: Thu Mar 30 2023 - 06:02:04 EST


From: Peng Fan <peng.fan@xxxxxxx>

And bounds for gpio-ranges to address dtbs_error.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
---
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