MLK-16158-2 ARM64: dts: imx8mq-evk: add a new dts to support 'LCDIF-->DSI'
authorFancy Fang <chen.fang@nxp.com>
Tue, 8 Aug 2017 05:06:06 +0000 (13:06 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:28 +0000 (15:36 -0500)
There are two independent display path on imx8mq platform:

    a. DCSS  --> HDMI
    b. LCDIF --> DSI

The default enabled display path is 'DCSS-->HDMI', so add
a new dts to enable 'LCDIF-->DSI', and at the same time,
disable 'DCSS-->HDMI' path.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
arch/arm64/boot/dts/freescale/Makefile
arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-lcdif-dsi.dts [new file with mode: 0644]

index fbd21c3..bd6c274 100644 (file)
@@ -20,7 +20,8 @@ dtb-$(CONFIG_ARCH_FSL_IMX8QXP) += fsl-imx8qxp-lpddr4-arm2.dtb \
                                  fsl-imx8qxp-lpddr4-arm2-wm8962.dtb
 dtb-$(CONFIG_ARCH_FSL_IMX8MQ) += fsl-imx8mq-evk.dtb \
                                 fsl-imx8mq-evk-od.dtb \
-                                fsl-imx8mq-evk-4k.dtb
+                                fsl-imx8mq-evk-4k.dtb \
+                                fsl-imx8mq-evk-lcdif-dsi.dtb
 
 always         := $(dtb-y)
 subdir-y       := $(dts-dirs)
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-lcdif-dsi.dts b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-lcdif-dsi.dts
new file mode 100644 (file)
index 0000000..0d89242
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+#include "fsl-imx8mq-evk.dts"
+
+&lcdif {
+       status = "okay";
+};
+
+&mipi_dsi {
+       status = "okay";
+};
+
+&dcss {
+       status = "disabled";
+};
+
+&hdmi {
+       status = "disabled";
+};