diff mbox series

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

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

Commit Message

Peng Fan (OSS) March 28, 2023, 5:29 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

one is not enough for i.MX8, so enlarge it.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Linus Walleij March 31, 2023, 12:22 p.m. UTC | #1
On Tue, Mar 28, 2023 at 7:24 AM Peng Fan (OSS) <peng.fan@oss.nxp.com> wrote:

> From: Peng Fan <peng.fan@nxp.com>
>
> one is not enough for i.MX8, so enlarge it.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

Makes sense.
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..e303455eadce 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: 16
 
   power-domains:
     maxItems: 1