MLK-11395-7 ARM: dts: imx7d-12x12-lpddr3-arm2: create an new dts for mipi dsi
authorFancy Fang <chen.fang@freescale.com>
Fri, 21 Aug 2015 08:08:31 +0000 (16:08 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:06 +0000 (14:48 -0500)
Since mipi display and normal lcd display cannot exsit
together, an new dts should be created for the mipi
display.

Signed-off-by: Fancy Fang <chen.fang@freescale.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-mipi_dsi.dts [new file with mode: 0644]

index 48a93f8..41a4fde 100644 (file)
@@ -441,7 +441,8 @@ dtb-$(CONFIG_SOC_IMX7D) += \
        imx7d-12x12-lpddr3-arm2.dtb \
        imx7d-12x12-lpddr3-arm2-m4.dtb \
        imx7d-12x12-lpddr3-arm2-ecspi.dtb \
-       imx7d-12x12-lpddr3-arm2-enet2.dtb
+       imx7d-12x12-lpddr3-arm2-enet2.dtb \
+       imx7d-12x12-lpddr3-arm2-mipi_dsi.dtb
 dtb-$(CONFIG_SOC_LS1021A) += \
        ls1021a-qds.dtb \
        ls1021a-twr.dtb
diff --git a/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-mipi_dsi.dts b/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-mipi_dsi.dts
new file mode 100644 (file)
index 0000000..db38d41
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2015 Freescale Semiconductor, Inc.
+ *
+ * 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 "imx7d-12x12-lpddr3-arm2.dts"
+
+/ {
+       mipi_dsi_reset: mipi-dsi-reset {
+               compatible = "gpio-reset";
+               reset-gpios = <&gpio4 17 GPIO_ACTIVE_LOW>;
+               reset-delay-us = <50>;
+               #reset-cells = <0>;
+       };
+};
+
+&lcdif {
+       disp-dev = "mipi_dsi_samsung";
+};
+
+&mipi_dsi {
+       lcd_panel = "TRULY-WVGA";
+       disp-power-on-supply = <&reg_mipi_dsi_pwr_on>;
+       resets = <&mipi_dsi_reset>;
+       status = "okay";
+};