MLK-16973-10 arm64: dts: fsl-imx8qm-mek: Add JDI WUXGA LVDS panel support on LVDS1
authorLiu Ying <victor.liu@nxp.com>
Fri, 24 Nov 2017 02:45:06 +0000 (10:45 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:55:44 +0000 (15:55 -0500)
This patch adds JDI WUXGA LVDS panel(on LVDS1) support
for the i.MX8QM MEK platform.
Note that the i.MX8QM MEK board needs a hardware rework
to add a 0ohm resistor for R211 to make the PWM backlight
work for the panel.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
arch/arm64/boot/dts/freescale/Makefile
arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-jdi-wuxga-lvds1-panel.dts [new file with mode: 0644]

index 27b09b6..9096e73 100644 (file)
@@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_FSL_IMX8QM) += fsl-imx8qm-lpddr4-arm2.dtb \
                                 fsl-imx8qm-mek_ca53.dtb \
                                 fsl-imx8qm-mek_ca72.dtb \
                                 fsl-imx8qm-mek-it6263.dtb \
+                                fsl-imx8qm-mek-jdi-wuxga-lvds1-panel.dtb \
                                 fsl-imx8qm-lpddr4-arm2-it6263.dtb \
                                 fsl-imx8qm-lpddr4-arm2-it6263-dual-channel.dtb \
                                 fsl-imx8qm-lpddr4-arm2-jdi-wuxga-lvds1-panel.dtb \
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-jdi-wuxga-lvds1-panel.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-jdi-wuxga-lvds1-panel.dts
new file mode 100644 (file)
index 0000000..762c400
--- /dev/null
@@ -0,0 +1,51 @@
+/*
+ * 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-imx8qm-mek.dts"
+
+/ {
+       lvds1_panel {
+               compatible = "jdi,tx26d202vm0bwa";
+               backlight = <&lvds_backlight1>;
+
+               port {
+                       panel_lvds1_in: endpoint {
+                               remote-endpoint = <&lvds1_out>;
+                       };
+               };
+       };
+};
+
+&ldb2_phy {
+       status = "okay";
+};
+
+&ldb2 {
+       status = "okay";
+       fsl,dual-channel;
+
+       lvds-channel@0 {
+               fsl,data-mapping = "spwg";
+               fsl,data-width = <24>;
+               status = "okay";
+
+               port@1 {
+                       reg = <1>;
+
+                       lvds1_out: endpoint {
+                               remote-endpoint = <&panel_lvds1_in>;
+                       };
+               };
+       };
+};