arch: arm64: dts: 8dx: Add dts file for dsi panel use-case

Create the fsl-imx8dx-mek-dsi-rm67191.dts in order to add support for
the MIPI-DSI panel usecase with the Raydium RM67191 DSI panel.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
This commit is contained in:
Robert Chiras 2020-02-11 12:59:51 +02:00
parent b41e649927
commit 8d1f5c66d0
2 changed files with 64 additions and 0 deletions

View File

@ -97,6 +97,7 @@ dtb-$(CONFIG_ARCH_FSL_IMX8QXP) += fsl-imx8qxp-lpddr4-arm2.dtb \
fsl-imx8dx-mek-dsp.dtb \
fsl-imx8dx-mek-enet2-tja1100.dtb \
fsl-imx8dx-mek-ov5640.dtb \
fsl-imx8dx-mek-dsi-rm67191.dtb \
fsl-imx8dxp-lpddr4-arm2.dtb
dtb-$(CONFIG_ARCH_FSL_IMX8MQ) += fsl-imx8mq-ddr3l-arm2.dtb \
fsl-imx8mq-ddr4-arm2.dtb \

View File

@ -0,0 +1,63 @@
/*
* Copyright 2020 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-imx8dx-mek.dts"
&mipi_dsi_bridge1 {
status = "okay";
panel@0 {
compatible = "raydium,rm67191";
reg = <0>;
reset-gpio = <&pca9557_a 6 GPIO_ACTIVE_HIGH>;
dsi-lanes = <4>;
panel-width-mm = <68>;
panel-height-mm = <121>;
port {
panel1_in: endpoint {
remote-endpoint = <&mipi_bridge1_out>;
};
};
};
port@2 {
mipi_bridge1_out: endpoint {
remote-endpoint = <&panel1_in>;
};
};
};
&mipi_dsi_bridge2 {
status = "okay";
panel@0 {
compatible = "raydium,rm67191";
reg = <0>;
reset-gpio = <&pca9557_b 7 GPIO_ACTIVE_HIGH>;
dsi-lanes = <4>;
panel-width-mm = <68>;
panel-height-mm = <121>;
port {
panel2_in: endpoint {
remote-endpoint = <&mipi_bridge2_out>;
};
};
};
port@2 {
mipi_bridge2_out: endpoint {
remote-endpoint = <&panel2_in>;
};
};
};