diff mbox

[2/2] drm/fsl-dcu: update panel syntax to of_graph dt binding

Message ID 1467106748-19314-2-git-send-email-meng.yi@nxp.com (mailing list archive)
State New, archived
Headers show

Commit Message

Meng Yi June 28, 2016, 9:39 a.m. UTC
add of_graph dt binding for panel, and "fsl,panel" property
is deprecated

Signed-off-by: Meng Yi <meng.yi@nxp.com>
---
 arch/arm/boot/dts/ls1021a-twr.dts | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts
index 75ecaed..eec920b 100644
--- a/arch/arm/boot/dts/ls1021a-twr.dts
+++ b/arch/arm/boot/dts/ls1021a-twr.dts
@@ -108,12 +108,22 @@ 
 
 	panel: panel {
 		compatible = "nec,nl4827hc19-05b";
+		port@0 {
+			panel_out: endpoint {
+				remote-endpoint = <&dcu_out>;
+			};
+		};
 	};
 };
 
 &dcu {
-	fsl,panel = <&panel>;
 	status = "okay";
+
+	port: port@0 {
+		dcu_out: endpoint {
+			remote-endpoint = <&panel_out>;
+		};
+	};
 };
 
 &dspi1 {