diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-10-23 07:18:56 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-10-27 19:40:17 -0400 |
commit | 92e88fd7793401dc7bc1b5cec93761e83b19b947 (patch) | |
tree | 69bd0eed75a5b0c18052f22ed5360c142e9d2175 /arch/arm/mach-shmobile | |
parent | 995d925058b63f8300b20d458d941a8a1306d8fb (diff) |
ARM: shmobile: r8a7740: Add A3SG pm domain support
Add support for the A3SG power domain, and hook it up as a subdomain of
A4S.
This domain contains the SGX540 hardware block, which is currently not
used by any driver.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-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 1d916038660d..932c2a621e81 100644 --- a/arch/arm/mach-shmobile/pm-r8a7740.c +++ b/arch/arm/mach-shmobile/pm-r8a7740.c | |||
@@ -51,6 +51,9 @@ static struct rmobile_pm_domain r8a7740_pm_domains[] = { | |||
51 | .gov = &pm_domain_always_on_gov, | 51 | .gov = &pm_domain_always_on_gov, |
52 | .no_debug = true, | 52 | .no_debug = true, |
53 | .suspend = r8a7740_pd_a3sp_suspend, | 53 | .suspend = r8a7740_pd_a3sp_suspend, |
54 | }, { | ||
55 | .genpd.name = "A3SG", | ||
56 | .bit_shift = 13, | ||
54 | }, | 57 | }, |
55 | }; | 58 | }; |
56 | 59 | ||
@@ -58,6 +61,7 @@ void __init r8a7740_init_pm_domains(void) | |||
58 | { | 61 | { |
59 | rmobile_init_domains(r8a7740_pm_domains, ARRAY_SIZE(r8a7740_pm_domains)); | 62 | rmobile_init_domains(r8a7740_pm_domains, ARRAY_SIZE(r8a7740_pm_domains)); |
60 | pm_genpd_add_subdomain_names("A4S", "A3SP"); | 63 | pm_genpd_add_subdomain_names("A4S", "A3SP"); |
64 | pm_genpd_add_subdomain_names("A4S", "A3SG"); | ||
61 | } | 65 | } |
62 | #endif /* CONFIG_PM && !CONFIG_ARCH_MULTIPLATFORM */ | 66 | #endif /* CONFIG_PM && !CONFIG_ARCH_MULTIPLATFORM */ |
63 | 67 | ||