Skip to contentSkip to conversation

dt-bindings: gpio: fsl-imx-gpio: Document imx25 and imx27

PATCH Superseded Fabio Estevam 2 participants 2 messages Sep 25, 2023

Subsystems (3)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v2 1/1 dt-bindings: gpio: fsl-imx-gpio: Document imx25 and imx27

From: Fabio Estevam <[email protected]>

fsl,imx25-gpio and fsl,imx27-gpio are not documented, causing schema warnings.

fsl,imx25-gpio is compatible with fsl,imx35-gpio and fsl,imx27-gpio is compatible with fsl,imx21-gpio.

Document them accordingly.

---
Changes since v1:
- Sorted by fallback compatible. (Krzysztof)

 Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +8 -0
index d0ca2af89f1e..f73381cec2d8 100644
@@ -21,6 +21,14 @@ properties:
       - items:
           - const: fsl,imx35-gpio
           - const: fsl,imx31-gpio
+      - items:
+          - enum:
+              - fsl,imx27-gpio
+          - const: fsl,imx21-gpio
+      - items:
+          - enum:
+              - fsl,imx25-gpio
+          - const: fsl,imx35-gpio
       - items:
           - enum:
               - fsl,imx50-gpio
Signature · 1 line
2.34.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 23 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

fsl,imx25-gpio and fsl,imx27-gpio are not documented, causing schema warnings.

fsl,imx25-gpio is compatible with fsl,imx35-gpio and fsl,imx27-gpio is compatible with fsl,imx21-gpio.

Document them accordingly.

---
Changes since v1:
- Sorted by fallback compatible. (Krzysztof)

 Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +0 -0
index d0ca2af89f1e..f73381cec2d8 100644

Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml properties: · line 27

Quoted 7 lines
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +4 -0
@@ -21,6 +21,14 @@ properties:
       - items:
           - const: fsl,imx35-gpio
           - const: fsl,imx31-gpio
+      - items:
+          - enum:
+              - fsl,imx27-gpio
+          - const: fsl,imx21-gpio

31 (from above) should be after 21.

Best regards,
Krzysztof