diff options
author | Kukjin Kim | 2012-12-31 19:06:48 +0100 |
---|---|---|
committer | Kukjin Kim | 2013-01-10 19:45:17 +0100 |
commit | ccd458c15df62e4e7001a09b1b000b1fce696640 (patch) | |
tree | 27620b3a757791b288db12c2eddbf3260c0c4cf8 /arch/arm/mach-exynos/common.h | |
parent | ARM: S5PV210: move regs-sys.h into setup-usb-phy.c file (diff) | |
download | kernel-qcow2-linux-ccd458c15df62e4e7001a09b1b000b1fce696640.tar.gz kernel-qcow2-linux-ccd458c15df62e4e7001a09b1b000b1fce696640.tar.xz kernel-qcow2-linux-ccd458c15df62e4e7001a09b1b000b1fce696640.zip |
ARM: EXYNOS: move mach/pmu.h file into common.h
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.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h index 04744f9c120f..e1af3a9b72a7 100644 --- a/arch/arm/mach-exynos/common.h +++ b/arch/arm/mach-exynos/common.h @@ -64,4 +64,24 @@ extern struct smp_operations exynos_smp_ops; extern void exynos_cpu_die(unsigned int cpu); +/* PMU(Power Management Unit) support */ + +#define PMU_TABLE_END NULL + +enum sys_powerdown { + SYS_AFTR, + SYS_LPA, + SYS_SLEEP, + NUM_SYS_POWERDOWN, +}; + +extern unsigned long l2x0_regs_phys; +struct exynos_pmu_conf { + void __iomem *reg; + unsigned int val[NUM_SYS_POWERDOWN]; +}; + +extern void exynos_sys_powerdown_conf(enum sys_powerdown mode); +extern void s3c_cpu_resume(void); + #endif /* __ARCH_ARM_MACH_EXYNOS_COMMON_H */ |