[PATCH/RFC v3 3/3] add pipe link for display entity

Show Liu show.liu at linaro.org
Fri Sep 27 11:50:46 PDT 2013


---
 arch/arm/boot/dts/rtsm_ve-motherboard.dtsi     |   46 ++++++++++++++++++++++++
 arch/arm/boot/dts/rtsm_ve-v2p-ca15x1-ca7x1.dts |    4 +++
 2 files changed, 50 insertions(+)

diff --git a/arch/arm/boot/dts/rtsm_ve-motherboard.dtsi b/arch/arm/boot/dts/rtsm_ve-motherboard.dtsi
index 6d12566..b4e032a 100644
--- a/arch/arm/boot/dts/rtsm_ve-motherboard.dtsi
+++ b/arch/arm/boot/dts/rtsm_ve-motherboard.dtsi
@@ -166,6 +166,17 @@
 				mode = "VGA";
 				use_dma = <0>;
 				framebuffer = <0x18000000 0x00180000>;
+
+				ports {
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+						port at 0 {
+							reg = <0>;
+							clcd_out: endpoint {
+							};
+						};
+				};
 			};
 		};
 
@@ -214,6 +225,41 @@
 			muxfpga at 0 {
 				compatible = "arm,vexpress-muxfpga";
 				arm,vexpress-sysreg,func = <7 0>;
+
+				ports {
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					port at 0 {
+						reg = <0>;
+						muxfpga_in: endpoint {
+						remote-endpoint = <&clcd_out>;
+						};
+					};
+					port at 1 {
+						reg = <1>;
+						muxfpga_out: endpoint {
+						remote-endpoint = <&con_vga_in>;
+						};
+					};
+
+				};
+			};
+
+			con-vga {
+				compatible = "con-vga";
+
+				ports {
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					port at 0 {
+						reg = <0>;
+						con_vga_in: endpoint {
+						remote-endpoint = <&muxfpga_out>;
+						};
+					};
+				};
 			};
 
 			shutdown at 0 {
diff --git a/arch/arm/boot/dts/rtsm_ve-v2p-ca15x1-ca7x1.dts b/arch/arm/boot/dts/rtsm_ve-v2p-ca15x1-ca7x1.dts
index c59f4b5..45a07c5 100644
--- a/arch/arm/boot/dts/rtsm_ve-v2p-ca15x1-ca7x1.dts
+++ b/arch/arm/boot/dts/rtsm_ve-v2p-ca15x1-ca7x1.dts
@@ -230,4 +230,8 @@
 	};
 };
 
+&clcd_out {
+	remote-endpoint = <&muxfpga_in>;
+};
+
 /include/ "clcd-panels.dtsi"
-- 
1.7.9.5



More information about the dri-devel mailing list