]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/arch-omap/clock.h
ARM: OMAP2: Clock: New OMAP2/3 DPLL rate rounding algorithm
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-omap / clock.h
index 22daa5d64d35a5aac91f8604b843d32e150db7ac..4c7b3514f71af8b0573513d36df8a2c67a75092d 100644 (file)
@@ -33,6 +33,13 @@ struct dpll_data {
        void __iomem            *mult_div1_reg;
        u32                     mult_mask;
        u32                     div1_mask;
+       u16                     last_rounded_m;
+       u8                      last_rounded_n;
+       unsigned long           last_rounded_rate;
+       unsigned int            rate_tolerance;
+       u16                     max_multiplier;
+       u8                      max_divider;
+       u32                     max_tolerance;
 #  if defined(CONFIG_ARCH_OMAP3)
        u8                      modes;
        void __iomem            *control_reg;
@@ -71,7 +78,7 @@ struct clk {
        void __iomem            *clksel_reg;
        u32                     clksel_mask;
        const struct clksel     *clksel;
-       const struct dpll_data  *dpll_data;
+       struct dpll_data        *dpll_data;
 #else
        __u8                    rate_offset;
        __u8                    src_offset;