ARM: dts: imx7: remove DSI port endpoints
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Fri, 16 Feb 2024 10:42:55 +0000 (11:42 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sun, 25 Feb 2024 12:58:44 +0000 (20:58 +0800)
This fixes the display not working on colibri imx7, the driver fails to
load with the following error:

  mxsfb 30730000.lcdif: error -ENODEV: Cannot connect bridge

NXP i.MX7 LCDIF is connected to both the Parallel LCD Display and to a
MIPI DSI IP block, currently it's not possible to describe the
connection to both.

Remove the port endpoint from the SOC dtsi to prevent regressions, this
would need to be defined on the board DTS.

Reported-by: Hiago De Franco <hiagofranco@gmail.com>
Closes: https://lore.kernel.org/r/34yzygh3mbwpqr2re7nxmhyxy3s7qmqy4vhxvoyxnoguktriur@z66m7gvpqlia/
Fixes: edbbae7fba49 ("ARM: dts: imx7: add MIPI-DSI support")
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx7s.dtsi

index ebf7befcc11e3e8cd5985d72c384ae2248635bcc..9c81c6baa2d39ae7cd73a34144598d513423c343 100644 (file)
                                        <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
                                clock-names = "pix", "axi";
                                status = "disabled";
-
-                               port {
-                                       #address-cells = <1>;
-                                       #size-cells = <0>;
-
-                                       lcdif_out_mipi_dsi: endpoint@0 {
-                                               reg = <0>;
-                                               remote-endpoint = <&mipi_dsi_in_lcdif>;
-                                       };
-                               };
                        };
 
                        mipi_csi: mipi-csi@30750000 {
                                samsung,esc-clock-frequency = <20000000>;
                                samsung,pll-clock-frequency = <24000000>;
                                status = "disabled";
-
-                               ports {
-                                       #address-cells = <1>;
-                                       #size-cells = <0>;
-
-                                       port@0 {
-                                               reg = <0>;
-                                               #address-cells = <1>;
-                                               #size-cells = <0>;
-
-                                               mipi_dsi_in_lcdif: endpoint@0 {
-                                                       reg = <0>;
-                                                       remote-endpoint = <&lcdif_out_mipi_dsi>;
-                                               };
-                                       };
-                               };
                        };
                };