diff mbox

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

Message ID 1380307846-27479-4-git-send-email-show.liu@linaro.org
State New
Headers show

Commit Message

Showliu Sept. 27, 2013, 6:50 p.m. UTC
---
 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 mbox

Patch

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@0 {
+							reg = <0>;
+							clcd_out: endpoint {
+							};
+						};
+				};
 			};
 		};
 
@@ -214,6 +225,41 @@ 
 			muxfpga@0 {
 				compatible = "arm,vexpress-muxfpga";
 				arm,vexpress-sysreg,func = <7 0>;
+
+				ports {
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					port@0 {
+						reg = <0>;
+						muxfpga_in: endpoint {
+						remote-endpoint = <&clcd_out>;
+						};
+					};
+					port@1 {
+						reg = <1>;
+						muxfpga_out: endpoint {
+						remote-endpoint = <&con_vga_in>;
+						};
+					};
+
+				};
+			};
+
+			con-vga {
+				compatible = "con-vga";
+
+				ports {
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					port@0 {
+						reg = <0>;
+						con_vga_in: endpoint {
+						remote-endpoint = <&muxfpga_out>;
+						};
+					};
+				};
 			};
 
 			shutdown@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"