summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2020-05-09 22:51:51 -0700
committerYe Li <ye.li@nxp.com>2020-05-11 02:21:40 -0700
commite14979fc1798a933be643b4f52d2bfca5df1e552 (patch)
treec2911c3235f2d0860d50e4c66f89f7981cfdb343 /arch/arm
parentb2d1aac50cd91af4752f424991bbbdba9e1df82a (diff)
MLK-23964-21 imx8mp_evk: Enable video splash screen on LPDDR4 EVK
Update board codes and DTS files to add display relevant nodes and configurations. Support two video links with MIPI DSI: 1. MIPI DSI to HDMI convertor, this is default 2. RM67191 panel Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/imx8mp-evk-u-boot.dtsi12
-rw-r--r--arch/arm/dts/imx8mp-evk.dts35
-rw-r--r--arch/arm/dts/imx8mp.dtsi1
3 files changed, 46 insertions, 2 deletions
diff --git a/arch/arm/dts/imx8mp-evk-u-boot.dtsi b/arch/arm/dts/imx8mp-evk-u-boot.dtsi
index 7738c0c3d0..1e5aa03a73 100644
--- a/arch/arm/dts/imx8mp-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-evk-u-boot.dtsi
@@ -154,3 +154,15 @@
assigned-clocks = <&clk IMX8MP_CLK_QSPI>;
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_100M>;
};
+
+&lcdif1 {
+ /delete-property/ assigned-clocks;
+ /delete-property/ assigned-clock-parents;
+ /delete-property/ assigned-clock-rates;
+};
+
+&mipi_dsi {
+ /delete-property/ assigned-clocks;
+ /delete-property/ assigned-clock-parents;
+ /delete-property/ assigned-clock-rates;
+};
diff --git a/arch/arm/dts/imx8mp-evk.dts b/arch/arm/dts/imx8mp-evk.dts
index 3e0015f06c..05bee3ad81 100644
--- a/arch/arm/dts/imx8mp-evk.dts
+++ b/arch/arm/dts/imx8mp-evk.dts
@@ -59,6 +59,32 @@
startup-delay-us = <100>;
off-on-delay-us = <12000>;
};
+
+ dsi_host: dsi-host {
+ compatible = "samsung,sec-mipi-dsi";
+ status = "okay";
+ };
+
+ rm67191_panel {
+ compatible = "raydium,rm67191";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_mipi_dsi_en>;
+ reset-gpio = <&gpio1 8 GPIO_ACTIVE_LOW>;
+ dsi-lanes = <4>;
+ video-mode = <2>; /* 0: burst mode
+ * 1: non-burst mode with sync event
+ * 2: non-burst mode with sync pulse
+ */
+ panel-width-mm = <68>;
+ panel-height-mm = <121>;
+ status = "okay";
+
+ port {
+ rm67191_from_dsim: endpoint {
+ remote-endpoint = <&dsim_to_rm67191>;
+ };
+ };
+ };
};
&eqos {
@@ -246,7 +272,7 @@
adv_bridge: adv7535@3d {
compatible = "adi,adv7533";
reg = <0x3d>;
- adi,addr-cec = <0x3b>;
+ adi,addr-cec = <0x3c>;
adi,dsi-lanes = <4>;
status = "okay";
@@ -285,7 +311,12 @@
port@1 {
dsim_to_adv7535: endpoint {
remote-endpoint = <&adv7535_from_dsim>;
- attach-bridge;
+ };
+ };
+
+ port@2 {
+ dsim_to_rm67191: endpoint {
+ remote-endpoint = <&rm67191_from_dsim>;
};
};
};
diff --git a/arch/arm/dts/imx8mp.dtsi b/arch/arm/dts/imx8mp.dtsi
index d1f2415f75..e6da48f15a 100644
--- a/arch/arm/dts/imx8mp.dtsi
+++ b/arch/arm/dts/imx8mp.dtsi
@@ -42,6 +42,7 @@
usb0 = &usb_dwc3_0;
usb1 = &usb_dwc3_1;
spi0 = &flexspi;
+ video0 = &lcdif1;
};
cpus {