Skip to contentSkip to conversation

ARM: dts: ls1021a: Add of_graph dt nodes to describe the panel

PATCH RESEND In review Meng Yi 3 participants 3 messages Sep 6, 2016 – Sep 8, 2016 Device tree bindings

lore
Share & tools
lore

Meng Yi

author
#0 lore raw

PATCH RESEND 1/1 ARM: dts: ls1021a: Add of_graph dt nodes to describe the panel

add of_graph dt nodes to describe the panel, and removed "fsl,panel" property

---
 arch/arm/boot/dts/ls1021a-twr.dts | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
arch/arm/boot/dts/ls1021a-twr.dts +12 -1
index 75ecaed..a8b148a 100644
@@ -108,12 +108,23 @@
 
 	panel: panel {
 		compatible = "nec,nl4827hc19-05b";
+
+		port {
+			panel_in: endpoint {
+				remote-endpoint = <&dcu_out>;
+			};
+		};
 	};
 };
 
 &dcu {
-	fsl,panel = <&panel>;
 	status = "okay";
+
+	port {
+		dcu_out: endpoint {
+			remote-endpoint = <&panel_in>;
+		};
+	};
 };
 
 &dspi1 {
Signature · 1 line
2.1.0.27.g96db324
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Meng Yi

add of_graph dt nodes to describe the panel, and removed "fsl,panel" property

Shawn, the changes required to the DCU driver made it into v4.8, so this can be applied now. I will send out a patch which does the same conversion for the remaining boards.

--
Stefan

Quoted 24 lines
---
 arch/arm/boot/dts/ls1021a-twr.dts | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
arch/arm/boot/dts/ls1021a-twr.dts +6 -1
index 75ecaed..a8b148a 100644
@@ -108,12 +108,23 @@
 
 	panel: panel {
 		compatible = "nec,nl4827hc19-05b";
+
+		port {
+			panel_in: endpoint {
+				remote-endpoint = <&dcu_out>;
+			};
+		};
 	};
 };
 
 &dcu {
-	fsl,panel = <&panel>;

arch/arm/boot/dts/ls1021a-twr.dts line 130

Quoted 10 lines
arch/arm/boot/dts/ls1021a-twr.dts +6 -0
 	status = "okay";
+
+	port {
+		dcu_out: endpoint {
+			remote-endpoint = <&panel_in>;
+		};
+	};
 };
 
 &dspi1 {

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html