summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/Makefile
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-11-28 23:59:30 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-21 22:10:31 -0700
commit47343f31496a973c72a53a66d6bf4442caf912ef (patch)
tree1e693cec2802875cbb91543b4b83e6adce4dc0a7 /arch/arm/mach-tegra/Makefile
parent38f84c133ab7df5d94284b81cb83594ee646e9ed (diff)
ARM: tegra: add cpuidle driver
Supports clock-gated (LP3) SMP idle mode, and power-gated (LP2) idle. Latency for LP2 idle state is calculated as a 2-sample weighted moving average, to allow for variations due to CPU frequency scaling. LP3 idle gates a single CPU core, but LP2 requires power gating both CPU cores. When the first CPU requests to enter LP2, it saves its own state and then enters WFI. When the second CPU requests LP2, it attempts to put the first CPU into reset to prevent it from waking up, with some synchronization in case it was already awake, and then powers down both CPUs together. Change-Id: I1dc2a7fb9b3bff524952d0cbf3c322a7b9a38be9 Signed-off-by: Colin Cross <ccross@android.com> Rebase-Id: R156544bae6c911205223f5d35db1f4dd828b36e2
Diffstat (limited to 'arch/arm/mach-tegra/Makefile')
-rw-r--r--arch/arm/mach-tegra/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile
index b8b8c0309a8a..737f9b825a8b 100644
--- a/arch/arm/mach-tegra/Makefile
+++ b/arch/arm/mach-tegra/Makefile
@@ -25,6 +25,7 @@ obj-$(CONFIG_TEGRA_SYSTEM_DMA) += dma.o
obj-$(CONFIG_CPU_FREQ) += cpu-tegra.o
obj-$(CONFIG_TEGRA_PCI) += pcie.o
obj-$(CONFIG_USB_SUPPORT) += usb_phy.o
+obj-$(CONFIG_CPU_IDLE) += cpuidle.o
obj-$(CONFIG_MACH_HARMONY) += board-harmony.o
obj-$(CONFIG_MACH_HARMONY) += board-harmony-pinmux.o