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

Michal Simek posted 1 patch 1 year, 12 months ago
.../devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.yaml          | 2 +-
.../devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml        | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH] dt-bindings: pinctrl: xilinx: Rename *gpio to *gpio-grp
Posted by Michal Simek 1 year, 12 months ago
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 <michal.simek@amd.com>
---

 .../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
Re: [PATCH] dt-bindings: pinctrl: xilinx: Rename *gpio to *gpio-grp
Posted by Linus Walleij 1 year, 12 months ago
On Tue, Dec 19, 2023 at 3:41 PM Michal Simek <michal.simek@amd.com> 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 <michal.simek@amd.com>

Patch applied.

Yours,
Linus Walleij
Re: [PATCH] dt-bindings: pinctrl: xilinx: Rename *gpio to *gpio-grp
Posted by Krzysztof Kozlowski 1 year, 12 months ago
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 <michal.simek@amd.com>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof