diff options
author | Paul Walmsley <paul@pwsan.com> | 2011-02-25 17:39:29 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-03-07 22:03:12 -0500 |
commit | e892b2528b8dc9eef8ca3f9af7b5b650b4e90bea (patch) | |
tree | 241d8a083b2ead40072b4992409f072cbe441173 /arch/arm | |
parent | 6ae690da1b6315f34ab7312bd2a02d49a606ccf7 (diff) |
OMAP2430/3xxx: clock: add modem clock autoidle support
OMAP2430 and OMAP3xxx have modem autoidle bits that are actually
attached to clocks with CM_FCLKEN bits; add the code and data to
handle these.
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')
-rw-r--r-- | arch/arm/mach-omap2/clkt_iclk.c | 9 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock.h | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clkt_iclk.c b/arch/arm/mach-omap2/clkt_iclk.c index dd8a6d3dc011..3d43fba2542f 100644 --- a/arch/arm/mach-omap2/clkt_iclk.c +++ b/arch/arm/mach-omap2/clkt_iclk.c | |||
@@ -71,3 +71,12 @@ const struct clkops clkops_omap2_iclk_idle_only = { | |||
71 | .deny_idle = omap2_clkt_iclk_deny_idle, | 71 | .deny_idle = omap2_clkt_iclk_deny_idle, |
72 | }; | 72 | }; |
73 | 73 | ||
74 | const struct clkops clkops_omap2_mdmclk_dflt_wait = { | ||
75 | .enable = omap2_dflt_clk_enable, | ||
76 | .disable = omap2_dflt_clk_disable, | ||
77 | .find_companion = omap2_clk_dflt_find_companion, | ||
78 | .find_idlest = omap2_clk_dflt_find_idlest, | ||
79 | .allow_idle = omap2_clkt_iclk_allow_idle, | ||
80 | .deny_idle = omap2_clkt_iclk_deny_idle, | ||
81 | }; | ||
82 | |||
diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h index 5008f14448ef..70f8b073e69f 100644 --- a/arch/arm/mach-omap2/clock.h +++ b/arch/arm/mach-omap2/clock.h | |||
@@ -155,6 +155,7 @@ extern void omap2_clk_exit_cpufreq_table(struct cpufreq_frequency_table **table) | |||
155 | extern const struct clkops clkops_omap2_iclk_dflt_wait; | 155 | extern const struct clkops clkops_omap2_iclk_dflt_wait; |
156 | extern const struct clkops clkops_omap2_iclk_dflt; | 156 | extern const struct clkops clkops_omap2_iclk_dflt; |
157 | extern const struct clkops clkops_omap2_iclk_idle_only; | 157 | extern const struct clkops clkops_omap2_iclk_idle_only; |
158 | extern const struct clkops clkops_omap2_mdmclk_dflt_wait; | ||
158 | extern const struct clkops clkops_omap2xxx_dpll_ops; | 159 | extern const struct clkops clkops_omap2xxx_dpll_ops; |
159 | extern const struct clkops clkops_omap3_noncore_dpll_ops; | 160 | extern const struct clkops clkops_omap3_noncore_dpll_ops; |
160 | extern const struct clkops clkops_omap3_core_dpll_ops; | 161 | extern const struct clkops clkops_omap3_core_dpll_ops; |