diff options
author | Robert Chiras <robert.chiras@nxp.com> | 2017-11-02 14:41:31 +0200 |
---|---|---|
committer | Robert Chiras <robert.chiras@nxp.com> | 2017-11-13 16:21:13 +0200 |
commit | 99099d3f23740ced861d321d97bb912a7b84d205 (patch) | |
tree | 21e339dbcc675e7482f494c1c19bc04d200407e4 | |
parent | 559f0580db3be4bf5cd7672e9b079226d90ca754 (diff) |
MLK-16698-3: arm64: dts: fsl-imx8qxp-lpddr4-arm2: Enable mipi-dsi with rm67191
Enable the MIPI-DSI to RM67191 OLED display panel path on the MX8QXP
LPDDR4 board.
Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
-rw-r--r-- | arch/arm64/boot/dts/freescale/Makefile | 3 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-dsi-rm67191.dts | 69 |
2 files changed, 71 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 1ec1a943e931..6ed7d568a677 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -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 index 000000000000..5d2193343c25 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-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-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>; + }; + }; +}; |