summaryrefslogtreecommitdiff
path: root/board/freescale
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 /board/freescale
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 'board/freescale')
-rw-r--r--board/freescale/imx8mp_evk/imx8mp_evk.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/imx8mp_evk/imx8mp_evk.c b/board/freescale/imx8mp_evk/imx8mp_evk.c
index 5f35cf3cff..a15740e2dc 100644
--- a/board/freescale/imx8mp_evk/imx8mp_evk.c
+++ b/board/freescale/imx8mp_evk/imx8mp_evk.c
@@ -464,6 +464,11 @@ int board_typec_get_mode(int index)
#endif
#endif
+#define FSL_SIP_GPC 0xC2000000
+#define FSL_SIP_CONFIG_GPC_PM_DOMAIN 0x3
+#define DISPMIX 13
+#define MIPI 15
+
int board_init(void)
{
#ifdef CONFIG_USB_TCPC
@@ -486,6 +491,11 @@ int board_init(void)
#if defined(CONFIG_USB_DWC3) || defined(CONFIG_USB_XHCI_IMX8M)
init_usb_clk();
#endif
+
+ /* enable the dispmix & mipi phy power domain */
+ 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;
}