Skip to contentSkip to conversation

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

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

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 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.

---
 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..e716c6170643 100644
@@ -21,6 +21,14 @@ properties:
       - items:
           - const: fsl,imx35-gpio
           - const: fsl,imx31-gpio
+      - items:
+          - enum:
+              - fsl,imx25-gpio
+          - const: fsl,imx35-gpio
+      - items:
+          - enum:
+              - fsl,imx27-gpio
+          - const: fsl,imx21-gpio
       - items:
           - enum:
               - fsl,imx50-gpio
Signature · 1 line
2.34.1
#1 lore raw
Quoted 21 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.

---
 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..e716c6170643 100644
@@ -21,6 +21,14 @@ properties:
       - items:

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

Quoted 10 lines
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +8 -0
           - const: fsl,imx35-gpio
           - const: fsl,imx31-gpio
+      - items:
+          - enum:
+              - fsl,imx25-gpio
+          - const: fsl,imx35-gpio
+      - items:
+          - enum:
+              - fsl,imx27-gpio
+          - const: fsl,imx21-gpio

This does not look like placed in ordered way (order is by fallback compatible).

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

Quoted 3 lines
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +0 -0
       - items:
           - enum:
               - fsl,imx50-gpio

Best regards,
Krzysztof