diff options
author | Vikas Sajjan <vikas.sajjan@samsung.com> | 2014-09-24 09:45:14 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-10-20 17:06:35 +0200 |
commit | 066da1ae52c30ae7e2792dbbb0d6bcbba493245e (patch) | |
tree | c707f27bb427b77e924409ff235857e70f86a95b /arch/arm/mach-exynos/regs-pmu.h | |
parent | ARM: EXYNOS: Move Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c (diff) | |
download | linux-066da1ae52c30ae7e2792dbbb0d6bcbba493245e.tar.xz linux-066da1ae52c30ae7e2792dbbb0d6bcbba493245e.zip |
ARM: EXYNOS: Refactor the pm code to use DT based lookup
Refactoring the pm.c to avoid using "soc_is_exynos" checks,
instead use the DT based lookup.
While at it, consolidate the common code across SoCs
and create static helper functions.
Signed-off-by: Vikas Sajjan <vikas.sajjan@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/regs-pmu.h')
-rw-r--r-- | arch/arm/mach-exynos/regs-pmu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/regs-pmu.h b/arch/arm/mach-exynos/regs-pmu.h index 96a1569262b5..30c03017aa6a 100644 --- a/arch/arm/mach-exynos/regs-pmu.h +++ b/arch/arm/mach-exynos/regs-pmu.h @@ -21,6 +21,7 @@ #define S5P_USE_STANDBY_WFI0 (1 << 16) #define S5P_USE_STANDBY_WFE0 (1 << 24) +#define EXYNOS_WAKEUP_FROM_LOWPWR (1 << 28) #define EXYNOS_SWRESET 0x0400 #define EXYNOS5440_SWRESET 0x00C4 |