aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clock.h
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2011-02-25 17:39:28 -0500
committerPaul Walmsley <paul@pwsan.com>2011-03-07 22:02:30 -0500
commit530e544fdadb934470c5c2b0e8d60c3d5386c161 (patch)
treeec06e217f38300674ee2171702034cf6dfe1d46a /arch/arm/mach-omap2/clock.h
parentcc1d230cfbc1622be4bf16568f468054be8c5d2e (diff)
OMAP2+: clock: add interface clock type code with autoidle support
Add interface clock type code with autoidle enable/disable support. The clkops structures created in this file will be used for all OMAP2/3 interface clocks with autoidle support. They will enable the clock framework to control interface clock autoidle directly. Signed-off-by: Paul Walmsley <paul@pwsan.com> Tested-by: Rajendra Nayak <rnayak@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock.h')
-rw-r--r--arch/arm/mach-omap2/clock.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h
index 9972d892a4af..5008f14448ef 100644
--- a/arch/arm/mach-omap2/clock.h
+++ b/arch/arm/mach-omap2/clock.h
@@ -2,7 +2,7 @@
2 * linux/arch/arm/mach-omap2/clock.h 2 * linux/arch/arm/mach-omap2/clock.h
3 * 3 *
4 * Copyright (C) 2005-2009 Texas Instruments, Inc. 4 * Copyright (C) 2005-2009 Texas Instruments, Inc.
5 * Copyright (C) 2004-2009 Nokia Corporation 5 * Copyright (C) 2004-2011 Nokia Corporation
6 * 6 *
7 * Contacts: 7 * Contacts:
8 * Richard Woodruff <r-woodruff2@ti.com> 8 * Richard Woodruff <r-woodruff2@ti.com>
@@ -86,6 +86,10 @@ long omap2_clksel_round_rate(struct clk *clk, unsigned long target_rate);
86int omap2_clksel_set_rate(struct clk *clk, unsigned long rate); 86int omap2_clksel_set_rate(struct clk *clk, unsigned long rate);
87int omap2_clksel_set_parent(struct clk *clk, struct clk *new_parent); 87int omap2_clksel_set_parent(struct clk *clk, struct clk *new_parent);
88 88
89/* clkt_iclk.c public functions */
90extern void omap2_clkt_iclk_allow_idle(struct clk *clk);
91extern void omap2_clkt_iclk_deny_idle(struct clk *clk);
92
89u32 omap2_get_dpll_rate(struct clk *clk); 93u32 omap2_get_dpll_rate(struct clk *clk);
90void omap2_init_dpll_parent(struct clk *clk); 94void omap2_init_dpll_parent(struct clk *clk);
91 95
@@ -148,6 +152,9 @@ extern void omap2_clk_exit_cpufreq_table(struct cpufreq_frequency_table **table)
148#define omap2_clk_exit_cpufreq_table 0 152#define omap2_clk_exit_cpufreq_table 0
149#endif 153#endif
150 154
155extern const struct clkops clkops_omap2_iclk_dflt_wait;
156extern const struct clkops clkops_omap2_iclk_dflt;
157extern const struct clkops clkops_omap2_iclk_idle_only;
151extern const struct clkops clkops_omap2xxx_dpll_ops; 158extern const struct clkops clkops_omap2xxx_dpll_ops;
152extern const struct clkops clkops_omap3_noncore_dpll_ops; 159extern const struct clkops clkops_omap3_noncore_dpll_ops;
153extern const struct clkops clkops_omap3_core_dpll_ops; 160extern const struct clkops clkops_omap3_core_dpll_ops;