LF-1232-1 arm64: dts: imx8qm-mek: Introduce JDI WUXGA LVDS1 panel include file
authorLiu Ying <victor.liu@nxp.com>
Thu, 16 Apr 2020 03:09:23 +0000 (11:09 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:22:22 +0000 (11:22 +0800)
This patch introduces JDI WUXGA LVDS1 panel dts include file,
so that it may be included in some dts files as needed.

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

index fa7e61a..9b83691 100644 (file)
@@ -1,55 +1,8 @@
 // SPDX-License-Identifier: GPL-2.0+
 
 /*
- * Copyright 2019 NXP
+ * Copyright 2019,2020 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>;
-                       };
-               };
-       };
-};
+#include "imx8qm-mek-jdi-wuxga-lvds1-panel.dtsi"
diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek-jdi-wuxga-lvds1-panel.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-mek-jdi-wuxga-lvds1-panel.dtsi
new file mode 100644 (file)
index 0000000..68e96d8
--- /dev/null
@@ -0,0 +1,53 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/*
+ * Copyright 2020 NXP
+ */
+
+/ {
+       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>;
+                       };
+               };
+       };
+};