aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/Makefile
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2009-12-17 18:29:31 +0530
committerKevin Hilman <khilman@deeprootsystems.com>2010-02-04 13:29:55 -0800
commitefc1bb8a6fd56f6df5b797dff5156c935175c319 (patch)
tree47b79c7f2d585ae73650acbf9d11058fb00ecb52 /arch/arm/mach-davinci/Makefile
parent7307d093e6f05d845fc5ce47893c391c819a5c2b (diff)
davinci: add power management support
This patch adds core power management (suspend-to-RAM) support for DaVinci SoCs. The code depends on the the "deepsleep" feature to suspend the SoC and saves power by gating the input clock. The wakeup can be based on an external event as supported by the SoC. Assembly code (in sleep.S) is added to aid gating DDR2 clocks. Code doing this work should not be accessing DDR2. The assembly code is relocated to SRAM by the code in pm.c The support has been validated on DA850/OMAP-L138 only though the code is (hopefully) generic enough that other SoCs supporting deepsleep feature simply requires SoC specific code to start using this driver. Note that all the device drivers don't support suspend/resume still and are being worked on. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/Makefile')
-rw-r--r--arch/arm/mach-davinci/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/Makefile b/arch/arm/mach-davinci/Makefile
index eeb9230d884..d0fed3a6710 100644
--- a/arch/arm/mach-davinci/Makefile
+++ b/arch/arm/mach-davinci/Makefile
@@ -34,3 +34,4 @@ obj-$(CONFIG_MACH_DAVINCI_DA850_EVM) += board-da850-evm.o
# Power Management
obj-$(CONFIG_CPU_FREQ) += cpufreq.o
obj-$(CONFIG_CPU_IDLE) += cpuidle.o
+obj-$(CONFIG_SUSPEND) += pm.o sleep.o