diff options
author | Peter De Schrijver <pdeschrijver@nvidia.com> | 2012-02-10 01:47:49 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-02-26 14:44:45 -0800 |
commit | 65fe31da5cede3597938b0f3bba99f604369018d (patch) | |
tree | c5a8545f4dcf1f19a4ef0edcf637feb6338d5f6f /arch/arm/mach-tegra/include/mach | |
parent | 6cafa97d3ca6a480dc39e20bb2d12ec2c5ca025e (diff) | |
download | blackbird-op-linux-65fe31da5cede3597938b0f3bba99f604369018d.tar.gz blackbird-op-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')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/powergate.h | 3 |
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); |