]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: shmobile: r8a7740: Add Suspend-To-RAM A3SM
authorBastian Hecht <hechtb@gmail.com>
Wed, 17 Apr 2013 10:56:29 +0000 (10:56 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 25 Apr 2013 00:18:51 +0000 (09:18 +0900)
commit72ca96a4c1e7d00a45f3abf4279b8977ff9849ec
tree4f2a10d1f315fa21df5b771d2947d65d232d8600
parent74d6523995cc814f24a6ca540e390ebee8a29c91
ARM: shmobile: r8a7740: Add Suspend-To-RAM A3SM

We add 2 Suspend to RAM modes:
- A3SM PLL0 on/off:     Power domain A3SM that contains the ARM core
                        and the 2nd level cache with either PLL0 on
                        or off

As the suspend to memory mechanism we use A3SM PLL off. A3SM PLL on
is included here too, so CPUIdle can use both power down modes (not
included in this patch).

The setup of the SYSC regarding the external IRQs is taken from
pm-sh7372.c from Magnus Damm.

Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/include/mach/r8a7740.h
arch/arm/mach-shmobile/pm-r8a7740.c
arch/arm/mach-shmobile/sleep-r8a7740.S [new file with mode: 0644]