ARM: dts: ls1021a: Add of_graph dt nodes to describe the panel
authorMeng Yi <meng.yi@nxp.com>
Tue, 6 Sep 2016 09:45:34 +0000 (17:45 +0800)
committerShawn Guo <shawnguo@kernel.org>
Thu, 8 Sep 2016 14:08:12 +0000 (22:08 +0800)
add of_graph dt nodes to describe the panel, and removed
"fsl,panel" property

Signed-off-by: Meng Yi <meng.yi@nxp.com>
Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/ls1021a-twr.dts

index 75ecaed..a8b148a 100644 (file)
 
        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 {