summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/setup-sh7372.c
diff options
context:
space:
mode:
authorKuninori Morimoto2011-07-10 10:12:08 +0200
committerRafael J. Wysocki2011-07-10 10:12:08 +0200
commitc1ba5bb5608664b37a3b1ac647e0dd67d46ddc99 (patch)
tree4190d769a9b13c0bb0b24ed398c1ae8802c8e932 /arch/arm/mach-shmobile/setup-sh7372.c
parentARM: mach-shmobile: sh7372: make sure that fsi is peripheral of spu2 (diff)
downloadkernel-qcow2-linux-c1ba5bb5608664b37a3b1ac647e0dd67d46ddc99.tar.gz
kernel-qcow2-linux-c1ba5bb5608664b37a3b1ac647e0dd67d46ddc99.tar.xz
kernel-qcow2-linux-c1ba5bb5608664b37a3b1ac647e0dd67d46ddc99.zip
ARM: mach-shmobile: sh7372 A4MP support
Add support for the sh7372 A4MP power domain and hook up the FSI/SPU2 device. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-sh7372.c')
-rw-r--r--arch/arm/mach-shmobile/setup-sh7372.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c
index b219ceaf85bf..9b0cd436f8cd 100644
--- a/arch/arm/mach-shmobile/setup-sh7372.c
+++ b/arch/arm/mach-shmobile/setup-sh7372.c
@@ -842,6 +842,7 @@ static struct platform_device *sh7372_late_devices[] __initdata = {
void __init sh7372_add_standard_devices(void)
{
sh7372_init_pm_domain(&sh7372_a4lc);
+ sh7372_init_pm_domain(&sh7372_a4mp);
sh7372_init_pm_domain(&sh7372_a3rv);
sh7372_init_pm_domain(&sh7372_a3ri);
sh7372_init_pm_domain(&sh7372_a3sg);
@@ -853,6 +854,8 @@ void __init sh7372_add_standard_devices(void)
ARRAY_SIZE(sh7372_late_devices));
sh7372_add_device_to_domain(&sh7372_a3rv, &vpu_device);
+ sh7372_add_device_to_domain(&sh7372_a4mp, &spu0_device);
+ sh7372_add_device_to_domain(&sh7372_a4mp, &spu1_device);
}
void __init sh7372_add_early_devices(void)