2023-12-19 14:52:32

by Michal Simek

[permalink] [raw]
Subject: [PATCH] dt-bindings: pinctrl: xilinx: Rename *gpio to *gpio-grp

Anything ending with gpio/gpios is taken as gpio phande/description which
is reported as the issue coming from gpio-consumer.yaml schema.
That's why rename the gpio suffix to gpio-grp to avoid name collision.

Signed-off-by: Michal Simek <[email protected]>
---

.../devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.yaml | 2 +-
.../devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.yaml
index b85f9e36ce4b..d2676f92ef5b 100644
--- a/Documentation/devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.yaml
@@ -39,7 +39,7 @@ properties:
phandle to the SLCR.

patternProperties:
- '^(.*-)?(default|gpio)$':
+ '^(.*-)?(default|gpio-grp)$':
type: object
patternProperties:
'^mux':
diff --git a/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml
index 01b6f2b57843..f13d315b5d5e 100644
--- a/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml
@@ -31,7 +31,7 @@ properties:
const: xlnx,zynqmp-pinctrl

patternProperties:
- '^(.*-)?(default|gpio)$':
+ '^(.*-)?(default|gpio-grp)$':
type: object
patternProperties:
'^mux':
--
2.36.1



2023-12-20 07:54:33

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: pinctrl: xilinx: Rename *gpio to *gpio-grp

On 19/12/2023 15:41, Michal Simek wrote:
> Anything ending with gpio/gpios is taken as gpio phande/description which
> is reported as the issue coming from gpio-consumer.yaml schema.
> That's why rename the gpio suffix to gpio-grp to avoid name collision.
>
> Signed-off-by: Michal Simek <[email protected]>
> ---

Reviewed-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof


2023-12-20 11:51:02

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: pinctrl: xilinx: Rename *gpio to *gpio-grp

On Tue, Dec 19, 2023 at 3:41 PM Michal Simek <[email protected]> wrote:

> Anything ending with gpio/gpios is taken as gpio phande/description which
> is reported as the issue coming from gpio-consumer.yaml schema.
> That's why rename the gpio suffix to gpio-grp to avoid name collision.
>
> Signed-off-by: Michal Simek <[email protected]>

Patch applied.

Yours,
Linus Walleij