[PATCH RFC 19/19] ARM: dts: imx: imx51-zii-rdu1: Fix the display pipeline definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The current definition does not represent the exact display pipeline we
have on the board: the LVDS panel is actually connected through a
parallel -> LVDS bridge. Let's fix that so the driver can select the
proper bus format on the CRTC end.

Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>
---
 arch/arm/boot/dts/imx51-zii-rdu1.dts | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx51-zii-rdu1.dts b/arch/arm/boot/dts/imx51-zii-rdu1.dts
index 3596060f52e7..db006a4d4250 100644
--- a/arch/arm/boot/dts/imx51-zii-rdu1.dts
+++ b/arch/arm/boot/dts/imx51-zii-rdu1.dts
@@ -95,11 +95,31 @@
 			reg = <1>;
 
 			display_out: endpoint {
-				remote-endpoint = <&panel_in>;
+				remote-endpoint = <&lvds_encoder_in>;
 			};
 		};
 	};
 
+        lvds-encoder {
+                compatible = "ti,sn75lvds83", "lvds-encoder";
+                #address-cells = <1>;
+                #size-cells = <0>;
+
+                port@0 {
+                        reg = <0>;
+                        lvds_encoder_in: endpoint {
+                                remote-endpoint = <&display_out>;
+                        };
+                };
+
+                port@1 {
+                        reg = <1>;
+                        lvds_encoder_out: endpoint {
+                                remote-endpoint = <&panel_in>;
+                        };
+                };
+        };
+
 	panel {
 		/* no compatible here, bootloader will patch in correct one */
 		pinctrl-names = "default";
@@ -110,7 +130,7 @@
 
 		port {
 			panel_in: endpoint {
-				remote-endpoint = <&display_out>;
+				remote-endpoint = <&lvds_encoder_out>;
 			};
 		};
 	};
-- 
2.21.0

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux