ARM: mach-shmobile: r8a7779 power domain support V2
authorMagnus Damm <damm@opensource.se>
Tue, 10 Jan 2012 06:50:01 +0000 (15:50 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 10 Jan 2012 07:44:19 +0000 (16:44 +0900)
commita662c08260fac126059a148cbd1061e71e806b4a
tree214ebef2b4a7ec04e17b4897baffbd3e963470bf
parent77761b63d94bcd04bb3f02b1b52716698202276a
ARM: mach-shmobile: r8a7779 power domain support V2

Add power domain control support for the r8a7779 SoC V2.

This adds support for 4 power domains for I/O Devices
together with code that can be used for CPU cores as well.

The only out of the ordinary experience is the need for
ioremap() of SYSC registers. Because of that we need to
execute some init function before setting up the domains.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/include/mach/common.h
arch/arm/mach-shmobile/include/mach/r8a7779.h
arch/arm/mach-shmobile/pm-r8a7779.c [new file with mode: 0644]
arch/arm/mach-shmobile/setup-r8a7779.c