diff options
author | Colin Cross <ccross@android.com> | 2011-09-26 18:15:29 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-09-26 18:15:29 -0700 |
commit | 4f00ea5e2a406a67405eebb3e2bd796f84ddca1e (patch) | |
tree | 4ec2966330ac76fe9fdd8abe36c05928c2705b07 /kernel/Makefile | |
parent | 4c86ae876a08399b9dc6e6b8dfd9f7860c0d11b8 (diff) | |
download | kernel_samsung_tuna-4f00ea5e2a406a67405eebb3e2bd796f84ddca1e.zip kernel_samsung_tuna-4f00ea5e2a406a67405eebb3e2bd796f84ddca1e.tar.gz kernel_samsung_tuna-4f00ea5e2a406a67405eebb3e2bd796f84ddca1e.tar.bz2 |
cpu_pm: Add cpu power management notifiers
During some CPU power modes entered during idle, hotplug and
suspend, peripherals located in the CPU power domain, such as
the GIC, localtimers, and VFP, may be powered down. Add a
notifier chain that allows drivers for those peripherals to
be notified before and after they may be reset.
Notified drivers can include VFP co-processor, interrupt controller
and it's PM extensions, local CPU timers context save/restore which
shouldn't be interrupted. Hence CPU PM event APIs must be called
with interrupts disabled.
Change-Id: Id7913c16c538eb59b30a33ef6efeb35e57c94d05
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Kevin Hilman <khilman@ti.com>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
Diffstat (limited to 'kernel/Makefile')
-rw-r--r-- | kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index 2d64cfc..e4fd98b 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -101,6 +101,7 @@ obj-$(CONFIG_RING_BUFFER) += trace/ obj-$(CONFIG_TRACEPOINTS) += trace/ obj-$(CONFIG_SMP) += sched_cpupri.o obj-$(CONFIG_IRQ_WORK) += irq_work.o +obj-$(CONFIG_CPU_PM) += cpu_pm.o obj-$(CONFIG_PERF_EVENTS) += events/ |