[PATCH] dt-bindings: gpio: zynq: Add all the supported compatibles

From: Radhey Shyam Pandey
Date: Thu Apr 28 2022 - 12:37:05 EST


From: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx>

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@xxxxxxxxxx>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xxxxxxxxxx>
---
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