diff mbox

[v3,2/3] arm:dts:ls1021a: Add sii9022a dts node

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

Commit Message

Meng Yi March 9, 2016, 8:31 a.m. UTC
This patch adds sii9022a node for ls1021a-twr.

Signed-off-by: Meng Yi <meng.yi@nxp.com>
Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Jianwei Wang <jianwei.wang.chn@gmail.com>
---
Change in v3:
Using of_graph to describe connection to DCU.
---
 arch/arm/boot/dts/ls1021a-twr.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts
index 75ecaed..db7e465 100644
--- a/arch/arm/boot/dts/ls1021a-twr.dts
+++ b/arch/arm/boot/dts/ls1021a-twr.dts
@@ -114,6 +114,12 @@ 
 &dcu {
 	fsl,panel = <&panel>;
 	status = "okay";
+
+	port@0 {
+		dcu_out_hdmi: endpoint {
+			remote-endpoint = <&sii9022a_out>;
+		};
+	};
 };
 
 &dspi1 {
@@ -178,6 +184,18 @@ 
 		VDDIO-supply = <&reg_3p3v>;
 		clocks = <&sys_mclk 1>;
 	};
+
+	sii9022a: hdmi@39 {
+		compatible = "sil,sii9022a";
+		reg = <0x39>;
+		interrupts = <GIC_SPI 167 IRQ_TYPE_EDGE_RISING>;
+
+		port@0 {
+			sii9022a_out: endpoint {
+				remote-endpoint = <&dcu_out_hdmi>;
+			};
+		};
+	};
 };
 
 &ifc {