]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/plat-omap/include/mach/clock.h
[ARM] OMAP2: Implement CPUfreq frequency table based on PRCM table
[linux-2.6-omap-h63xx.git] / arch / arm / plat-omap / include / mach / clock.h
index 3895ba7297925786b2f87e43a4b142d875286e29..681c65105e2558c77a172a188d671ce3794ea08e 100644 (file)
@@ -53,6 +53,7 @@ struct dpll_data {
        void __iomem            *idlest_reg;
        u32                     enable_mask;
        u32                     autoidle_mask;
+       u32                     freqsel_mask;
        u8                      auto_recal_bit;
        u8                      recal_en_bit;
        u8                      recal_st_bit;
@@ -112,14 +113,17 @@ struct clk_functions {
 
 extern unsigned int mpurate;
 
-extern int clk_init(struct clk_functions * custom_clocks);
+extern int clk_init(struct clk_functions *custom_clocks);
 extern int clk_register(struct clk *clk);
 extern void clk_unregister(struct clk *clk);
 extern void propagate_rate(struct clk *clk);
 extern void recalculate_root_clocks(void);
-extern void followparent_recalc(struct clk * clk);
+extern void followparent_recalc(struct clk *clk);
 extern int clk_get_usecount(struct clk *clk);
 extern void clk_enable_init_clocks(void);
+#ifdef CONFIG_CPU_FREQ
+extern void clk_init_cpufreq_table(struct cpufreq_frequency_table **table);
+#endif
 
 extern const struct clkops clkops_null;