]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: imx8mm-phyboard-polis: move mipi bridge to som
authorJan Remmet <j.remmet@phytec.de>
Tue, 28 Oct 2025 08:58:09 +0000 (09:58 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sun, 16 Nov 2025 09:36:52 +0000 (17:36 +0800)
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@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10.dtso
arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi

index 00da1eedf73aac1f0e87383ac3d12f21e007c4cc..7e60c96b3562f4baf19bcdda8940c2b0c52dd743 100644 (file)
        };
 };
 
+&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";
 };
 
 &mipi_dsi {
-       samsung,esc-clock-frequency = <10000000>;
        status = "okay";
-
-       ports {
-               #address-cells = <1>;
-               #size-cells = <0>;
-               port@1 {
-                       reg = <1>;
-                       dsi_out: endpoint {
-                               remote-endpoint = <&bridge_in>;
-                       };
-               };
-       };
 };
 
 &pwm4 {
 
 &sn65dsi83 {
        status = "okay";
-
-       ports {
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               port@0 {
-                       reg = <0>;
-                       bridge_in: endpoint {
-                               remote-endpoint = <&dsi_out>;
-                               data-lanes = <1 2 3 4>;
-                       };
-               };
-
-               port@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 {
index 54f724e1774c2c718cddd1ddc7378054f2b2f638..3d66c6701342ae20839254674261c8264beccde5 100644 (file)
                reg = <0x2d>;
                vcc-supply = <&reg_vdd_1v8>;
                status = "disabled";
+               ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       port@0 {
+                               reg = <0>;
+                               bridge_in: endpoint {
+                                       remote-endpoint = <&mipi_dsi_out>;
+                                       data-lanes = <1 2 3 4>;
+                               };
+                       };
+
+                       port@2 {
+                               reg = <2>;
+                               bridge_out: endpoint {};
+                       };
+               };
        };
 
        /* EEPROM */
        };
 };
 
+&mipi_dsi {
+       samsung,esc-clock-frequency = <10000000>;
+};
+
+&mipi_dsi_out {
+       remote-endpoint = <&bridge_in>;
+};
+
 /* eMMC */
 &usdhc3 {
        assigned-clocks = <&clk IMX8MM_CLK_USDHC3_ROOT>;