Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 0/1] arch: arm64: imx8mq: Add mux-controller to iomuxc_gpr
@ 2019-08-22 11:07 Guido Günther
  2019-08-22 11:10 ` [PATCH 1/1] arm64: dts: imx8mq: Add mux controller " Guido Günther
  0 siblings, 1 reply; 4+ messages in thread
From: Guido Günther @ 2019-08-22 11:07 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Lucas Stach, Abel Vesa, Anson Huang, Carlo Caione,
	Angus Ainslie (Purism),
	Guido Günther, Andrey Smirnov, devicetree, linux-arm-kernel,
	linux-kernel

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(-)

-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] arm64: dts: imx8mq: Add mux controller to iomuxc_gpr
  2019-08-22 11:07 [PATCH 0/1] arch: arm64: imx8mq: Add mux-controller to iomuxc_gpr Guido Günther
@ 2019-08-22 11:10 ` " Guido Günther
  2019-08-22 11:38   ` Philipp Zabel
  2019-08-24 20:47   ` Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Guido Günther @ 2019-08-22 11:10 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Lucas Stach, Abel Vesa, Anson Huang, Carlo Caione,
	Angus Ainslie (Purism),
	Guido Günther, Andrey Smirnov, devicetree, linux-arm-kernel,
	linux-kernel

The only mux controls the MIPI DSI input selection.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 4fdd60f2c51e..3f3594d9485c 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -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 {
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] arm64: dts: imx8mq: Add mux controller to iomuxc_gpr
  2019-08-22 11:10 ` [PATCH 1/1] arm64: dts: imx8mq: Add mux controller " Guido Günther
@ 2019-08-22 11:38   ` Philipp Zabel
  2019-08-24 20:47   ` Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Philipp Zabel @ 2019-08-22 11:38 UTC (permalink / raw)
  To: Guido Günther, Rob Herring, Mark Rutland, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Lucas Stach, Abel Vesa, Anson Huang,
	Carlo Caione, Angus Ainslie (Purism),
	Andrey Smirnov, devicetree, linux-arm-kernel, linux-kernel

On Thu, 2019-08-22 at 13:10 +0200, Guido Günther wrote:
> 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>

regards
Philipp

> ---
>  arch/arm64/boot/dts/freescale/imx8mq.dtsi | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> index 4fdd60f2c51e..3f3594d9485c 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> @@ -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 {

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] arm64: dts: imx8mq: Add mux controller to iomuxc_gpr
  2019-08-22 11:10 ` [PATCH 1/1] arm64: dts: imx8mq: Add mux controller " Guido Günther
  2019-08-22 11:38   ` Philipp Zabel
@ 2019-08-24 20:47   ` Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2019-08-24 20:47 UTC (permalink / raw)
  To: Guido Günther
  Cc: Mark Rutland, devicetree, Abel Vesa, Anson Huang, Carlo Caione,
	Andrey Smirnov, Sascha Hauer, Angus Ainslie \(Purism\),
	linux-kernel, Rob Herring, NXP Linux Team,
	Pengutronix Kernel Team, Fabio Estevam, linux-arm-kernel,
	Lucas Stach

On Thu, Aug 22, 2019 at 01:10:23PM +0200, Guido Günther wrote:
> The only mux controls the MIPI DSI input selection.
> 
> Signed-off-by: Guido Günther <agx@sigxcpu.org>

Applied, thanks.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-22 11:07 [PATCH 0/1] arch: arm64: imx8mq: Add mux-controller to iomuxc_gpr Guido Günther
2019-08-22 11:10 ` [PATCH 1/1] arm64: dts: imx8mq: Add mux controller " Guido Günther
2019-08-22 11:38   ` Philipp Zabel
2019-08-24 20:47   ` Shawn Guo

Linux-ARM-Kernel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/0 linux-arm-kernel/git/0.git
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/1 linux-arm-kernel/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-arm-kernel linux-arm-kernel/ https://lore.kernel.org/linux-arm-kernel \
		linux-arm-kernel@lists.infradead.org infradead-linux-arm-kernel@archiver.kernel.org
	public-inbox-index linux-arm-kernel


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-arm-kernel


AGPL code for this site: git clone https://public-inbox.org/ public-inbox