ARM: dts: imx: Add missing LVDS decoder on M53Menlo
authorMarek Vasut <marex@denx.de>
Sun, 6 Feb 2022 22:11:23 +0000 (23:11 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sat, 12 Feb 2022 06:05:07 +0000 (14:05 +0800)
The M53Menlo display unit uses an LVDS-to-DPI bridge, TI DS90CF364A.
Describe this bridge in DT, otherwise the DT incorrectly describes
DPI panel attached directly to LVDS source.

Fixes: 716be61d1869 ("ARM: dts: imx53: Add Menlosystems M53 board")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx53-m53menlo.dts

index 4f88e96..d5c68d1 100644 (file)
                };
        };
 
+       lvds-decoder {
+               compatible = "ti,ds90cf364a", "lvds-decoder";
+
+               ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       port@0 {
+                               reg = <0>;
+
+                               lvds_decoder_in: endpoint {
+                                       remote-endpoint = <&lvds0_out>;
+                               };
+                       };
+
+                       port@1 {
+                               reg = <1>;
+
+                               lvds_decoder_out: endpoint {
+                                       remote-endpoint = <&panel_in>;
+                               };
+                       };
+               };
+       };
+
        panel {
                compatible = "edt,etm0700g0dh6";
                pinctrl-0 = <&pinctrl_display_gpio>;
@@ -61,7 +86,7 @@
 
                port {
                        panel_in: endpoint {
-                               remote-endpoint = <&lvds0_out>;
+                               remote-endpoint = <&lvds_decoder_out>;
                        };
                };
        };
                        reg = <2>;
 
                        lvds0_out: endpoint {
-                               remote-endpoint = <&panel_in>;
+                               remote-endpoint = <&lvds_decoder_in>;
                        };
                };
        };