]> 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)
commit58dbbcb058355b3e0bab18026a4e2d3c8c11b1b7
tree214ebef2b4a7ec04e17b4897baffbd3e963470bf
parentacbce123e01b96b61e2e6d62933fb8e7bd236ca9
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