diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-10-23 13:18:59 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-10-28 00:40:18 +0100 |
commit | 1618a677046b0391621708734f56886233210047 (patch) | |
tree | 78b0e150cc42a5183bf04a9617040319eb7263b9 /arch/arm/mach-shmobile/pm-r8a7740.c | |
parent | ARM: shmobile: r8a7740: Add D4 pm domain support (diff) | |
download | linux-1618a677046b0391621708734f56886233210047.tar.xz linux-1618a677046b0391621708734f56886233210047.zip |
ARM: shmobile: r8a7740/armadillo legacy: Add A4R pm domain support
Add support for the A4R power domain, and hook up the A3RV subdomain,
and the CEU0, TMU0, and IIC0 hardware blocks.
This domain also contains the Realtime CPU (SH-4A), Realtime CPU debug
modules, H-UDI, RT-SHwy, INTCS, RT-HPB, VIO6C, JPU, RTDMAC1/2, SSP,
MSIOF0, CMT0, ICB, DREQPAK (RT), 2DDMAC, IPMMUI, and 2DG hardware
blocks, but these are currently not used by any driver.
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/pm-r8a7740.c')
-rw-r--r-- | arch/arm/mach-shmobile/pm-r8a7740.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/pm-r8a7740.c b/arch/arm/mach-shmobile/pm-r8a7740.c index 8b1af2a585ab..74e6a67a28d3 100644 --- a/arch/arm/mach-shmobile/pm-r8a7740.c +++ b/arch/arm/mach-shmobile/pm-r8a7740.c @@ -55,6 +55,9 @@ static struct rmobile_pm_domain r8a7740_pm_domains[] = { .gov = &pm_domain_always_on_gov, .suspend = r8a7740_pd_d4_suspend, }, { + .genpd.name = "A4R", + .bit_shift = 5, + }, { .genpd.name = "A3RV", .bit_shift = 6, }, { @@ -78,6 +81,7 @@ static struct rmobile_pm_domain r8a7740_pm_domains[] = { void __init r8a7740_init_pm_domains(void) { rmobile_init_domains(r8a7740_pm_domains, ARRAY_SIZE(r8a7740_pm_domains)); + pm_genpd_add_subdomain_names("A4R", "A3RV"); pm_genpd_add_subdomain_names("A4S", "A3SP"); pm_genpd_add_subdomain_names("A4S", "A3SG"); } |