diff options
author | Magnus Damm <damm@opensource.se> | 2011-04-28 13:28:08 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-24 22:19:20 -0400 |
commit | 97991657be8d85c2883ca477964f271d8c1bb96d (patch) | |
tree | 9e0179407f1ca085027dc09d8c11aa99eb0594a2 /arch/arm/mach-shmobile/include | |
parent | c3dada1894de46139c21352a1000c0fd02d308d5 (diff) |
ARM: mach-shmobile: sh7372 Core Standby Suspend-to-RAM
Add sh7372 Core Standby sleep mode support and tie it
in with the shared SH-Mobile ARM suspend code.
The Core Standby mode is the lightest sh7372-specific
sleep mode, cutting power to the ARM core excluding the
L2 cache. Any interrupt source can be used for wakeups.
The low level portion of this code is based on the
TI OMAP sleep code in sleep34xx.S, thanks to them.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/include')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h index 39b78bb80e09..4b653e92d72e 100644 --- a/arch/arm/mach-shmobile/include/mach/common.h +++ b/arch/arm/mach-shmobile/include/mach/common.h | |||
@@ -31,6 +31,9 @@ extern void sh7372_add_early_devices(void); | |||
31 | extern void sh7372_add_standard_devices(void); | 31 | extern void sh7372_add_standard_devices(void); |
32 | extern void sh7372_clock_init(void); | 32 | extern void sh7372_clock_init(void); |
33 | extern void sh7372_pinmux_init(void); | 33 | extern void sh7372_pinmux_init(void); |
34 | extern void sh7372_pm_init(void); | ||
35 | extern void sh7372_cpu_suspend(void); | ||
36 | extern void sh7372_cpu_resume(void); | ||
34 | extern struct clk sh7372_extal1_clk; | 37 | extern struct clk sh7372_extal1_clk; |
35 | extern struct clk sh7372_extal2_clk; | 38 | extern struct clk sh7372_extal2_clk; |
36 | 39 | ||