summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Brown <oliver.brown@nxp.com>2017-10-27 14:30:46 -0500
committerRobert Chiras <robert.chiras@nxp.com>2017-11-13 16:21:13 +0200
commit6fa6b48e24adfe5e2bb9a8fbfba86a62aac02fe9 (patch)
tree3cb6e462a6dbe2fa81ebf85f9703a9b7ce272f9c
parent99099d3f23740ced861d321d97bb912a7b84d205 (diff)
MLK-16698-4: arm64: dts: fsl-imx8qxp-mek: Enable mipi-dsi with rm67191
Enable the MIPI-DSI to RM67191 OLED display panel path on the MX8QXP MEK board. Signed-off-by: Oliver Brown <oliver.brown@nxp.com> Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
-rw-r--r--arch/arm64/boot/dts/freescale/Makefile1
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek-dsi-rm67191.dts69
2 files changed, 70 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index 6ed7d568a677..dc94b79568b5 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -25,6 +25,7 @@ dtb-$(CONFIG_ARCH_FSL_IMX8QXP) += fsl-imx8qxp-lpddr4-arm2.dtb \
fsl-imx8qxp-mek-lvds1-it6263.dtb \
fsl-imx8qxp-mek-lvds0-lvds1-it6263.dtb \
fsl-imx8qxp-mek-dsi-adv7535.dtb \
+ fsl-imx8qxp-mek-dsi-rm67191.dtb \
fsl-imx8qxp-lpddr4-arm2-enet2.dtb \
fsl-imx8qxp-lpddr4-arm2-gpmi-nand.dtb \
fsl-imx8qxp-lpddr4-arm2-it6263.dtb \
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek-dsi-rm67191.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek-dsi-rm67191.dts
new file mode 100644
index 000000000000..052a4204ed7c
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek-dsi-rm67191.dts
@@ -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-mek.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>;
+ };
+ };
+};