aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-omap/clock.h
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2008-03-18 05:24:28 -0400
committerTony Lindgren <tony@atomide.com>2008-04-14 13:29:39 -0400
commitb045d0809871eae4341e60a1db2b7d31703d8175 (patch)
tree30141029dbbedcbe27a95e4a5dcb7320a7c2df1d /include/asm-arm/arch-omap/clock.h
parentd83b079f0f5c6f5ef34976330b904509a53ff1ec (diff)
ARM: OMAP2: Add 34xx clocks
This patch defines 34xx clocks. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/asm-arm/arch-omap/clock.h')
-rw-r--r--include/asm-arm/arch-omap/clock.h11
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 @@
16struct module; 16struct module;
17struct clk; 17struct clk;
18 18
19#if defined(CONFIG_ARCH_OMAP2) 19#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)
20 20
21struct clksel_rate { 21struct 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;