diff options
author | Ye Li <ye.li@nxp.com> | 2020-05-09 10:50:28 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2020-05-11 02:20:02 -0700 |
commit | 6901ffb66e516a3e52d2120522dc1be18de5bafa (patch) | |
tree | ff63ece3f6ac2059835156e2dd2c911e0fc36fdd /board/freescale | |
parent | 05498bdd53c77c5d6ead68da82cd34afde0ba17a (diff) |
MLK-23964-18 imx8mn_evk: Enable video splash screen on DDR4 and 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 'board/freescale')
-rw-r--r-- | board/freescale/imx8mn_evk/imx8mn_evk.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/freescale/imx8mn_evk/imx8mn_evk.c b/board/freescale/imx8mn_evk/imx8mn_evk.c index fa8da3a780..87fee70cee 100644 --- a/board/freescale/imx8mn_evk/imx8mn_evk.c +++ b/board/freescale/imx8mn_evk/imx8mn_evk.c @@ -287,6 +287,11 @@ int board_ehci_usb_phy_mode(struct udevice *dev) #endif +#define FSL_SIP_GPC 0xC2000000 +#define FSL_SIP_CONFIG_GPC_PM_DOMAIN 0x3 +#define DISPMIX 9 +#define MIPI 10 + int board_init(void) { #ifdef CONFIG_USB_TCPC @@ -296,6 +301,9 @@ int board_init(void) if (IS_ENABLED(CONFIG_FEC_MXC)) setup_fec(); + call_imx_sip(FSL_SIP_GPC, FSL_SIP_CONFIG_GPC_PM_DOMAIN, DISPMIX, true, 0); + call_imx_sip(FSL_SIP_GPC, FSL_SIP_CONFIG_GPC_PM_DOMAIN, MIPI, true, 0); + return 0; } |