clock.h (574c0116b910c7d47d7ead4f1dda21117c38723d) clock.h (c06bfbe75ef52ff548bffa3d89587aaaa92893bf)
1/*
2 * linux/arch/arm/mach-omap2/clock.h
3 *
4 * Copyright (C) 2005-2009 Texas Instruments, Inc.
5 * Copyright (C) 2004-2011 Nokia Corporation
6 *
7 * Contacts:
8 * Richard Woodruff <r-woodruff2@ti.com>

--- 190 unchanged lines hidden (view full) ---

199
200extern u16 cpu_mask;
201
202extern const struct clkops clkops_omap2_dflt_wait;
203extern const struct clkops clkops_omap2_dflt;
204
205extern struct clk_functions omap2_clk_functions;
206
1/*
2 * linux/arch/arm/mach-omap2/clock.h
3 *
4 * Copyright (C) 2005-2009 Texas Instruments, Inc.
5 * Copyright (C) 2004-2011 Nokia Corporation
6 *
7 * Contacts:
8 * Richard Woodruff <r-woodruff2@ti.com>

--- 190 unchanged lines hidden (view full) ---

199
200extern u16 cpu_mask;
201
202extern const struct clkops clkops_omap2_dflt_wait;
203extern const struct clkops clkops_omap2_dflt;
204
205extern struct clk_functions omap2_clk_functions;
206
207extern const struct clksel_rate gpt_32k_rates[];
208extern const struct clksel_rate gpt_sys_rates[];
209extern const struct clksel_rate gfx_l3_rates[];
210extern const struct clksel_rate dsp_ick_rates[];
211
212extern const struct clk_hw_omap_ops clkhwops_wait;
213extern const struct clk_hw_omap_ops clkhwops_omap3430es2_ssi_wait;
214extern const struct clk_hw_omap_ops clkhwops_omap3430es2_dss_usbhost_wait;
215extern const struct clk_hw_omap_ops clkhwops_omap3430es2_hsotgusb_wait;
216extern const struct clk_hw_omap_ops clkhwops_am35xx_ipss_module_wait;
217extern const struct clk_hw_omap_ops clkhwops_apll54;
218extern const struct clk_hw_omap_ops clkhwops_apll96;
219
207extern const struct clk_hw_omap_ops clkhwops_wait;
208extern const struct clk_hw_omap_ops clkhwops_omap3430es2_ssi_wait;
209extern const struct clk_hw_omap_ops clkhwops_omap3430es2_dss_usbhost_wait;
210extern const struct clk_hw_omap_ops clkhwops_omap3430es2_hsotgusb_wait;
211extern const struct clk_hw_omap_ops clkhwops_am35xx_ipss_module_wait;
212extern const struct clk_hw_omap_ops clkhwops_apll54;
213extern const struct clk_hw_omap_ops clkhwops_apll96;
214
220/* clksel_rate blocks shared between OMAP44xx and AM33xx */
221extern const struct clksel_rate div_1_0_rates[];
222extern const struct clksel_rate div3_1to4_rates[];
223extern const struct clksel_rate div_1_1_rates[];
224extern const struct clksel_rate div_1_2_rates[];
225extern const struct clksel_rate div_1_3_rates[];
226extern const struct clksel_rate div_1_4_rates[];
227extern const struct clksel_rate div31_1to31_rates[];
228
229extern int omap2_clkops_enable_clkdm(struct clk_hw *hw);
230extern void omap2_clkops_disable_clkdm(struct clk_hw *hw);
231
232struct regmap;
233
234int __init omap2_clk_provider_init(struct device_node *np, int index,
235 struct regmap *syscon, void __iomem *mem);
236void __init omap2_clk_legacy_provider_init(int index, void __iomem *mem);
237
238void __init ti_clk_init_features(void);
239#endif
215extern int omap2_clkops_enable_clkdm(struct clk_hw *hw);
216extern void omap2_clkops_disable_clkdm(struct clk_hw *hw);
217
218struct regmap;
219
220int __init omap2_clk_provider_init(struct device_node *np, int index,
221 struct regmap *syscon, void __iomem *mem);
222void __init omap2_clk_legacy_provider_init(int index, void __iomem *mem);
223
224void __init ti_clk_init_features(void);
225#endif