]> 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>
Wed, 22 May 2013 12:44:26 +0000 (21:44 +0900)
commit04363aae44713a7fa6fd40c7025e6ae746eac36e
tree574561d2426d3b1e73bf0061a1488c8819221d1c
parent2b80c80eacd3195efde03ef5e861716377c34975
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]