diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-08-22 19:49:07 +0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-10-08 19:41:52 +0400 |
commit | e1cb367de27ca5c186b0f120c3c10a4a0e8edd2e (patch) | |
tree | aed853fb2fa315698ca5ff56a932dfbe7389b4f6 /arch/arm/mach-kirkwood/common.h | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) | |
download | linux-e1cb367de27ca5c186b0f120c3c10a4a0e8edd2e.tar.xz |
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/common.h')
-rw-r--r-- | arch/arm/mach-kirkwood/common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/common.h b/arch/arm/mach-kirkwood/common.h index 1296de94febf..05fd648df543 100644 --- a/arch/arm/mach-kirkwood/common.h +++ b/arch/arm/mach-kirkwood/common.h @@ -58,6 +58,12 @@ void kirkwood_cpufreq_init(void); void kirkwood_restart(enum reboot_mode, const char *); void kirkwood_clk_init(void); +#ifdef CONFIG_PM +void kirkwood_pm_init(void); +#else +static inline void kirkwood_pm_init(void) {}; +#endif + /* board init functions for boards not fully converted to fdt */ #ifdef CONFIG_MACH_MV88F6281GTW_GE_DT void mv88f6281gtw_ge_init(void); |