Skip to contentSkip to conversation

arch: arm64: imx8mq: Add mux-controller to iomuxc_gpr

PATCH Applied Guido Günther 3 participants 4 messages Aug 22, 2019 – Aug 24, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover arch: arm64: imx8mq: Add mux-controller to iomuxc_gpr

This adds a mux-controller to the iomuxc_gpr syscon. It will e.g. be used by the NWL DSI host controller driver.

Guido Günther (1):
arm64: dts: imx8mq: Add mux controller to iomuxc_gpr

 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 arm64: dts: imx8mq: Add mux controller to iomuxc_gpr

The only mux controls the MIPI DSI input selection.

---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mq.dtsi +8 -1
index 4fdd60f2c51e..3f3594d9485c 100644
@@ -440,8 +440,15 @@
 			};
 
 			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 {
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by on v1 1/1
#2 lore raw

Re: [PATCH 1/1] arm64: dts: imx8mq: Add mux controller to iomuxc_gpr

Quoted 3 lines · Guido Günther

The only mux controls the MIPI DSI input selection.

regards
Philipp

Quoted 25 lines
---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mq.dtsi +8 -1
index 4fdd60f2c51e..3f3594d9485c 100644
@@ -440,8 +440,15 @@
 			};
 
 			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 {