diff options
author | Paul Walmsley <paul@pwsan.com> | 2011-02-25 17:39:30 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-03-07 22:04:03 -0500 |
commit | ec538e30f7eded2c4af8d9184619a3de65bc378e (patch) | |
tree | 5a5f7589c31e9c965e250f67b8b2339d9ae5bfe6 /arch/arm/mach-omap2/clock3517.c | |
parent | a1d5562315a1e911c8448b7fac33c966f9cb6294 (diff) |
OMAP3: clock: use autoidle clkops for all autoidle-controllable interface clocks
Mark each interface clock with a corresponding CM_AUTOIDLE bit with
a clkops that has the allow_idle/deny_idle function pointers populated.
This allows the OMAP clock framework to enable and disable autoidle for
these clocks.
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/clock3517.c')
-rw-r--r-- | arch/arm/mach-omap2/clock3517.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/clock3517.c b/arch/arm/mach-omap2/clock3517.c index 74116a3cf099..2e97d08f0e56 100644 --- a/arch/arm/mach-omap2/clock3517.c +++ b/arch/arm/mach-omap2/clock3517.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * OMAP3517/3505-specific clock framework functions | 2 | * OMAP3517/3505-specific clock framework functions |
3 | * | 3 | * |
4 | * Copyright (C) 2010 Texas Instruments, Inc. | 4 | * Copyright (C) 2010 Texas Instruments, Inc. |
5 | * Copyright (C) 2010 Nokia Corporation | 5 | * Copyright (C) 2011 Nokia Corporation |
6 | * | 6 | * |
7 | * Ranjith Lohithakshan | 7 | * Ranjith Lohithakshan |
8 | * Paul Walmsley | 8 | * Paul Walmsley |
@@ -119,6 +119,8 @@ const struct clkops clkops_am35xx_ipss_wait = { | |||
119 | .disable = omap2_dflt_clk_disable, | 119 | .disable = omap2_dflt_clk_disable, |
120 | .find_idlest = am35xx_clk_ipss_find_idlest, | 120 | .find_idlest = am35xx_clk_ipss_find_idlest, |
121 | .find_companion = omap2_clk_dflt_find_companion, | 121 | .find_companion = omap2_clk_dflt_find_companion, |
122 | .allow_idle = omap2_clkt_iclk_allow_idle, | ||
123 | .deny_idle = omap2_clkt_iclk_deny_idle, | ||
122 | }; | 124 | }; |
123 | 125 | ||
124 | 126 | ||