summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/include/mach/common.h
diff options
context:
space:
mode:
authorBastian Hecht <hechtb@gmail.com>2012-12-05 12:13:06 +0000
committerSimon Horman <horms+renesas@verge.net.au>2013-01-25 12:43:46 +0900
commit13baf88bd69ed3cf7e2374eec4a7128f62ae9c1f (patch)
treed7c2eb25e8d7717fd2dddc7a1b8045078ed03ff3 /arch/arm/mach-shmobile/include/mach/common.h
parent8a21cdaee85e28489a6fe606b8eb0fef32ebf635 (diff)
ARM: shmobile: sh73a0: Add CPU sleep suspend
Add the lighest possible sleep mode on Cortex-A9 cores: CPU sleep. It is entered by a simple dsb and wfi instruction via cpu_do_idle(). As just clocks are stopped there is no need to save or restore any state of the system. Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/common.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
index 2d1686becdd5..f221c116e968 100644
--- a/arch/arm/mach-shmobile/include/mach/common.h
+++ b/arch/arm/mach-shmobile/include/mach/common.h
@@ -40,6 +40,7 @@ extern void sh73a0_add_early_devices(void);
extern void sh73a0_add_standard_devices(void);
extern void sh73a0_clock_init(void);
extern void sh73a0_pinmux_init(void);
+extern void sh73a0_pm_init(void);
extern struct clk sh73a0_extal1_clk;
extern struct clk sh73a0_extal2_clk;
extern struct clk sh73a0_extcki_clk;