Skip to contentSkip to conversation

dt-bindings: soc: imx-iomuxc-gpr: Document the CSI mux

PATCH Superseded Fabio Estevam 2 participants 2 messages Sep 10, 2025

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 dt-bindings: soc: imx-iomuxc-gpr: Document the CSI mux

On i.MX6Q/6DL the following subnodes exist to describe the CSI port muxing:

- ipu1_csi0_mux
- ipu1_csi1_mux
- ipu2_csi0_mux
- ipu2_csi1_mux

As they were not documented, dt-schema emits warnings like:

'ipu1_csi0_mux', 'ipu1_csi1_mux' do not match any of the regexes:
'^pinctrl-[0-9]+$'

Add a top-level patternProperties entry for these CSI mux subnodes.

---
 .../devicetree/bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml      | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml +5 -0
index 8451cb4dd87c..c5eea48c19fe 100644
@@ -50,6 +50,11 @@ properties:
     type: object
     $ref: /schemas/mux/reg-mux.yaml
 
+patternProperties:
+  "^ipu[12]_csi[01]_mux$":
+    type: object
+    $ref: /schemas/media/video-mux.yaml
+
 additionalProperties: false
 
 required:
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 24 lines · Fabio Estevam

On i.MX6Q/6DL the following subnodes exist to describe the CSI port muxing:

- ipu1_csi0_mux
- ipu1_csi1_mux
- ipu2_csi0_mux
- ipu2_csi1_mux

As they were not documented, dt-schema emits warnings like:

'ipu1_csi0_mux', 'ipu1_csi1_mux' do not match any of the regexes:
'^pinctrl-[0-9]+$'

Add a top-level patternProperties entry for these CSI mux subnodes.

---
 .../devicetree/bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml      | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml +0 -0
index 8451cb4dd87c..c5eea48c19fe 100644

Documentation/devicetree/bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml properties: · line 58

Quoted 9 lines
Documentation/devicetree/bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml +5 -0
@@ -50,6 +50,11 @@ properties:
     type: object
     $ref: /schemas/mux/reg-mux.yaml
 
+patternProperties:
+  "^ipu[12]_csi[01]_mux$":
+    type: object
+    $ref: /schemas/media/video-mux.yaml
+
 additionalProperties: false

Need disallow it for other compatible string

allOf:
- if:

      properties:
        compatible:
          not:
            contains:
              const: fsl,imx6q-iomuxc-gpr
    then:
      patternProperties:
        '^ipu[12]_csi[01]_mux$': false

Frank

Quoted 5 lines
Documentation/devicetree/bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml +0 -1
 required:
--

2.34.1