MLK-16698-3: arm64: dts: fsl-imx8qxp-lpddr4-arm2: Enable mipi-dsi with rm67191
authorRobert Chiras <robert.chiras@nxp.com>
Thu, 2 Nov 2017 12:41:31 +0000 (14:41 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:46:55 +0000 (15:46 -0500)
Enable the MIPI-DSI to RM67191 OLED display panel path on the MX8QXP
LPDDR4 board.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
arch/arm64/boot/dts/freescale/Makefile
arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-dsi-rm67191.dts [new file with mode: 0644]

index cbefb88..236dba5 100644 (file)
@@ -33,7 +33,8 @@ dtb-$(CONFIG_ARCH_FSL_IMX8QXP) += fsl-imx8qxp-lpddr4-arm2.dtb \
                                  fsl-imx8qxp-lpddr4-arm2-mlb.dtb \
                                  fsl-imx8qxp-lpddr4-arm2-mqs.dtb \
                                  fsl-imx8qxp-lpddr4-arm2-wm8962.dtb \
-                                 fsl-imx8qxp-lpddr4-arm2-dsi-adv7535.dtb
+                                 fsl-imx8qxp-lpddr4-arm2-dsi-adv7535.dtb \
+                                 fsl-imx8qxp-lpddr4-arm2-dsi-rm67191.dtb
 dtb-$(CONFIG_ARCH_FSL_IMX8MQ) += fsl-imx8mq-evk.dtb \
                                 fsl-imx8mq-evk-od.dtb \
                                 fsl-imx8mq-evk-4k.dtb \
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-dsi-rm67191.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-dsi-rm67191.dts
new file mode 100644 (file)
index 0000000..5d21933
--- /dev/null
@@ -0,0 +1,69 @@
+/*
+ * 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-imx8qxp-lpddr4-arm2.dts"
+
+&mipi_dsi_phy1 {
+       status = "okay";
+};
+
+&mipi_dsi1 {
+       status = "okay";
+
+       panel@0 {
+               compatible = "raydium,rm67191";
+               reg = <0>;
+               dsi-lanes = <4>;
+               panel-width-mm = <68>;
+               panel-height-mm = <121>;
+               port {
+                       panel1_in: endpoint {
+                               remote-endpoint = <&mipi1_out>;
+                       };
+               };
+       };
+
+       port@1 {
+               mipi1_out: endpoint {
+                       remote-endpoint = <&panel1_in>;
+               };
+       };
+};
+
+&mipi_dsi_phy2 {
+       status = "okay";
+};
+
+&mipi_dsi2 {
+       status = "okay";
+
+       panel@0 {
+               compatible = "raydium,rm67191";
+               reg = <0>;
+               dsi-lanes = <4>;
+               panel-width-mm = <68>;
+               panel-height-mm = <121>;
+               port {
+                       panel2_in: endpoint {
+                               remote-endpoint = <&mipi2_out>;
+                       };
+               };
+       };
+
+       port@1 {
+               mipi2_out: endpoint {
+                       remote-endpoint = <&panel2_in>;
+               };
+       };
+};