[PATCH v3 2/6] arm64: dts: imx8mm-phyboard-polis: move mipi bridge to som
Jan Remmet
j.remmet at phytec.de
Tue Oct 28 01:58:09 PDT 2025
sn65dsi83 is mounted on som. Add the static configuration there.
So it can be used by other boards too.
Use mipi_dsi_out from imx8mm.dtsi directly.
Signed-off-by: Jan Remmet <j.remmet at phytec.de>
---
.../freescale/imx8mm-phyboard-polis-peb-av-10.dtso | 40 ++++------------------
.../boot/dts/freescale/imx8mm-phycore-som.dtsi | 25 ++++++++++++++
2 files changed, 31 insertions(+), 34 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10.dtso
index 00da1eedf73aac1f0e87383ac3d12f21e007c4cc..7e60c96b3562f4baf19bcdda8940c2b0c52dd743 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10.dtso
+++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10.dtso
@@ -81,6 +81,12 @@ dailink_master: simple-audio-card,codec {
};
};
+&bridge_out {
+ remote-endpoint = <&panel_in>;
+ ti,lvds-vod-swing-clock-microvolt = <200000 600000>;
+ ti,lvds-vod-swing-data-microvolt = <200000 600000>;
+};
+
&i2c3 {
clock-frequency = <400000>;
pinctrl-names = "default", "gpio";
@@ -128,19 +134,7 @@ &lcdif {
};
&mipi_dsi {
- samsung,esc-clock-frequency = <10000000>;
status = "okay";
-
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
- port at 1 {
- reg = <1>;
- dsi_out: endpoint {
- remote-endpoint = <&bridge_in>;
- };
- };
- };
};
&pwm4 {
@@ -168,28 +162,6 @@ &sai5 {
&sn65dsi83 {
status = "okay";
-
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
- port at 0 {
- reg = <0>;
- bridge_in: endpoint {
- remote-endpoint = <&dsi_out>;
- data-lanes = <1 2 3 4>;
- };
- };
-
- port at 2 {
- reg = <2>;
- bridge_out: endpoint {
- remote-endpoint = <&panel_in>;
- ti,lvds-vod-swing-clock-microvolt = <200000 600000>;
- ti,lvds-vod-swing-data-microvolt = <200000 600000>;
- };
- };
- };
};
&iomuxc {
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi
index 54f724e1774c2c718cddd1ddc7378054f2b2f638..3d66c6701342ae20839254674261c8264beccde5 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi
@@ -287,6 +287,23 @@ sn65dsi83: bridge at 2d {
reg = <0x2d>;
vcc-supply = <®_vdd_1v8>;
status = "disabled";
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port at 0 {
+ reg = <0>;
+ bridge_in: endpoint {
+ remote-endpoint = <&mipi_dsi_out>;
+ data-lanes = <1 2 3 4>;
+ };
+ };
+
+ port at 2 {
+ reg = <2>;
+ bridge_out: endpoint {};
+ };
+ };
};
/* EEPROM */
@@ -304,6 +321,14 @@ rv3028: rtc at 52 {
};
};
+&mipi_dsi {
+ samsung,esc-clock-frequency = <10000000>;
+};
+
+&mipi_dsi_out {
+ remote-endpoint = <&bridge_in>;
+};
+
/* eMMC */
&usdhc3 {
assigned-clocks = <&clk IMX8MM_CLK_USDHC3_ROOT>;
--
2.43.0
More information about the linux-arm-kernel
mailing list