blob: 632dd56301382ad0164972489495446ba0f2eabd [file] [log] [blame]
Jaecheol Leee28e3012011-07-18 19:21:23 +09001/* linux/arch/arm/mach-exynos4/include/mach/pmu.h
2 *
3 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com/
5 *
6 * EXYNOS4210 - PMU(Power Management Unit) support
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11*/
12
13#ifndef __ASM_ARCH_PMU_H
14#define __ASM_ARCH_PMU_H __FILE__
15
Jongpill Lee0dba4dc2011-09-27 07:22:11 +090016#define PMU_TABLE_END NULL
17
Jaecheol Leee28e3012011-07-18 19:21:23 +090018enum sys_powerdown {
19 SYS_AFTR,
20 SYS_LPA,
21 SYS_SLEEP,
22 NUM_SYS_POWERDOWN,
23};
24
Jongpill Lee0dba4dc2011-09-27 07:22:11 +090025struct exynos4_pmu_conf {
26 void __iomem *reg;
27 unsigned int val[NUM_SYS_POWERDOWN];
28};
29
Jaecheol Leee28e3012011-07-18 19:21:23 +090030extern void exynos4_sys_powerdown_conf(enum sys_powerdown mode);
31
32#endif /* __ASM_ARCH_PMU_H */