arm64: dts: imx8qm-mek: Add JDI WUXGA LVDS panel support on LVDS1
authorLiu Ying <victor.liu@nxp.com>
Thu, 14 Nov 2019 08:40:34 +0000 (16:40 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:21:07 +0000 (11:21 +0800)
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/imx8qm-mek-jdi-wuxga-lvds1-panel.dts [new file with mode: 0644]

index 338eeb3..5e34cda 100644 (file)
@@ -55,6 +55,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mq-zii-ultra-zest.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8qm-mek.dtb imx8qm-mek-ov5640.dtb \
                          imx8qm-mek-enet2-tja1100.dtb imx8qm-mek-rpmsg.dtb \
                          imx8qm-mek-hdmi.dtb imx8qm-mek-dsp.dtb \
+                         imx8qm-mek-jdi-wuxga-lvds1-panel.dtb \
                          imx8qm-lpddr4-val.dtb imx8qm-lpddr4-val-mqs.dtb \
                          imx8qm-lpddr4-val-spdif.dtb imx8qm-mek-ca53.dtb \
                          imx8qm-mek-ca72.dtb imx8qm-lpddr4-val-ca53.dtb \
diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek-jdi-wuxga-lvds1-panel.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek-jdi-wuxga-lvds1-panel.dts
new file mode 100644 (file)
index 0000000..fa7e61a
--- /dev/null
@@ -0,0 +1,55 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/*
+ * Copyright 2019 NXP
+ */
+
+#include "imx8qm-mek-rpmsg.dts"
+
+/ {
+       lvds1_panel {
+               compatible = "jdi,tx26d202vm0bwa";
+               backlight = <&lvds_backlight1>;
+
+               port {
+                       panel_lvds1_in: endpoint {
+                               remote-endpoint = <&lvds1_out>;
+                       };
+               };
+       };
+};
+
+&ldb1_phy {
+       status = "disabled";
+};
+
+&ldb1 {
+       status = "disabled";
+};
+
+&i2c1_lvds0 {
+       lvds-to-hdmi-bridge@4c {
+               status = "disabled";
+       };
+};
+
+/delete-node/ &it6263_1_in;
+
+&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>;
+                       };
+               };
+       };
+};