public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: gpio: zynq: Add all the supported compatibles
@ 2022-04-28 16:36 Radhey Shyam Pandey
  2022-04-28 20:33 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Radhey Shyam Pandey @ 2022-04-28 16:36 UTC (permalink / raw)
  To: shubhrajyoti.datta, linus.walleij, brgl, robh+dt,
	krzysztof.kozlowski+dt
  Cc: linux-gpio, devicetree, linux-kernel, git, Radhey Shyam Pandey

From: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>

Add the compatibles for zynqmp, versal and platform management controller
nodes.

Fixes: 45ca16072b70 ("dt-bindings: gpio: zynq: convert bindings to YAML")
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
---
NOTE- There is 'gpio@e000a000: interrupts: [[0], [20], [4]] is too long'
warning coming with upstream yaml. I am checking it on devicetree mailing
list. https://www.spinics.net/lists/devicetree/msg493762.html
---
 Documentation/devicetree/bindings/gpio/gpio-zynq.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/gpio/gpio-zynq.yaml b/Documentation/devicetree/bindings/gpio/gpio-zynq.yaml
index 378da2649e66..980f92ad9eba 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-zynq.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-zynq.yaml
@@ -11,7 +11,11 @@ maintainers:
 
 properties:
   compatible:
-    const: xlnx,zynq-gpio-1.0
+    enum:
+      - xlnx,zynq-gpio-1.0
+      - xlnx,zynqmp-gpio-1.0
+      - xlnx,versal-gpio-1.0
+      - xlnx,pmc-gpio-1.0
 
   reg:
     maxItems: 1
-- 
2.1.1


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

end of thread, other threads:[~2022-04-28 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-28 16:36 [PATCH] dt-bindings: gpio: zynq: Add all the supported compatibles Radhey Shyam Pandey
2022-04-28 20:33 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox