arm64: dts: imx8mq: Add DT node for the Mixel MIPI D-PHY
Subsystems (2)
cover arm64: dts: imx8mq: Add DT node for the Mixel MIPI D-PHY
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(+)
Signature · 1 line
2.20.1
PATCH 1/2 arm64: dts: imx8mq: Add MIPI D-PHY
Add a node for the Mixel MIPI D-PHY, "disabled" by default.
--- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+)
arch/arm64/boot/dts/freescale/imx8mq.dtsi +13 -0
@@ -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>;
Signature · 1 line
2.20.1
Re: [PATCH 1/2] arm64: dts: imx8mq: Add MIPI D-PHY
Quoted 3 lines · Guido Günther
Add a node for the Mixel MIPI D-PHY, "disabled" by default.
Signed-off-by Guido Günther <[email protected]>
Quoted 29 lines
--- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+)arch/arm64/boot/dts/freescale/imx8mq.dtsi +13
-0@@ -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>;
PATCH 2/2 arm64: dts: imx8mq-librem5: Enable MIPI D-PHY
In reply to Guido GüntherThis enables the Mixel MIPI D-PHY on the Librem 5 devkit
--- arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +4 -0
@@ -174,6 +174,10 @@ assigned-clock-rates = <786432000>, <722534400>; }; +&dphy { + status = "okay"; +}; + &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>;
Signature · 1 line
2.20.1
Re: [PATCH 2/2] arm64: dts: imx8mq-librem5: Enable MIPI D-PHY
Quoted 3 lines · Guido Günther
This enables the Mixel MIPI D-PHY on the Librem 5 devkit
Signed-off-by Guido Günther <[email protected]>
Quoted 20 lines
--- arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 4 ++++ 1 file changed, 4 insertions(+)arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +4
-0@@ -174,6 +174,10 @@ assigned-clock-rates = <786432000>, <722534400>; }; +&dphy { + status = "okay"; +}; + &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>;
Shawn Guo
AppliedQuoted 6 lines · Guido Günther
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.