linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: imx8mq: Add DT node for the Mixel MIPI D-PHY
@ 2019-06-25  8:27 Guido Günther
  2019-06-25  8:27 ` [PATCH 1/2] arm64: dts: imx8mq: Add " Guido Günther
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Guido Günther @ 2019-06-25  8:27 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Pavel Machek, Guido Günther, Angus Ainslie (Purism),
	Lucas Stach, Abel Vesa, Anson Huang, Carlo Caione,
	Andrey Smirnov, devicetree, linux-arm-kernel, linux-kernel

Now that the driver is in linux-next as of 20190624 let's have a DT node
for the i.MX8mq and enable it on the Librem 5 devkit.

Guido Günther (2):
  arm64: dts: imx8mq: Add MIPI D-PHY
  arm64: dts: imx8mq-librem5: Enable MIPI D-PHY

 .../boot/dts/freescale/imx8mq-librem5-devkit.dts    |  4 ++++
 arch/arm64/boot/dts/freescale/imx8mq.dtsi           | 13 +++++++++++++
 2 files changed, 17 insertions(+)

-- 
2.20.1


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

* [PATCH 1/2] arm64: dts: imx8mq: Add MIPI D-PHY
  2019-06-25  8:27 [PATCH 0/2] arm64: dts: imx8mq: Add DT node for the Mixel MIPI D-PHY Guido Günther
@ 2019-06-25  8:27 ` Guido Günther
  2019-06-28 14:43   ` Angus Ainslie
  2019-06-25  8:27 ` [PATCH 2/2] arm64: dts: imx8mq-librem5: Enable " Guido Günther
  2019-07-18  2:42 ` [PATCH 0/2] arm64: dts: imx8mq: Add DT node for the Mixel " Shawn Guo
  2 siblings, 1 reply; 6+ messages in thread
From: Guido Günther @ 2019-06-25  8:27 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Pavel Machek, Guido Günther, Angus Ainslie (Purism),
	Lucas Stach, Abel Vesa, Anson Huang, Carlo Caione,
	Andrey Smirnov, devicetree, linux-arm-kernel, linux-kernel

Add a node for the Mixel MIPI D-PHY, "disabled" by default.

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

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index d09b808eff87..891ee7578c2d 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -728,6 +728,19 @@
 				status = "disabled";
 			};
 
+			dphy: dphy@30a00300 {
+				compatible = "fsl,imx8mq-mipi-dphy";
+				reg = <0x30a00300 0x100>;
+				clocks = <&clk IMX8MQ_CLK_DSI_PHY_REF>;
+				clock-names = "phy_ref";
+				assigned-clocks = <&clk IMX8MQ_CLK_DSI_PHY_REF>;
+				assigned-clock-parents = <&clk IMX8MQ_VIDEO_PLL1_OUT>;
+				assigned-clock-rates = <24000000>;
+				#phy-cells = <0>;
+				power-domains = <&pgc_mipi>;
+				status = "disabled";
+			};
+
 			i2c1: i2c@30a20000 {
 				compatible = "fsl,imx8mq-i2c", "fsl,imx21-i2c";
 				reg = <0x30a20000 0x10000>;
-- 
2.20.1


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

* [PATCH 2/2] arm64: dts: imx8mq-librem5: Enable MIPI D-PHY
  2019-06-25  8:27 [PATCH 0/2] arm64: dts: imx8mq: Add DT node for the Mixel MIPI D-PHY Guido Günther
  2019-06-25  8:27 ` [PATCH 1/2] arm64: dts: imx8mq: Add " Guido Günther
@ 2019-06-25  8:27 ` Guido Günther
  2019-06-28 14:43   ` Angus Ainslie
  2019-07-18  2:42 ` [PATCH 0/2] arm64: dts: imx8mq: Add DT node for the Mixel " Shawn Guo
  2 siblings, 1 reply; 6+ messages in thread
From: Guido Günther @ 2019-06-25  8:27 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Pavel Machek, Guido Günther, Angus Ainslie (Purism),
	Lucas Stach, Abel Vesa, Anson Huang, Carlo Caione,
	Andrey Smirnov, devicetree, linux-arm-kernel, linux-kernel

This enables the Mixel MIPI D-PHY on the Librem 5 devkit

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

diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
index 93b3830e5406..83c965773a29 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
@@ -174,6 +174,10 @@
 	assigned-clock-rates = <786432000>, <722534400>;
 };
 
+&dphy {
+	status = "okay";
+};
+
 &fec1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_fec1>;
-- 
2.20.1


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

* Re: [PATCH 1/2] arm64: dts: imx8mq: Add MIPI D-PHY
  2019-06-25  8:27 ` [PATCH 1/2] arm64: dts: imx8mq: Add " Guido Günther
@ 2019-06-28 14:43   ` Angus Ainslie
  0 siblings, 0 replies; 6+ messages in thread
From: Angus Ainslie @ 2019-06-28 14:43 UTC (permalink / raw)
  To: Guido Günther
  Cc: Rob Herring, Mark Rutland, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Pavel Machek, Lucas Stach, Abel Vesa, Anson Huang, Carlo Caione,
	Andrey Smirnov, devicetree, linux-arm-kernel, linux-kernel

On 2019-06-25 02:27, Guido Günther wrote:
> Add a node for the Mixel MIPI D-PHY, "disabled" by default.
> 
> Signed-off-by: Guido Günther <agx@sigxcpu.org>

Acked-by: Angus Ainslie (Purism) <angus@akkea.ca>

> ---
>  arch/arm64/boot/dts/freescale/imx8mq.dtsi | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> index d09b808eff87..891ee7578c2d 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> @@ -728,6 +728,19 @@
>  				status = "disabled";
>  			};
> 
> +			dphy: dphy@30a00300 {
> +				compatible = "fsl,imx8mq-mipi-dphy";
> +				reg = <0x30a00300 0x100>;
> +				clocks = <&clk IMX8MQ_CLK_DSI_PHY_REF>;
> +				clock-names = "phy_ref";
> +				assigned-clocks = <&clk IMX8MQ_CLK_DSI_PHY_REF>;
> +				assigned-clock-parents = <&clk IMX8MQ_VIDEO_PLL1_OUT>;
> +				assigned-clock-rates = <24000000>;
> +				#phy-cells = <0>;
> +				power-domains = <&pgc_mipi>;
> +				status = "disabled";
> +			};
> +
>  			i2c1: i2c@30a20000 {
>  				compatible = "fsl,imx8mq-i2c", "fsl,imx21-i2c";
>  				reg = <0x30a20000 0x10000>;


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

* Re: [PATCH 2/2] arm64: dts: imx8mq-librem5: Enable MIPI D-PHY
  2019-06-25  8:27 ` [PATCH 2/2] arm64: dts: imx8mq-librem5: Enable " Guido Günther
@ 2019-06-28 14:43   ` Angus Ainslie
  0 siblings, 0 replies; 6+ messages in thread
From: Angus Ainslie @ 2019-06-28 14:43 UTC (permalink / raw)
  To: Guido Günther
  Cc: Rob Herring, Mark Rutland, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Pavel Machek, Lucas Stach, Abel Vesa, Anson Huang, Carlo Caione,
	Andrey Smirnov, devicetree, linux-arm-kernel, linux-kernel

On 2019-06-25 02:27, Guido Günther wrote:
> This enables the Mixel MIPI D-PHY on the Librem 5 devkit
> 
> Signed-off-by: Guido Günther <agx@sigxcpu.org>

Acked-by: Angus Ainslie (Purism) <angus@akkea.ca>

> ---
>  arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> index 93b3830e5406..83c965773a29 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> @@ -174,6 +174,10 @@
>  	assigned-clock-rates = <786432000>, <722534400>;
>  };
> 
> +&dphy {
> +	status = "okay";
> +};
> +
>  &fec1 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_fec1>;


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

* Re: [PATCH 0/2] arm64: dts: imx8mq: Add DT node for the Mixel MIPI D-PHY
  2019-06-25  8:27 [PATCH 0/2] arm64: dts: imx8mq: Add DT node for the Mixel MIPI D-PHY Guido Günther
  2019-06-25  8:27 ` [PATCH 1/2] arm64: dts: imx8mq: Add " Guido Günther
  2019-06-25  8:27 ` [PATCH 2/2] arm64: dts: imx8mq-librem5: Enable " Guido Günther
@ 2019-07-18  2:42 ` Shawn Guo
  2 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2019-07-18  2:42 UTC (permalink / raw)
  To: Guido Günther
  Cc: Rob Herring, Mark Rutland, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Pavel Machek,
	Angus Ainslie (Purism),
	Lucas Stach, Abel Vesa, Anson Huang, Carlo Caione,
	Andrey Smirnov, devicetree, linux-arm-kernel, linux-kernel

On Tue, Jun 25, 2019 at 10:27:19AM +0200, Guido Günther wrote:
> Now that the driver is in linux-next as of 20190624 let's have a DT node
> for the i.MX8mq and enable it on the Librem 5 devkit.
> 
> Guido Günther (2):
>   arm64: dts: imx8mq: Add MIPI D-PHY
>   arm64: dts: imx8mq-librem5: Enable MIPI D-PHY

Applied both, thanks.

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

end of thread, other threads:[~2019-07-18  2:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-25  8:27 [PATCH 0/2] arm64: dts: imx8mq: Add DT node for the Mixel MIPI D-PHY Guido Günther
2019-06-25  8:27 ` [PATCH 1/2] arm64: dts: imx8mq: Add " Guido Günther
2019-06-28 14:43   ` Angus Ainslie
2019-06-25  8:27 ` [PATCH 2/2] arm64: dts: imx8mq-librem5: Enable " Guido Günther
2019-06-28 14:43   ` Angus Ainslie
2019-07-18  2:42 ` [PATCH 0/2] arm64: dts: imx8mq: Add DT node for the Mixel " Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).