summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/common.c
diff options
context:
space:
mode:
authorJoseph Lo <josephl@nvidia.com>2012-08-16 17:31:52 +0800
committerStephen Warren <swarren@nvidia.com>2012-09-13 11:41:06 -0600
commit453689e407f2b7c0a72a2e6fb2ef84c20475773b (patch)
tree83b532ff1b43e684ca3e92978c6d806bdc240f5c /arch/arm/mach-tegra/common.c
parent59b0f6825c15d24859e22b1024440ae2a094983e (diff)
downloadop-kernel-dev-453689e407f2b7c0a72a2e6fb2ef84c20475773b.zip
op-kernel-dev-453689e407f2b7c0a72a2e6fb2ef84c20475773b.tar.gz
ARM: tegra20: add CPU hotplug support
Hotplug function put CPU in offline or online mode at runtime. When the CPU been put into offline, it was been clock gated. The offline CPU can be power gated, when the remaining CPU goes into LP2. Based on the worked by: Colin Cross <ccross@android.com> Gary King <gking@nvidia.com> Signed-off-by: Joseph Lo <josephl@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/common.c')
-rw-r--r--arch/arm/mach-tegra/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c
index 0652056..0560538 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -136,6 +136,7 @@ void __init tegra20_init_early(void)
tegra_init_cache(0x331, 0x441);
tegra_pmc_init();
tegra_powergate_init();
+ tegra20_hotplug_init();
}
#endif
#ifdef CONFIG_ARCH_TEGRA_3x_SOC
OpenPOWER on IntegriCloud