summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/regs-pmu.h
diff options
context:
space:
mode:
authorVikas Sajjan2014-09-24 09:45:14 +0200
committerKukjin Kim2014-10-20 17:06:35 +0200
commit066da1ae52c30ae7e2792dbbb0d6bcbba493245e (patch)
treec707f27bb427b77e924409ff235857e70f86a95b /arch/arm/mach-exynos/regs-pmu.h
parentARM: EXYNOS: Move Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c (diff)
downloadkernel-qcow2-linux-066da1ae52c30ae7e2792dbbb0d6bcbba493245e.tar.gz
kernel-qcow2-linux-066da1ae52c30ae7e2792dbbb0d6bcbba493245e.tar.xz
kernel-qcow2-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.h1
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