ARM: dts: imx7s: add multiplexer controls
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 28 Mar 2019 14:25:13 +0000 (14:25 +0000)
committerShawn Guo <shawnguo@kernel.org>
Thu, 11 Apr 2019 02:23:15 +0000 (10:23 +0800)
The IOMUXC General Purpose Register has bitfield to control video bus
multiplexer to control the CSI input between the MIPI-CSI2 and parallel
interface. Add that register and mask.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7s.dtsi

index 9a680d3..792efcd 100644 (file)
 
                        gpr: iomuxc-gpr@30340000 {
                                compatible = "fsl,imx7d-iomuxc-gpr",
-                                       "fsl,imx6q-iomuxc-gpr", "syscon";
+                                       "fsl,imx6q-iomuxc-gpr", "syscon",
+                                       "simple-mfd";
                                reg = <0x30340000 0x10000>;
+
+                               mux: mux-controller {
+                                       compatible = "mmio-mux";
+                                       #mux-control-cells = <0>;
+                                       mux-reg-masks = <0x14 0x00000010>;
+                               };
                        };
 
                        ocotp: ocotp-ctrl@30350000 {