summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/common.h
diff options
context:
space:
mode:
authorPankaj Dubey <pankaj.dubey@samsung.com>2014-11-07 01:26:47 +0100
committerKukjin Kim <kgene.kim@samsung.com>2014-11-21 14:49:44 +0100
commit6b7bfd8292ab27180662bcba175e7a3822486c2d (patch)
treec6ff0ebc0d083121498b058ff973ae222683f790 /arch/arm/mach-exynos/common.h
parentARM: EXYNOS: Add platform driver support for Exynos PMU (diff)
downloadlinux-6b7bfd8292ab27180662bcba175e7a3822486c2d.tar.xz
linux-6b7bfd8292ab27180662bcba175e7a3822486c2d.zip
ARM: EXYNOS: Move PMU specific definitions from common.h
This patch moves PMU specific definitions into a new file as exynos-pmu.h. This will help in reducing dependency of common.h in pmu.c. Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/common.h')
-rw-r--r--arch/arm/mach-exynos/common.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
index d4d09bc1e48c..431be1bca2e8 100644
--- a/arch/arm/mach-exynos/common.h
+++ b/arch/arm/mach-exynos/common.h
@@ -139,23 +139,6 @@ extern void exynos_cpu_resume_ns(void);
extern struct smp_operations exynos_smp_ops;
-/* PMU(Power Management Unit) support */
-
-#define PMU_TABLE_END (-1U)
-
-enum sys_powerdown {
- SYS_AFTR,
- SYS_LPA,
- SYS_SLEEP,
- NUM_SYS_POWERDOWN,
-};
-
-struct exynos_pmu_conf {
- unsigned int offset;
- unsigned int val[NUM_SYS_POWERDOWN];
-};
-
-extern void exynos_sys_powerdown_conf(enum sys_powerdown mode);
extern void exynos_cpu_power_down(int cpu);
extern void exynos_cpu_power_up(int cpu);
extern int exynos_cpu_power_state(int cpu);