summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2020-05-09 06:55:37 -0700
committerYe Li <ye.li@nxp.com>2020-05-11 02:19:25 -0700
commit05498bdd53c77c5d6ead68da82cd34afde0ba17a (patch)
tree927b05d82d41df912524d59c01a95f43da2b28f7 /board/freescale
parent161c5785d2b8b3046bd673037d070fdbda61fb7c (diff)
MLK-23964-17 imx8mm_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/imx8mm_evk/imx8mm_evk.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/freescale/imx8mm_evk/imx8mm_evk.c b/board/freescale/imx8mm_evk/imx8mm_evk.c
index ea5d54dc43..28ef63634c 100644
--- a/board/freescale/imx8mm_evk/imx8mm_evk.c
+++ b/board/freescale/imx8mm_evk/imx8mm_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;
}