All of lore.kernel.org
 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)
  0 siblings, 0 replies; 10+ 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 related	[flat|nested] 10+ messages in thread

* [PATCH V2 1/2] dt-bindings: gpio: fsl-imx-gpio: update gpio-ranges
@ 2023-03-30 10:05 ` Peng Fan (OSS)
  0 siblings, 0 replies; 10+ 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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH V2 2/2] dt-bindings: gpio: vf610: update gpio-ranges
  2023-03-30 10:05 ` Peng Fan (OSS)
@ 2023-03-30 10:05   ` Peng Fan (OSS)
  -1 siblings, 0 replies; 10+ 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, and still restrict as 1 for previous devices
 Add A-b

 .../devicetree/bindings/gpio/gpio-vf610.yaml      | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
index d2c39dba56ad..69eac4194459 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
@@ -59,7 +59,8 @@ properties:
       - const: port
 
   gpio-ranges:
-    maxItems: 1
+    minItems: 1
+    maxItems: 32
 
 required:
   - compatible
@@ -70,6 +71,18 @@ required:
   - "#gpio-cells"
   - gpio-controller
 
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - fsl,vf610-gpio
+    then:
+      properties:
+        gpio-ranges:
+          maxItems: 1
+
 additionalProperties: false
 
 examples:
-- 
2.37.1


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

* [PATCH V2 2/2] dt-bindings: gpio: vf610: update gpio-ranges
@ 2023-03-30 10:05   ` Peng Fan (OSS)
  0 siblings, 0 replies; 10+ 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, and still restrict as 1 for previous devices
 Add A-b

 .../devicetree/bindings/gpio/gpio-vf610.yaml      | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
index d2c39dba56ad..69eac4194459 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
@@ -59,7 +59,8 @@ properties:
       - const: port
 
   gpio-ranges:
-    maxItems: 1
+    minItems: 1
+    maxItems: 32
 
 required:
   - compatible
@@ -70,6 +71,18 @@ required:
   - "#gpio-cells"
   - gpio-controller
 
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - fsl,vf610-gpio
+    then:
+      properties:
+        gpio-ranges:
+          maxItems: 1
+
 additionalProperties: false
 
 examples:
-- 
2.37.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH V2 2/2] dt-bindings: gpio: vf610: update gpio-ranges
  2023-03-30 10:05   ` Peng Fan (OSS)
@ 2023-03-31 11:55     ` Andrew Lunn
  -1 siblings, 0 replies; 10+ messages in thread
From: Andrew Lunn @ 2023-03-31 11:55 UTC (permalink / raw)
  To: Peng Fan (OSS)
  Cc: linus.walleij, brgl, robh+dt, krzysztof.kozlowski+dt, shawnguo,
	s.hauer, kernel, festevam, linux-imx, stefan, linux-gpio,
	devicetree, linux-arm-kernel, linux-kernel, Peng Fan,
	Krzysztof Kozlowski

On Thu, Mar 30, 2023 at 06:05:50PM +0800, Peng Fan (OSS) 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>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

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

* Re: [PATCH V2 2/2] dt-bindings: gpio: vf610: update gpio-ranges
@ 2023-03-31 11:55     ` Andrew Lunn
  0 siblings, 0 replies; 10+ messages in thread
From: Andrew Lunn @ 2023-03-31 11:55 UTC (permalink / raw)
  To: Peng Fan (OSS)
  Cc: linus.walleij, brgl, robh+dt, krzysztof.kozlowski+dt, shawnguo,
	s.hauer, kernel, festevam, linux-imx, stefan, linux-gpio,
	devicetree, linux-arm-kernel, linux-kernel, Peng Fan,
	Krzysztof Kozlowski

On Thu, Mar 30, 2023 at 06:05:50PM +0800, Peng Fan (OSS) 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>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

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

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

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

* Re: [PATCH V2 1/2] dt-bindings: gpio: fsl-imx-gpio: update gpio-ranges
@ 2023-03-31 12:26   ` Linus Walleij
  0 siblings, 0 replies; 10+ messages in thread
From: Linus Walleij @ 2023-03-31 12:26 UTC (permalink / raw)
  To: Peng Fan (OSS)
  Cc: brgl, robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer, kernel,
	festevam, linux-imx, stefan, linux-gpio, devicetree,
	linux-arm-kernel, linux-kernel, Peng Fan, Krzysztof Kozlowski

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH V2 2/2] dt-bindings: gpio: vf610: update gpio-ranges
  2023-03-30 10:05   ` Peng Fan (OSS)
@ 2023-03-31 12:45     ` Linus Walleij
  -1 siblings, 0 replies; 10+ messages in thread
From: Linus Walleij @ 2023-03-31 12:45 UTC (permalink / raw)
  To: Peng Fan (OSS)
  Cc: brgl, robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer, kernel,
	festevam, linux-imx, stefan, linux-gpio, devicetree,
	linux-arm-kernel, linux-kernel, Peng Fan, Krzysztof Kozlowski

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, and still restrict as 1 for previous devices
>  Add A-b

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

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

* Re: [PATCH V2 2/2] dt-bindings: gpio: vf610: update gpio-ranges
@ 2023-03-31 12:45     ` Linus Walleij
  0 siblings, 0 replies; 10+ messages in thread
From: Linus Walleij @ 2023-03-31 12:45 UTC (permalink / raw)
  To: Peng Fan (OSS)
  Cc: brgl, robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer, kernel,
	festevam, linux-imx, stefan, linux-gpio, devicetree,
	linux-arm-kernel, linux-kernel, Peng Fan, Krzysztof Kozlowski

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, and still restrict as 1 for previous devices
>  Add A-b

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

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

Thread overview: 10+ 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 ` Peng Fan (OSS)
2023-03-30 10:05 ` [PATCH V2 2/2] dt-bindings: gpio: vf610: " Peng Fan (OSS)
2023-03-30 10:05   ` Peng Fan (OSS)
2023-03-31 11:55   ` Andrew Lunn
2023-03-31 11:55     ` Andrew Lunn
2023-03-31 12:45   ` Linus Walleij
2023-03-31 12:45     ` Linus Walleij
2023-03-31 12:26 ` [PATCH V2 1/2] dt-bindings: gpio: fsl-imx-gpio: " Linus Walleij
2023-03-31 12:26   ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.