Commit 8d779461 authored by Peng Fan's avatar Peng Fan Committed by Stefano Babic
Browse files

imx: mx6qp Enable PRG clock for IPU



The i.MX6DQP has a PRG module, need to enable its clock for using IPU.
Signed-off-by: default avatarPeng Fan <Peng.Fan@freescale.com>
Signed-off-by: default avatarBrown Oliver <B37094@freescale.com>
Signed-off-by: default avatarYe.Li <B37916@freescale.com>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarStefano Babic <sbabic@denx.de>
parent ec0f9530
......@@ -853,6 +853,11 @@ void enable_ipu_clock(void)
reg = readl(&mxc_ccm->CCGR3);
reg |= MXC_CCM_CCGR3_IPU1_IPU_MASK;
writel(reg, &mxc_ccm->CCGR3);
if (is_mx6dqp()) {
setbits_le32(&mxc_ccm->CCGR6, MXC_CCM_CCGR6_PRG_CLK0_MASK);
setbits_le32(&mxc_ccm->CCGR3, MXC_CCM_CCGR3_IPU2_IPU_MASK);
}
}
#endif
/***************************************************/
......
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