summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/pmc.h
diff options
context:
space:
mode:
authorJoseph Lo2013-02-28 22:32:11 +0100
committerStephen Warren2013-03-11 21:29:44 +0100
commitc141753fc385df98a33790b59a22894537031a24 (patch)
tree448eff3ec8e6363ef3bdb1eb5fb223a578d80d4d /arch/arm/mach-tegra/pmc.h
parentARM: tegra: pmc: convert PMC driver to support DT only (diff)
downloadkernel-qcow2-linux-c141753fc385df98a33790b59a22894537031a24.tar.gz
kernel-qcow2-linux-c141753fc385df98a33790b59a22894537031a24.tar.xz
kernel-qcow2-linux-c141753fc385df98a33790b59a22894537031a24.zip
ARM: tegra: pmc: add power on function for secondary CPUs
Adding the power on function for secondary CPUs in PMC driver, this can help us to remove legacy powergate driver and add generic power domain support later. Signed-off-by: Joseph Lo <josephl@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/pmc.h')
-rw-r--r--arch/arm/mach-tegra/pmc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pmc.h b/arch/arm/mach-tegra/pmc.h
index 8995ee4a8768..7d44710368be 100644
--- a/arch/arm/mach-tegra/pmc.h
+++ b/arch/arm/mach-tegra/pmc.h
@@ -18,6 +18,10 @@
#ifndef __MACH_TEGRA_PMC_H
#define __MACH_TEGRA_PMC_H
+bool tegra_pmc_cpu_is_powered(int cpuid);
+int tegra_pmc_cpu_power_on(int cpuid);
+int tegra_pmc_cpu_remove_clamping(int cpuid);
+
void tegra_pmc_init(void);
#endif