diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-08-22 11:49:07 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-10-08 11:41:52 -0400 |
commit | e1cb367de27ca5c186b0f120c3c10a4a0e8edd2e (patch) | |
tree | aed853fb2fa315698ca5ff56a932dfbe7389b4f6 /arch/arm/mach-kirkwood/board-dt.c | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) |
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 <sguinot@lacie.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/board-dt.c')
-rw-r--r-- | arch/arm/mach-kirkwood/board-dt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c index 82d3ad8e87cf..cdde73a07c1b 100644 --- a/arch/arm/mach-kirkwood/board-dt.c +++ b/arch/arm/mach-kirkwood/board-dt.c | |||
@@ -101,6 +101,7 @@ static void __init kirkwood_dt_init(void) | |||
101 | /* Setup clocks for legacy devices */ | 101 | /* Setup clocks for legacy devices */ |
102 | kirkwood_legacy_clk_init(); | 102 | kirkwood_legacy_clk_init(); |
103 | 103 | ||
104 | kirkwood_pm_init(); | ||
104 | kirkwood_cpuidle_init(); | 105 | kirkwood_cpuidle_init(); |
105 | 106 | ||
106 | #ifdef CONFIG_KEXEC | 107 | #ifdef CONFIG_KEXEC |