summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/cm-regbits-24xx.h
diff options
context:
space:
mode:
authorPaul Walmsley2011-02-25 23:39:29 +0100
committerPaul Walmsley2011-03-08 04:02:57 +0100
commit6ae690da1b6315f34ab7312bd2a02d49a606ccf7 (patch)
treec3229b16cdc7e7b8cc9438faf71e80e1c66d6070 /arch/arm/mach-omap2/cm-regbits-24xx.h
parentOMAP2420: clock: add sdrc_ick (diff)
downloadkernel-qcow2-linux-6ae690da1b6315f34ab7312bd2a02d49a606ccf7.tar.gz
kernel-qcow2-linux-6ae690da1b6315f34ab7312bd2a02d49a606ccf7.tar.xz
kernel-qcow2-linux-6ae690da1b6315f34ab7312bd2a02d49a606ccf7.zip
OMAP2420: 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/cm-regbits-24xx.h')
-rw-r--r--arch/arm/mach-omap2/cm-regbits-24xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/cm-regbits-24xx.h b/arch/arm/mach-omap2/cm-regbits-24xx.h
index 409c813eb2e2..686290437568 100644
--- a/arch/arm/mach-omap2/cm-regbits-24xx.h
+++ b/arch/arm/mach-omap2/cm-regbits-24xx.h
@@ -212,7 +212,9 @@
/* CM_AUTOIDLE3_CORE */
#define OMAP24XX_AUTO_SDRC_SHIFT 2
#define OMAP24XX_AUTO_SDRC_MASK (1 << 2)
+#define OMAP24XX_AUTO_GPMC_SHIFT 1
#define OMAP24XX_AUTO_GPMC_MASK (1 << 1)
+#define OMAP24XX_AUTO_SDMA_SHIFT 0
#define OMAP24XX_AUTO_SDMA_MASK (1 << 0)
/* CM_AUTOIDLE4_CORE */