Commit bbe8a274407f7f0ed15758bb7d3cd119ecd9e6af
1 parent
f869ee6da4
Exists in
smarc_8mq_lf_v2020.04
and in
4 other branches
MLK-23964-14 imx8mq_evk: Enable HDMI driver and splash screen
Update DTS to add DCSS and HDMI nodes and enable HDMI splash screen on imx8mq evk Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 41cef3e27d6cde0d655141343808e8ae025b5144)
Showing 3 changed files with 54 additions and 0 deletions Side-by-side Diff
arch/arm/dts/imx8mq-evk.dts
... | ... | @@ -356,6 +356,42 @@ |
356 | 356 | status = "okay"; |
357 | 357 | }; |
358 | 358 | |
359 | +&dcss { | |
360 | + status = "okay"; | |
361 | + port@0 { | |
362 | + dcss_out: endpoint { | |
363 | + remote-endpoint = <&hdmi_in>; | |
364 | + }; | |
365 | + }; | |
366 | +}; | |
367 | + | |
368 | +&hdmi { | |
369 | + compatible = "fsl,imx8mq-hdmi"; | |
370 | + status = "okay"; | |
371 | + | |
372 | + display-timings { | |
373 | + native-mode = <&timing1>; | |
374 | + | |
375 | + timing1: timing1 { | |
376 | + clock-frequency = <74250000>; | |
377 | + hactive = <1280>; | |
378 | + vactive = <720>; | |
379 | + hfront-porch = <220>; | |
380 | + hback-porch = <110>; | |
381 | + hsync-len = <40>; | |
382 | + vback-porch = <5>; | |
383 | + vfront-porch = <20>; | |
384 | + vsync-len = <5>; | |
385 | + }; | |
386 | + }; | |
387 | + | |
388 | + port@0 { | |
389 | + hdmi_in: endpoint { | |
390 | + remote-endpoint = <&dcss_out>; | |
391 | + }; | |
392 | + }; | |
393 | +}; | |
394 | + | |
359 | 395 | &iomuxc { |
360 | 396 | pinctrl-names = "default"; |
361 | 397 |
configs/imx8mq_evk_defconfig
include/configs/imx8mq_evk.h
... | ... | @@ -83,6 +83,7 @@ |
83 | 83 | JAILHOUSE_ENV \ |
84 | 84 | "script=boot.scr\0" \ |
85 | 85 | "image=Image\0" \ |
86 | + "splashimage=0x50000000\0" \ | |
86 | 87 | "console=ttymxc0,115200\0" \ |
87 | 88 | "fdt_addr=0x43000000\0" \ |
88 | 89 | "fdt_high=0xffffffffffffffff\0" \ |
... | ... | @@ -222,6 +223,18 @@ |
222 | 223 | |
223 | 224 | #ifndef CONFIG_SPL_BUILD |
224 | 225 | #define CONFIG_DM_PMIC |
226 | +#endif | |
227 | + | |
228 | +#ifdef CONFIG_DM_VIDEO | |
229 | +#define CONFIG_VIDEO_LOGO | |
230 | +#define CONFIG_SPLASH_SCREEN | |
231 | +#define CONFIG_SPLASH_SCREEN_ALIGN | |
232 | +#define CONFIG_CMD_BMP | |
233 | +#define CONFIG_BMP_16BPP | |
234 | +#define CONFIG_BMP_24BPP | |
235 | +#define CONFIG_BMP_32BPP | |
236 | +#define CONFIG_VIDEO_BMP_RLE8 | |
237 | +#define CONFIG_VIDEO_BMP_LOGO | |
225 | 238 | #endif |
226 | 239 | |
227 | 240 | #endif |
-
mentioned in commit 03726b