From e1cb367de27ca5c186b0f120c3c10a4a0e8edd2e Mon Sep 17 00:00:00 2001 From: Ezequiel Garcia Date: Thu, 22 Aug 2013 12:49:07 -0300 Subject: ARM: kirkwood: Add standby support Implements standby support for Kirkwood SoC. When the SoC enters standby state the memory PM units are disabled, the DDR is set in self-refresh mode, and the CPU is set in WFI. At this point there's no clock gating, as that is considered each driver's task. Signed-off-by: Simon Guinot Signed-off-by: Ezequiel Garcia Signed-off-by: Jason Cooper --- arch/arm/mach-kirkwood/include/mach/bridge-regs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/mach-kirkwood/include/mach/bridge-regs.h') diff --git a/arch/arm/mach-kirkwood/include/mach/bridge-regs.h b/arch/arm/mach-kirkwood/include/mach/bridge-regs.h index 91242c944d7a..8b9d1c9ff199 100644 --- a/arch/arm/mach-kirkwood/include/mach/bridge-regs.h +++ b/arch/arm/mach-kirkwood/include/mach/bridge-regs.h @@ -78,4 +78,6 @@ #define CGC_TDM (1 << 20) #define CGC_RESERVED (0x6 << 21) +#define MEMORY_PM_CTRL (BRIDGE_VIRT_BASE + 0x118) + #endif -- cgit v1.2.3