linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/4] dt-bindings: gpio: pl061: add gpio-line-names
@ 2020-09-20 19:58 Krzysztof Kozlowski
  2020-09-20 19:58 ` [PATCH v3 2/4] dt-bindings: gpio: fsl-imx-gpio: add i.MX ARMv6 and ARMv7 compatibles Krzysztof Kozlowski
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Krzysztof Kozlowski @ 2020-09-20 19:58 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Rob Herring, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Anson Huang, Stefan Agner, linux-gpio,
	devicetree, linux-arm-kernel, linux-kernel
  Cc: Krzysztof Kozlowski

Describe common "gpio-line-names" property to fix dtbs_check warnings
like:

  arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dt.yaml: gpio@e8a0b000:
    'gpio-line-names' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

---

Changes since v2:
1. Common GPIO goes to dt-schema
---
 Documentation/devicetree/bindings/gpio/pl061-gpio.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/pl061-gpio.yaml b/Documentation/devicetree/bindings/gpio/pl061-gpio.yaml
index 313b17229247..bd35cbf7fa09 100644
--- a/Documentation/devicetree/bindings/gpio/pl061-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/pl061-gpio.yaml
@@ -51,7 +51,10 @@ properties:
 
   gpio-controller: true
 
+  gpio-line-names: true
+
   gpio-ranges:
+    minItems: 1
     maxItems: 8
 
 required:
-- 
2.17.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] 14+ messages in thread

* [PATCH v3 2/4] dt-bindings: gpio: fsl-imx-gpio: add i.MX ARMv6 and ARMv7 compatibles
  2020-09-20 19:58 [PATCH v3 1/4] dt-bindings: gpio: pl061: add gpio-line-names Krzysztof Kozlowski
@ 2020-09-20 19:58 ` Krzysztof Kozlowski
  2020-09-23 21:08   ` Rob Herring
  2020-09-29 11:52   ` Linus Walleij
  2020-09-20 19:58 ` [PATCH v3 3/4] dt-bindings: gpio: fsl-imx-gpio: add gpio-line-names Krzysztof Kozlowski
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 14+ messages in thread
From: Krzysztof Kozlowski @ 2020-09-20 19:58 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Rob Herring, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Anson Huang, Stefan Agner, linux-gpio,
	devicetree, linux-arm-kernel, linux-kernel
  Cc: Krzysztof Kozlowski

Several DTSes with ARMv6 and ARMv7 i.MX SoCs introduce their own
compatibles so add them to fix dtbs_check warnings like:

  arch/arm/boot/dts/imx35-pdk.dt.yaml: gpio@53fa4000:
    compatible: ['fsl,imx35-gpio', 'fsl,imx31-gpio'] is not valid under any of the given schemas

  arch/arm/boot/dts/imx51-babbage.dt.yaml: gpio@73f90000:
    compatible: ['fsl,imx51-gpio', 'fsl,imx35-gpio'] is not valid under any of the given schemas

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

---

Changes since v2:
1. None, split from previous patchset using common GPIO schema
---
 .../devicetree/bindings/gpio/fsl-imx-gpio.yaml       | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
index de0b9b5f6a70..281cdd34a829 100644
--- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
@@ -18,8 +18,20 @@ properties:
           - fsl,imx31-gpio
           - fsl,imx35-gpio
           - fsl,imx7d-gpio
+      - items:
+          - const: fsl,imx35-gpio
+          - const: fsl,imx31-gpio
       - items:
           - enum:
+              - fsl,imx50-gpio
+              - fsl,imx51-gpio
+              - fsl,imx53-gpio
+              - fsl,imx6q-gpio
+              - fsl,imx6sl-gpio
+              - fsl,imx6sll-gpio
+              - fsl,imx6sx-gpio
+              - fsl,imx6ul-gpio
+              - fsl,imx7d-gpio
               - fsl,imx8mm-gpio
               - fsl,imx8mn-gpio
               - fsl,imx8mp-gpio
-- 
2.17.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] 14+ messages in thread

* [PATCH v3 3/4] dt-bindings: gpio: fsl-imx-gpio: add gpio-line-names
  2020-09-20 19:58 [PATCH v3 1/4] dt-bindings: gpio: pl061: add gpio-line-names Krzysztof Kozlowski
  2020-09-20 19:58 ` [PATCH v3 2/4] dt-bindings: gpio: fsl-imx-gpio: add i.MX ARMv6 and ARMv7 compatibles Krzysztof Kozlowski
@ 2020-09-20 19:58 ` Krzysztof Kozlowski
  2020-09-23 21:08   ` Rob Herring
  2020-09-29 11:53   ` Linus Walleij
  2020-09-20 19:58 ` [PATCH v3 4/4] dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching Krzysztof Kozlowski
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 14+ messages in thread
From: Krzysztof Kozlowski @ 2020-09-20 19:58 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Rob Herring, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Anson Huang, Stefan Agner, linux-gpio,
	devicetree, linux-arm-kernel, linux-kernel
  Cc: Krzysztof Kozlowski

Describe common "gpio-line-names" property to fix dtbs_check warnings
like:

  arch/arm/boot/dts/imx53-m53menlo.dt.yaml: gpio@53f84000:
    'gpio-line-names' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

---

Changes since v2:
1. None, split from previous patchset using common GPIO schema
---
 Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
index 281cdd34a829..f57d22d1ebd6 100644
--- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
@@ -62,7 +62,7 @@ properties:
     const: 2
 
   gpio-controller: true
-
+  gpio-line-names: true
   gpio-ranges: true
 
   power-domains:
-- 
2.17.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] 14+ messages in thread

* [PATCH v3 4/4] dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching
  2020-09-20 19:58 [PATCH v3 1/4] dt-bindings: gpio: pl061: add gpio-line-names Krzysztof Kozlowski
  2020-09-20 19:58 ` [PATCH v3 2/4] dt-bindings: gpio: fsl-imx-gpio: add i.MX ARMv6 and ARMv7 compatibles Krzysztof Kozlowski
  2020-09-20 19:58 ` [PATCH v3 3/4] dt-bindings: gpio: fsl-imx-gpio: add gpio-line-names Krzysztof Kozlowski
@ 2020-09-20 19:58 ` Krzysztof Kozlowski
  2020-09-23 21:09   ` Rob Herring
  2020-09-29 11:54   ` Linus Walleij
  2020-09-23 21:08 ` [PATCH v3 1/4] dt-bindings: gpio: pl061: add gpio-line-names Rob Herring
  2020-09-29 11:52 ` Linus Walleij
  4 siblings, 2 replies; 14+ messages in thread
From: Krzysztof Kozlowski @ 2020-09-20 19:58 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Rob Herring, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Anson Huang, Stefan Agner, linux-gpio,
	devicetree, linux-arm-kernel, linux-kernel
  Cc: Krzysztof Kozlowski

The i.MX 7ULP DTSes use two compatibles so update the binding to fix
dtbs_check warnings like:

  arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
    compatible: ['fsl,imx7ulp-gpio', 'fsl,vf610-gpio'] is too long

  arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
    compatible: Additional items are not allowed ('fsl,vf610-gpio' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

---

Changes since v2:
1. None, split from previous patchset using common GPIO schema

Changes since v1:
1. New patch
---
 Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
index 6ac5a78ad3da..19738a457a58 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
@@ -19,9 +19,11 @@ description: |
 
 properties:
   compatible:
-    enum:
-      - fsl,vf610-gpio
-      - fsl,imx7ulp-gpio
+    oneOf:
+      - const: fsl,vf610-gpio
+      - items:
+          - const: fsl,imx7ulp-gpio
+          - const: fsl,vf610-gpio
 
   reg:
     description: The first reg tuple represents the PORT module, the second tuple
-- 
2.17.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] 14+ messages in thread

* Re: [PATCH v3 1/4] dt-bindings: gpio: pl061: add gpio-line-names
  2020-09-20 19:58 [PATCH v3 1/4] dt-bindings: gpio: pl061: add gpio-line-names Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2020-09-20 19:58 ` [PATCH v3 4/4] dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching Krzysztof Kozlowski
@ 2020-09-23 21:08 ` Rob Herring
  2020-09-29 11:52 ` Linus Walleij
  4 siblings, 0 replies; 14+ messages in thread
From: Rob Herring @ 2020-09-23 21:08 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: devicetree, Anson Huang, Bartosz Golaszewski, Fabio Estevam,
	Sascha Hauer, linux-kernel, Stefan Agner, linux-gpio,
	Rob Herring, NXP Linux Team, Pengutronix Kernel Team, Shawn Guo,
	Linus Walleij, linux-arm-kernel

On Sun, 20 Sep 2020 21:58:45 +0200, Krzysztof Kozlowski wrote:
> Describe common "gpio-line-names" property to fix dtbs_check warnings
> like:
> 
>   arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dt.yaml: gpio@e8a0b000:
>     'gpio-line-names' does not match any of the regexes: 'pinctrl-[0-9]+'
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> 
> ---
> 
> Changes since v2:
> 1. Common GPIO goes to dt-schema
> ---
>  Documentation/devicetree/bindings/gpio/pl061-gpio.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
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] 14+ messages in thread

* Re: [PATCH v3 2/4] dt-bindings: gpio: fsl-imx-gpio: add i.MX ARMv6 and ARMv7 compatibles
  2020-09-20 19:58 ` [PATCH v3 2/4] dt-bindings: gpio: fsl-imx-gpio: add i.MX ARMv6 and ARMv7 compatibles Krzysztof Kozlowski
@ 2020-09-23 21:08   ` Rob Herring
  2020-09-29 11:52   ` Linus Walleij
  1 sibling, 0 replies; 14+ messages in thread
From: Rob Herring @ 2020-09-23 21:08 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: devicetree, Anson Huang, Bartosz Golaszewski, Shawn Guo,
	Sascha Hauer, linux-kernel, Stefan Agner, linux-gpio,
	Rob Herring, NXP Linux Team, Pengutronix Kernel Team,
	Fabio Estevam, Linus Walleij, linux-arm-kernel

On Sun, 20 Sep 2020 21:58:46 +0200, Krzysztof Kozlowski wrote:
> Several DTSes with ARMv6 and ARMv7 i.MX SoCs introduce their own
> compatibles so add them to fix dtbs_check warnings like:
> 
>   arch/arm/boot/dts/imx35-pdk.dt.yaml: gpio@53fa4000:
>     compatible: ['fsl,imx35-gpio', 'fsl,imx31-gpio'] is not valid under any of the given schemas
> 
>   arch/arm/boot/dts/imx51-babbage.dt.yaml: gpio@73f90000:
>     compatible: ['fsl,imx51-gpio', 'fsl,imx35-gpio'] is not valid under any of the given schemas
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> 
> ---
> 
> Changes since v2:
> 1. None, split from previous patchset using common GPIO schema
> ---
>  .../devicetree/bindings/gpio/fsl-imx-gpio.yaml       | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
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] 14+ messages in thread

* Re: [PATCH v3 3/4] dt-bindings: gpio: fsl-imx-gpio: add gpio-line-names
  2020-09-20 19:58 ` [PATCH v3 3/4] dt-bindings: gpio: fsl-imx-gpio: add gpio-line-names Krzysztof Kozlowski
@ 2020-09-23 21:08   ` Rob Herring
  2020-09-29 11:53   ` Linus Walleij
  1 sibling, 0 replies; 14+ messages in thread
From: Rob Herring @ 2020-09-23 21:08 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: devicetree, Anson Huang, linux-gpio, Fabio Estevam, Sascha Hauer,
	linux-kernel, Stefan Agner, Bartosz Golaszewski, Rob Herring,
	NXP Linux Team, Pengutronix Kernel Team, Shawn Guo,
	Linus Walleij, linux-arm-kernel

On Sun, 20 Sep 2020 21:58:47 +0200, Krzysztof Kozlowski wrote:
> Describe common "gpio-line-names" property to fix dtbs_check warnings
> like:
> 
>   arch/arm/boot/dts/imx53-m53menlo.dt.yaml: gpio@53f84000:
>     'gpio-line-names' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> 
> ---
> 
> Changes since v2:
> 1. None, split from previous patchset using common GPIO schema
> ---
>  Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
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] 14+ messages in thread

* Re: [PATCH v3 4/4] dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching
  2020-09-20 19:58 ` [PATCH v3 4/4] dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching Krzysztof Kozlowski
@ 2020-09-23 21:09   ` Rob Herring
  2020-09-29 11:54   ` Linus Walleij
  1 sibling, 0 replies; 14+ messages in thread
From: Rob Herring @ 2020-09-23 21:09 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: devicetree, Anson Huang, linux-gpio, Shawn Guo, Linus Walleij,
	linux-kernel, Stefan Agner, Bartosz Golaszewski, Rob Herring,
	NXP Linux Team, Pengutronix Kernel Team, Fabio Estevam,
	Sascha Hauer, linux-arm-kernel

On Sun, 20 Sep 2020 21:58:48 +0200, Krzysztof Kozlowski wrote:
> The i.MX 7ULP DTSes use two compatibles so update the binding to fix
> dtbs_check warnings like:
> 
>   arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
>     compatible: ['fsl,imx7ulp-gpio', 'fsl,vf610-gpio'] is too long
> 
>   arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
>     compatible: Additional items are not allowed ('fsl,vf610-gpio' was unexpected)
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> 
> ---
> 
> Changes since v2:
> 1. None, split from previous patchset using common GPIO schema
> 
> Changes since v1:
> 1. New patch
> ---
>  Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
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] 14+ messages in thread

* Re: [PATCH v3 1/4] dt-bindings: gpio: pl061: add gpio-line-names
  2020-09-20 19:58 [PATCH v3 1/4] dt-bindings: gpio: pl061: add gpio-line-names Krzysztof Kozlowski
                   ` (3 preceding siblings ...)
  2020-09-23 21:08 ` [PATCH v3 1/4] dt-bindings: gpio: pl061: add gpio-line-names Rob Herring
@ 2020-09-29 11:52 ` Linus Walleij
  4 siblings, 0 replies; 14+ messages in thread
From: Linus Walleij @ 2020-09-29 11:52 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Anson Huang, open list:GPIO SUBSYSTEM, Fabio Estevam,
	Sascha Hauer, linux-kernel, Stefan Agner, Bartosz Golaszewski,
	Rob Herring, NXP Linux Team, Pengutronix Kernel Team, Shawn Guo,
	Linux ARM

On Sun, Sep 20, 2020 at 9:58 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:

> Describe common "gpio-line-names" property to fix dtbs_check warnings
> like:
>
>   arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dt.yaml: gpio@e8a0b000:
>     'gpio-line-names' does not match any of the regexes: 'pinctrl-[0-9]+'
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

Patch applied.

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] 14+ messages in thread

* Re: [PATCH v3 2/4] dt-bindings: gpio: fsl-imx-gpio: add i.MX ARMv6 and ARMv7 compatibles
  2020-09-20 19:58 ` [PATCH v3 2/4] dt-bindings: gpio: fsl-imx-gpio: add i.MX ARMv6 and ARMv7 compatibles Krzysztof Kozlowski
  2020-09-23 21:08   ` Rob Herring
@ 2020-09-29 11:52   ` Linus Walleij
  1 sibling, 0 replies; 14+ messages in thread
From: Linus Walleij @ 2020-09-29 11:52 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Anson Huang, open list:GPIO SUBSYSTEM, Fabio Estevam,
	Sascha Hauer, linux-kernel, Stefan Agner, Bartosz Golaszewski,
	Rob Herring, NXP Linux Team, Pengutronix Kernel Team, Shawn Guo,
	Linux ARM

On Sun, Sep 20, 2020 at 9:59 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:

> Several DTSes with ARMv6 and ARMv7 i.MX SoCs introduce their own
> compatibles so add them to fix dtbs_check warnings like:
>
>   arch/arm/boot/dts/imx35-pdk.dt.yaml: gpio@53fa4000:
>     compatible: ['fsl,imx35-gpio', 'fsl,imx31-gpio'] is not valid under any of the given schemas
>
>   arch/arm/boot/dts/imx51-babbage.dt.yaml: gpio@73f90000:
>     compatible: ['fsl,imx51-gpio', 'fsl,imx35-gpio'] is not valid under any of the given schemas
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

Patch applied.

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] 14+ messages in thread

* Re: [PATCH v3 3/4] dt-bindings: gpio: fsl-imx-gpio: add gpio-line-names
  2020-09-20 19:58 ` [PATCH v3 3/4] dt-bindings: gpio: fsl-imx-gpio: add gpio-line-names Krzysztof Kozlowski
  2020-09-23 21:08   ` Rob Herring
@ 2020-09-29 11:53   ` Linus Walleij
  1 sibling, 0 replies; 14+ messages in thread
From: Linus Walleij @ 2020-09-29 11:53 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Anson Huang, open list:GPIO SUBSYSTEM, Fabio Estevam,
	Sascha Hauer, linux-kernel, Stefan Agner, Bartosz Golaszewski,
	Rob Herring, NXP Linux Team, Pengutronix Kernel Team, Shawn Guo,
	Linux ARM

On Sun, Sep 20, 2020 at 9:59 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:

> Describe common "gpio-line-names" property to fix dtbs_check warnings
> like:
>
>   arch/arm/boot/dts/imx53-m53menlo.dt.yaml: gpio@53f84000:
>     'gpio-line-names' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

Patch applied.

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] 14+ messages in thread

* Re: [PATCH v3 4/4] dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching
  2020-09-20 19:58 ` [PATCH v3 4/4] dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching Krzysztof Kozlowski
  2020-09-23 21:09   ` Rob Herring
@ 2020-09-29 11:54   ` Linus Walleij
  2020-09-29 14:02     ` Rob Herring
  1 sibling, 1 reply; 14+ messages in thread
From: Linus Walleij @ 2020-09-29 11:54 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Anson Huang, open list:GPIO SUBSYSTEM, Fabio Estevam,
	Sascha Hauer, linux-kernel, Stefan Agner, Bartosz Golaszewski,
	Rob Herring, NXP Linux Team, Pengutronix Kernel Team, Shawn Guo,
	Linux ARM

On Sun, Sep 20, 2020 at 9:59 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:

> The i.MX 7ULP DTSes use two compatibles so update the binding to fix
> dtbs_check warnings like:
>
>   arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
>     compatible: ['fsl,imx7ulp-gpio', 'fsl,vf610-gpio'] is too long
>
>   arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
>     compatible: Additional items are not allowed ('fsl,vf610-gpio' was unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

This patch doesn't apply to my tree linux-gpio "devel":

$ git am --signoff
./v3_20200920_krzk_dt_bindings_gpio_pl061_add_gpio_line_names.mbx
Applying: dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching
error: Documentation/devicetree/bindings/gpio/gpio-vf610.yaml: does
not exist in index
Patch failed at 0001 dt-bindings: gpio: gpio-vf610: fix iMX 7ULP
compatible matching

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] 14+ messages in thread

* Re: [PATCH v3 4/4] dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching
  2020-09-29 11:54   ` Linus Walleij
@ 2020-09-29 14:02     ` Rob Herring
  2020-09-30  9:35       ` Linus Walleij
  0 siblings, 1 reply; 14+ messages in thread
From: Rob Herring @ 2020-09-29 14:02 UTC (permalink / raw)
  To: Linus Walleij
  Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Anson Huang, Bartosz Golaszewski, Shawn Guo, Sascha Hauer,
	linux-kernel, Krzysztof Kozlowski, open list:GPIO SUBSYSTEM,
	Stefan Agner, Pengutronix Kernel Team, Fabio Estevam, Linux ARM,
	NXP Linux Team

On Tue, Sep 29, 2020 at 01:54:44PM +0200, Linus Walleij wrote:
> On Sun, Sep 20, 2020 at 9:59 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
> 
> > The i.MX 7ULP DTSes use two compatibles so update the binding to fix
> > dtbs_check warnings like:
> >
> >   arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
> >     compatible: ['fsl,imx7ulp-gpio', 'fsl,vf610-gpio'] is too long
> >
> >   arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
> >     compatible: Additional items are not allowed ('fsl,vf610-gpio' was unexpected)
> >
> > Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> 
> This patch doesn't apply to my tree linux-gpio "devel":
> 
> $ git am --signoff
> ./v3_20200920_krzk_dt_bindings_gpio_pl061_add_gpio_line_names.mbx
> Applying: dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching
> error: Documentation/devicetree/bindings/gpio/gpio-vf610.yaml: does
> not exist in index
> Patch failed at 0001 dt-bindings: gpio: gpio-vf610: fix iMX 7ULP
> compatible matching

It's in my tree, so I've applied it.

Rob

_______________________________________________
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] 14+ messages in thread

* Re: [PATCH v3 4/4] dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching
  2020-09-29 14:02     ` Rob Herring
@ 2020-09-30  9:35       ` Linus Walleij
  0 siblings, 0 replies; 14+ messages in thread
From: Linus Walleij @ 2020-09-30  9:35 UTC (permalink / raw)
  To: Rob Herring
  Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Anson Huang, Bartosz Golaszewski, Shawn Guo, Sascha Hauer,
	linux-kernel, Krzysztof Kozlowski, open list:GPIO SUBSYSTEM,
	Stefan Agner, Pengutronix Kernel Team, Fabio Estevam, Linux ARM,
	NXP Linux Team

On Tue, Sep 29, 2020 at 4:02 PM Rob Herring <robh@kernel.org> wrote:
> On Tue, Sep 29, 2020 at 01:54:44PM +0200, Linus Walleij wrote:
> > On Sun, Sep 20, 2020 at 9:59 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
> >
> > > The i.MX 7ULP DTSes use two compatibles so update the binding to fix
> > > dtbs_check warnings like:
> > >
> > >   arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
> > >     compatible: ['fsl,imx7ulp-gpio', 'fsl,vf610-gpio'] is too long
> > >
> > >   arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
> > >     compatible: Additional items are not allowed ('fsl,vf610-gpio' was unexpected)
> > >
> > > Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> >
> > This patch doesn't apply to my tree linux-gpio "devel":
> >
> > $ git am --signoff
> > ./v3_20200920_krzk_dt_bindings_gpio_pl061_add_gpio_line_names.mbx
> > Applying: dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching
> > error: Documentation/devicetree/bindings/gpio/gpio-vf610.yaml: does
> > not exist in index
> > Patch failed at 0001 dt-bindings: gpio: gpio-vf610: fix iMX 7ULP
> > compatible matching
>
> It's in my tree, so I've applied it.

Excellent, thanks Rob.

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] 14+ messages in thread

end of thread, other threads:[~2020-09-30  9:36 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-20 19:58 [PATCH v3 1/4] dt-bindings: gpio: pl061: add gpio-line-names Krzysztof Kozlowski
2020-09-20 19:58 ` [PATCH v3 2/4] dt-bindings: gpio: fsl-imx-gpio: add i.MX ARMv6 and ARMv7 compatibles Krzysztof Kozlowski
2020-09-23 21:08   ` Rob Herring
2020-09-29 11:52   ` Linus Walleij
2020-09-20 19:58 ` [PATCH v3 3/4] dt-bindings: gpio: fsl-imx-gpio: add gpio-line-names Krzysztof Kozlowski
2020-09-23 21:08   ` Rob Herring
2020-09-29 11:53   ` Linus Walleij
2020-09-20 19:58 ` [PATCH v3 4/4] dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching Krzysztof Kozlowski
2020-09-23 21:09   ` Rob Herring
2020-09-29 11:54   ` Linus Walleij
2020-09-29 14:02     ` Rob Herring
2020-09-30  9:35       ` Linus Walleij
2020-09-23 21:08 ` [PATCH v3 1/4] dt-bindings: gpio: pl061: add gpio-line-names Rob Herring
2020-09-29 11:52 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).