summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/include/mach/powergate.h
diff options
context:
space:
mode:
authorPeter De Schrijver2012-02-10 00:47:49 +0100
committerOlof Johansson2012-02-26 23:44:45 +0100
commit65fe31da5cede3597938b0f3bba99f604369018d (patch)
treec5a8545f4dcf1f19a4ef0edcf637feb6338d5f6f /arch/arm/mach-tegra/include/mach/powergate.h
parentARM: tegra: add support for Tegra30 powerdomains (diff)
downloadkernel-qcow2-linux-65fe31da5cede3597938b0f3bba99f604369018d.tar.gz
kernel-qcow2-linux-65fe31da5cede3597938b0f3bba99f604369018d.tar.xz
kernel-qcow2-linux-65fe31da5cede3597938b0f3bba99f604369018d.zip
ARM: tegra: support for Tegra30 CPU powerdomains
Secondary CPU powerdomains can be powergated on Tegra30. Add the necessary functions to do this. This will be used to boot the secondary CPUs later on. Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com> Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/powergate.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/powergate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/powergate.h b/arch/arm/mach-tegra/include/mach/powergate.h
index ca41186a545f..4752b1a68f35 100644
--- a/arch/arm/mach-tegra/include/mach/powergate.h
+++ b/arch/arm/mach-tegra/include/mach/powergate.h
@@ -38,6 +38,9 @@
#define TEGRA_POWERGATE_CPU0 TEGRA_POWERGATE_CPU
#define TEGRA_POWERGATE_3D0 TEGRA_POWERGATE_3D
+int __init tegra_powergate_init(void);
+
+int tegra_cpu_powergate_id(int cpuid);
int tegra_powergate_is_powered(int id);
int tegra_powergate_power_on(int id);
int tegra_powergate_power_off(int id);