aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/setup-r8a7740.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2012-07-05 04:25:58 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-07-06 14:40:17 -0400
commit8459293c27bcd13aabacb7ee8097f6818f2ceedb (patch)
treed61c97e8d9b81ffe57df0d2c39d4ebdecda8b642 /arch/arm/mach-shmobile/setup-r8a7740.c
parent444c5ed8d746140cd8f5591f708e5f1f84a9876e (diff)
ARM: shmobile: r8a7740: add A4S pm domain support
This patch adds basic A4S pm domain support. Now, below devices can be controled by PM Common-SHwy, Common-HPB, BSC, MFI, MMFROM, HS-SHwy, SYS-HPB, INTCA, DBSC, DDRPHY (Logic), ATAPI, GbEther, AXI-bus 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-r8a7740.c')
-rw-r--r--arch/arm/mach-shmobile/setup-r8a7740.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c
index 48d7bbf0d2e2..c37ad75151f3 100644
--- a/arch/arm/mach-shmobile/setup-r8a7740.c
+++ b/arch/arm/mach-shmobile/setup-r8a7740.c
@@ -29,6 +29,7 @@
29#include <linux/dma-mapping.h> 29#include <linux/dma-mapping.h>
30#include <mach/dma-register.h> 30#include <mach/dma-register.h>
31#include <mach/r8a7740.h> 31#include <mach/r8a7740.h>
32#include <mach/pm-rmobile.h>
32#include <mach/common.h> 33#include <mach/common.h>
33#include <mach/irqs.h> 34#include <mach/irqs.h>
34#include <asm/mach-types.h> 35#include <asm/mach-types.h>
@@ -671,6 +672,10 @@ void __init r8a7740_add_standard_devices(void)
671 r8a7740_i2c_workaround(&i2c0_device); 672 r8a7740_i2c_workaround(&i2c0_device);
672 r8a7740_i2c_workaround(&i2c1_device); 673 r8a7740_i2c_workaround(&i2c1_device);
673 674
675 /* PM domain */
676 rmobile_init_pm_domain(&r8a7740_pd_a4s);
677
678 /* add devices */
674 platform_add_devices(r8a7740_early_devices, 679 platform_add_devices(r8a7740_early_devices,
675 ARRAY_SIZE(r8a7740_early_devices)); 680 ARRAY_SIZE(r8a7740_early_devices));
676 platform_add_devices(r8a7740_late_devices, 681 platform_add_devices(r8a7740_late_devices,