]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: imx8mq: Add mux controller to iomuxc_gpr
authorGuido Günther <agx@sigxcpu.org>
Thu, 22 Aug 2019 11:10:23 +0000 (13:10 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 24 Aug 2019 20:47:07 +0000 (22:47 +0200)
The only mux controls the MIPI DSI input selection.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq.dtsi

index f5d4b12a5fa861adf0a00fb5d84cd7aa9d4c038f..c51d571c05e4f3c42ab5981dd8d2737637246136 100644 (file)
@@ -440,8 +440,15 @@ iomuxc: iomuxc@30330000 {
                        };
 
                        iomuxc_gpr: syscon@30340000 {
-                               compatible = "fsl,imx8mq-iomuxc-gpr", "fsl,imx6q-iomuxc-gpr", "syscon";
+                               compatible = "fsl,imx8mq-iomuxc-gpr", "fsl,imx6q-iomuxc-gpr",
+                                            "syscon", "simple-mfd";
                                reg = <0x30340000 0x10000>;
+
+                               mux: mux-controller {
+                                       compatible = "mmio-mux";
+                                       #mux-control-cells = <1>;
+                                       mux-reg-masks = <0x34 0x00000004>; /* MIPI_MUX_SEL */
+                               };
                        };
 
                        ocotp: ocotp-ctrl@30350000 {