Commit 8ce867c1 authored by Jacky Bai's avatar Jacky Bai

MLK-21806 plat: imx8mm: add delay to make sure vpu power domain reset done

Add some delay to make sure the VPU related domain has been reset
successfully.
Signed-off-by: default avatarJacky Bai <ping.bai@nxp.com>
parent 45d3f217
......@@ -762,8 +762,11 @@ static void imx_gpc_pm_domain_enable(uint32_t domain_id, uint32_t on)
/* wait for power request done */
while (mmio_read_32(IMX_GPC_BASE + PU_PGC_UP_TRG) & pwr_domain->pwr_req);
if (domain_id == VPU_G1 || domain_id == VPU_G2 || domain_id == VPU_H1)
if (domain_id == VPU_G1 || domain_id == VPU_G2 || domain_id == VPU_H1) {
vpu_sft_reset_deassert(domain_id);
/* dealy for a while to make sure reset done */
udelay(100);
}
}
if (domain_id == GPUMIX) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment