diff options
author | Paul Walmsley <paul@pwsan.com> | 2008-07-03 05:24:45 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-07-03 05:24:45 -0400 |
commit | 542313cc98e72d026d2df86f515699dfaface460 (patch) | |
tree | 94bc87268a67cd1fff2d63cf48761f137384607d /include | |
parent | 097c584cd48844d9ef8402bdc6ab49e7e2135f31 (diff) |
ARM: OMAP2: Clock: Add OMAP3 DPLL autoidle functions
This patch adds support for DPLL autoidle control to the OMAP3 clock
framework. These functions will be used by the noncore DPLL enable
and disable code - this is because, according to the CDP code, the
DPLL autoidle status must be saved and restored across DPLL
lock/bypass/off transitions.
N.B.: the CORE DPLL (DPLL3) has three autoidle mode options, rather
than just two. This code currently does not support the third option,
low-power bypass autoidle.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-omap/clock.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap/clock.h b/include/asm-arm/arch-omap/clock.h index 8490fbba39d1..22daa5d64d35 100644 --- a/include/asm-arm/arch-omap/clock.h +++ b/include/asm-arm/arch-omap/clock.h | |||
@@ -34,11 +34,16 @@ struct dpll_data { | |||
34 | u32 mult_mask; | 34 | u32 mult_mask; |
35 | u32 div1_mask; | 35 | u32 div1_mask; |
36 | # if defined(CONFIG_ARCH_OMAP3) | 36 | # if defined(CONFIG_ARCH_OMAP3) |
37 | u8 modes; | ||
37 | void __iomem *control_reg; | 38 | void __iomem *control_reg; |
38 | u32 enable_mask; | 39 | u32 enable_mask; |
39 | u8 auto_recal_bit; | 40 | u8 auto_recal_bit; |
40 | u8 recal_en_bit; | 41 | u8 recal_en_bit; |
41 | u8 recal_st_bit; | 42 | u8 recal_st_bit; |
43 | void __iomem *autoidle_reg; | ||
44 | u32 autoidle_mask; | ||
45 | void __iomem *idlest_reg; | ||
46 | u8 idlest_bit; | ||
42 | # endif | 47 | # endif |
43 | }; | 48 | }; |
44 | 49 | ||