]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9cebd703506015c1813885827be65d6c229fbec5
tree214ebef2b4a7ec04e17b4897baffbd3e963470bf
parent74b15bbba76d82ec0f3d9a626dee0451ea32aa72
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