diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-29 22:56:17 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-11-08 14:33:08 -0500 |
commit | b6ffa05091978c68e94d2802200f2aaa06a598d9 (patch) | |
tree | 4e2b9cc71015ba1103efe7ded485294a3aab19e7 /arch/arm/mach-omap2/cm-regbits-24xx.h | |
parent | 187e3e06e8d7050a77c3208f54edff1e1bfae31d (diff) |
ARM: OMAP2xxx: APLL/CM: convert to use omap2_cm_wait_module_ready()
Convert the OMAP2xxx APLL code to use omap2_cm_wait_module_ready(),
and move the low-level CM register manipulation functions to
mach-omap2/cm2xxx.c. The objectives here are to remove the dependency
on the deprecated omap2_cm_wait_idlest() function in
mach-omap2/prcm.c, so that code can be removed later; and move
low-level register accesses to the CM IP block to the CM code, which
will soon be moved into drivers/.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Vaibhav Hiremath <hvaibhav@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm-regbits-24xx.h')
-rw-r--r-- | arch/arm/mach-omap2/cm-regbits-24xx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/cm-regbits-24xx.h b/arch/arm/mach-omap2/cm-regbits-24xx.h index 686290437568..11eaf16880c4 100644 --- a/arch/arm/mach-omap2/cm-regbits-24xx.h +++ b/arch/arm/mach-omap2/cm-regbits-24xx.h | |||
@@ -333,7 +333,9 @@ | |||
333 | #define OMAP24XX_EN_DPLL_MASK (0x3 << 0) | 333 | #define OMAP24XX_EN_DPLL_MASK (0x3 << 0) |
334 | 334 | ||
335 | /* CM_IDLEST_CKGEN */ | 335 | /* CM_IDLEST_CKGEN */ |
336 | #define OMAP24XX_ST_54M_APLL_SHIFT 9 | ||
336 | #define OMAP24XX_ST_54M_APLL_MASK (1 << 9) | 337 | #define OMAP24XX_ST_54M_APLL_MASK (1 << 9) |
338 | #define OMAP24XX_ST_96M_APLL_SHIFT 8 | ||
337 | #define OMAP24XX_ST_96M_APLL_MASK (1 << 8) | 339 | #define OMAP24XX_ST_96M_APLL_MASK (1 << 8) |
338 | #define OMAP24XX_ST_54M_CLK_MASK (1 << 6) | 340 | #define OMAP24XX_ST_54M_CLK_MASK (1 << 6) |
339 | #define OMAP24XX_ST_12M_CLK_MASK (1 << 5) | 341 | #define OMAP24XX_ST_12M_CLK_MASK (1 << 5) |