linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: pinctrl: xilinx: Rename *gpio to *gpio-grp
@ 2023-12-19 14:41 Michal Simek
  2023-12-20  7:54 ` Krzysztof Kozlowski
  2023-12-20 11:50 ` Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Michal Simek @ 2023-12-19 14:41 UTC (permalink / raw)
  To: linux-kernel, monstr, michal.simek, git
  Cc: Conor Dooley, Krishna Potthuri, Krzysztof Kozlowski,
	Linus Walleij, Rob Herring, devicetree, linux-arm-kernel,
	linux-gpio

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


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

* Re: [PATCH] dt-bindings: pinctrl: xilinx: Rename *gpio to *gpio-grp
  2023-12-19 14:41 [PATCH] dt-bindings: pinctrl: xilinx: Rename *gpio to *gpio-grp Michal Simek
@ 2023-12-20  7:54 ` Krzysztof Kozlowski
  2023-12-20 11:50 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-12-20  7:54 UTC (permalink / raw)
  To: Michal Simek, linux-kernel, monstr, michal.simek, git
  Cc: Conor Dooley, Krishna Potthuri, Krzysztof Kozlowski,
	Linus Walleij, Rob Herring, devicetree, linux-arm-kernel,
	linux-gpio

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


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

* Re: [PATCH] dt-bindings: pinctrl: xilinx: Rename *gpio to *gpio-grp
  2023-12-19 14:41 [PATCH] dt-bindings: pinctrl: xilinx: Rename *gpio to *gpio-grp Michal Simek
  2023-12-20  7:54 ` Krzysztof Kozlowski
@ 2023-12-20 11:50 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2023-12-20 11:50 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, monstr, michal.simek, git, Conor Dooley,
	Krishna Potthuri, Krzysztof Kozlowski, Rob Herring, devicetree,
	linux-arm-kernel, linux-gpio

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

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

end of thread, other threads:[~2023-12-20 11:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-19 14:41 [PATCH] dt-bindings: pinctrl: xilinx: Rename *gpio to *gpio-grp Michal Simek
2023-12-20  7:54 ` Krzysztof Kozlowski
2023-12-20 11:50 ` 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).