aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2008-03-18 11:24:28 +0200
committerTony Lindgren <tony@atomide.com>2008-04-14 10:29:39 -0700
commitb045d0809871eae4341e60a1db2b7d31703d8175 (patch)
tree30141029dbbedcbe27a95e4a5dcb7320a7c2df1d /include
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')
-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 ff0f94de2de..0baa79acc0b 100644
--- a/include/asm-arm/arch-omap/clock.h
+++ b/include/asm-arm/arch-omap/clock.h
@@ -16,7 +16,7 @@
struct module;
struct clk;
-#if defined(CONFIG_ARCH_OMAP2)
+#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)
struct clksel_rate {
u8 div;
@@ -35,6 +35,13 @@ struct dpll_data {
u32 div1_mask;
void __iomem *div2_reg;
u32 div2_mask;
+# if defined(CONFIG_ARCH_OMAP3)
+ void __iomem *control_reg;
+ u32 enable_mask;
+ u8 auto_recal_bit;
+ u8 recal_en_bit;
+ u8 recal_st_bit;
+# endif
};
#endif
@@ -56,7 +63,7 @@ struct clk {
void (*init)(struct clk *);
int (*enable)(struct clk *);
void (*disable)(struct clk *);
-#if defined(CONFIG_ARCH_OMAP2)
+#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)
u8 fixed_div;
void __iomem *clksel_reg;
u32 clksel_mask;