diff options
author | Ye Li <ye.li@nxp.com> | 2020-05-08 19:23:11 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2020-05-11 03:22:44 -0700 |
commit | 5364f57db549f1daff7d2783b35d740e29cc5c24 (patch) | |
tree | 23f16d09600bed30790753e3b8d3b5d53a03feeb | |
parent | cd27757f955003f5db536f2baaddced32b759c47 (diff) |
MLK-23964-11 imx8qxp_mek: Enable the splash screen and video drivers
Update the DTS to add video relevants nodes and alias.
Enable the configurations iMX8 video, bridge and display drivers to
show splash screen
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 97da906e0b965ccbcfa2edcbd4cccffce948b0d3)
-rw-r--r-- | arch/arm/dts/fsl-imx8dx.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/dts/fsl-imx8qxp-mek.dts | 56 | ||||
-rw-r--r-- | configs/imx8qxp_mek_defconfig | 6 | ||||
-rw-r--r-- | configs/imx8qxp_mek_fspi_defconfig | 6 | ||||
-rw-r--r-- | include/configs/imx8qxp_mek.h | 13 |
5 files changed, 83 insertions, 4 deletions
diff --git a/arch/arm/dts/fsl-imx8dx.dtsi b/arch/arm/dts/fsl-imx8dx.dtsi index 0a11785fc8..6c3244a710 100644 --- a/arch/arm/dts/fsl-imx8dx.dtsi +++ b/arch/arm/dts/fsl-imx8dx.dtsi @@ -23,15 +23,15 @@ aliases { csi0 = &mipi_csi_0; - dpu0 = &dpu1; + video0 = &dpu1; ethernet0 = &fec1; ethernet1 = &fec2; dsiphy0 = &mipi_dsi_phy1; dsiphy1 = &mipi_dsi_phy2; mipidsi0 = &mipi_dsi1; mipidsi1 = &mipi_dsi2; - ldb0 = &ldb1; - ldb1 = &ldb2; + display0 = &ldb1; + display1 = &ldb2; isi0 = &isi_0; isi1 = &isi_1; isi2 = &isi_2; diff --git a/arch/arm/dts/fsl-imx8qxp-mek.dts b/arch/arm/dts/fsl-imx8qxp-mek.dts index d737cbc3c5..b66b336520 100644 --- a/arch/arm/dts/fsl-imx8qxp-mek.dts +++ b/arch/arm/dts/fsl-imx8qxp-mek.dts @@ -307,6 +307,20 @@ pinctrl-0 = <&pinctrl_i2c0_mipi_lvds0>; clock-frequency = <100000>; status = "okay"; + + lvds-to-hdmi-bridge@4c { + compatible = "ite,it6263"; + reg = <0x4c>; + reset-gpios = <&pca9557_a 6 GPIO_ACTIVE_LOW>; + + port { + it6263_0_in: endpoint { + clock-lanes = <4>; + data-lanes = <0 1 2 3>; + remote-endpoint = <&lvds0_out>; + }; + }; + }; }; &i2c0_mipi_lvds1 { @@ -401,3 +415,45 @@ &usbotg3 { status = "okay"; }; + +&dpu1 { + status = "okay"; +}; + +&ldb1_phy { + status = "okay"; +}; + +&ldb1 { + status = "okay"; + + lvds-channel@0 { + fsl,data-mapping = "jeida"; + fsl,data-width = <24>; + status = "okay"; + + display-timings { + native-mode = <&timing0>; + + timing0: timing0 { + clock-frequency = <74250000>; + hactive = <1280>; + vactive = <720>; + hfront-porch = <220>; + hback-porch = <110>; + hsync-len = <40>; + vback-porch = <5>; + vfront-porch = <20>; + vsync-len = <5>; + }; + }; + + port@1 { + reg = <1>; + + lvds0_out: endpoint { + remote-endpoint = <&it6263_0_in>; + }; + }; + }; +}; diff --git a/configs/imx8qxp_mek_defconfig b/configs/imx8qxp_mek_defconfig index 314a58c811..53fd06cf0f 100644 --- a/configs/imx8qxp_mek_defconfig +++ b/configs/imx8qxp_mek_defconfig @@ -167,3 +167,9 @@ CONFIG_USB_PORT_AUTO=y CONFIG_SNVS_SEC_SC=y CONFIG_OF_LIBFDT_OVERLAY=y + +CONFIG_VIDEO_IMXDPUV1=y +CONFIG_DM_VIDEO=y +CONFIG_VIDEO_IMX8_LVDS=y +CONFIG_VIDEO_IT6263_BRIDGE=y +CONFIG_SYS_WHITE_ON_BLACK=y
\ No newline at end of file diff --git a/configs/imx8qxp_mek_fspi_defconfig b/configs/imx8qxp_mek_fspi_defconfig index 1b4297d9d4..37d1bce9eb 100644 --- a/configs/imx8qxp_mek_fspi_defconfig +++ b/configs/imx8qxp_mek_fspi_defconfig @@ -169,3 +169,9 @@ CONFIG_USB_PORT_AUTO=y CONFIG_SNVS_SEC_SC=y CONFIG_OF_LIBFDT_OVERLAY=y + +CONFIG_VIDEO_IMXDPUV1=y +CONFIG_DM_VIDEO=y +CONFIG_VIDEO_IMX8_LVDS=y +CONFIG_VIDEO_IT6263_BRIDGE=y +CONFIG_SYS_WHITE_ON_BLACK=y
\ No newline at end of file diff --git a/include/configs/imx8qxp_mek.h b/include/configs/imx8qxp_mek.h index 3197a4b03d..5839d1e68d 100644 --- a/include/configs/imx8qxp_mek.h +++ b/include/configs/imx8qxp_mek.h @@ -135,7 +135,7 @@ AHAB_ENV \ "script=boot.scr\0" \ "image=Image\0" \ - "panel=NULL\0" \ + "splashimage=0x9e000000\0" \ "console=ttyLP0\0" \ "fdt_addr=0x83000000\0" \ "fdt_high=0xffffffffffffffff\0" \ @@ -335,5 +335,16 @@ #define CONFIG_FEC_XCV_TYPE RGMII #define FEC_QUIRK_ENET_MAC +#ifdef CONFIG_DM_VIDEO +#define CONFIG_VIDEO_LOGO +#define CONFIG_SPLASH_SCREEN +#define CONFIG_SPLASH_SCREEN_ALIGN +#define CONFIG_CMD_BMP +#define CONFIG_BMP_16BPP +#define CONFIG_BMP_24BPP +#define CONFIG_BMP_32BPP +#define CONFIG_VIDEO_BMP_RLE8 +#define CONFIG_VIDEO_BMP_LOGO +#endif #endif /* __IMX8QXP_MEK_H */ |