diff options
Diffstat (limited to 'include/asm-arm/arch-omap/clock.h')
-rw-r--r-- | include/asm-arm/arch-omap/clock.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/asm-arm/arch-omap/clock.h b/include/asm-arm/arch-omap/clock.h index ff0f94de2de9..0baa79acc0b7 100644 --- a/include/asm-arm/arch-omap/clock.h +++ b/include/asm-arm/arch-omap/clock.h | |||
@@ -16,7 +16,7 @@ | |||
16 | struct module; | 16 | struct module; |
17 | struct clk; | 17 | struct clk; |
18 | 18 | ||
19 | #if defined(CONFIG_ARCH_OMAP2) | 19 | #if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) |
20 | 20 | ||
21 | struct clksel_rate { | 21 | struct clksel_rate { |
22 | u8 div; | 22 | u8 div; |
@@ -35,6 +35,13 @@ struct dpll_data { | |||
35 | u32 div1_mask; | 35 | u32 div1_mask; |
36 | void __iomem *div2_reg; | 36 | void __iomem *div2_reg; |
37 | u32 div2_mask; | 37 | u32 div2_mask; |
38 | # if defined(CONFIG_ARCH_OMAP3) | ||
39 | void __iomem *control_reg; | ||
40 | u32 enable_mask; | ||
41 | u8 auto_recal_bit; | ||
42 | u8 recal_en_bit; | ||
43 | u8 recal_st_bit; | ||
44 | # endif | ||
38 | }; | 45 | }; |
39 | 46 | ||
40 | #endif | 47 | #endif |
@@ -56,7 +63,7 @@ struct clk { | |||
56 | void (*init)(struct clk *); | 63 | void (*init)(struct clk *); |
57 | int (*enable)(struct clk *); | 64 | int (*enable)(struct clk *); |
58 | void (*disable)(struct clk *); | 65 | void (*disable)(struct clk *); |
59 | #if defined(CONFIG_ARCH_OMAP2) | 66 | #if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) |
60 | u8 fixed_div; | 67 | u8 fixed_div; |
61 | void __iomem *clksel_reg; | 68 | void __iomem *clksel_reg; |
62 | u32 clksel_mask; | 69 | u32 clksel_mask; |