summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/regs-pmu.h
diff options
context:
space:
mode:
authorVikas Sajjan <vikas.sajjan@samsung.com>2014-09-24 16:45:14 +0900
committerKukjin Kim <kgene.kim@samsung.com>2014-10-21 00:06:35 +0900
commit066da1ae52c30ae7e2792dbbb0d6bcbba493245e (patch)
treec707f27bb427b77e924409ff235857e70f86a95b /arch/arm/mach-exynos/regs-pmu.h
parent32ed35ff22ec03d8a935dfe8b90c599da4b4cb02 (diff)
downloadblackbird-op-linux-066da1ae52c30ae7e2792dbbb0d6bcbba493245e.tar.gz
blackbird-op-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
OpenPOWER on IntegriCloud