diff options
| author | Peng Fan <[email protected]> | 2015-07-11 11:38:45 +0800 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2015-08-02 10:46:34 +0200 |
| commit | 8d7794615c7672b03b5140dfe2bac65daf7ce5eb (patch) | |
| tree | 85c7a81ea21bf3d4b904bfb3ba95d15d034e1ec0 /arch | |
| parent | ec0f9530b134b20c59d7ba8ed862e96a6d223f34 (diff) | |
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: Peng Fan <[email protected]>
Signed-off-by: Brown Oliver <[email protected]>
Signed-off-by: Ye.Li <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Acked-by: Stefano Babic <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/cpu/armv7/mx6/clock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c index cd4bfdd9aab..3e9447272df 100644 --- a/arch/arm/cpu/armv7/mx6/clock.c +++ b/arch/arm/cpu/armv7/mx6/clock.c @@ -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 /***************************************************/ |
