MLK-14286-3 ARM: dts: imx7ulp-evk-hdmi: create the hdmi dts file
authorFancy Fang <chen.fang@nxp.com>
Tue, 28 Mar 2017 06:47:46 +0000 (14:47 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:51 +0000 (15:21 -0500)
Create a new dts file 'imx7ulp-evk-hdmi.dts' to enable hdmi
display to avoids conflict with mipi dsi panel display. Use
endpoint to connect dsi controller and adv7535.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 86fb9340d01a4583628d465f29fba67df93c453c)

arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx7ulp-evk-hdmi.dts [new file with mode: 0644]

index bef25cb..2448872 100644 (file)
@@ -584,7 +584,8 @@ dtb-$(CONFIG_SOC_IMX7ULP) += \
        imx7ulp-evk-sd1.dtb \
        imx7ulp-evk-lpuart.dtb \
        imx7ulp-evk-qspi.dtb \
-       imx7ulp-evk-wm8960.dtb
+       imx7ulp-evk-wm8960.dtb \
+       imx7ulp-evk-hdmi.dtb
 dtb-$(CONFIG_SOC_LS1021A) += \
        ls1021a-qds.dtb \
        ls1021a-twr.dtb
diff --git a/arch/arm/boot/dts/imx7ulp-evk-hdmi.dts b/arch/arm/boot/dts/imx7ulp-evk-hdmi.dts
new file mode 100644 (file)
index 0000000..d56c8e1
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2017 NXP.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx7ulp-evk.dts"
+
+&adv7535 {
+       status = "okay";
+       port {
+               dsi_to_hdmi: endpoint {
+                       remote-endpoint = <&mipi_dsi_ep>;
+               };
+       };
+};
+
+&mipi_dsi {
+       port {
+               mipi_dsi_ep: endpoint {
+                       remote-endpoint = <&dsi_to_hdmi>;
+               };
+       };
+};