[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-sh
Subject: [PATCH 11/11] [WIP] ARM: shmobile: r8a7740: Add A3SM pm domain support
From: Geert Uytterhoeven <geert+renesas () glider ! be>
Date: 2014-08-29 13:50:17
Message-ID: 1409320217-13278-12-git-send-email-geert+renesas () glider ! be
[Download RAW message or body]
Add support for the A3SM power domain, and hook it up as a subdomain of
A4S.
This domain contains the System CPU (Cortex-A9) hardware block, and thus
must be controlled by the always-on governor.
FIXME: A3SM is never powered down during s2ram, even when adding a
.suspend method like A4S has.
As A3SM is a subdomain of A4S, A4S is no longer powered down
during s2ram.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/mach-shmobile/pm-r8a7740.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/mach-shmobile/pm-r8a7740.c b/arch/arm/mach-shmobile/pm-r8a7740.c
index d563e623bcb5..23254c31efd9 100644
--- a/arch/arm/mach-shmobile/pm-r8a7740.c
+++ b/arch/arm/mach-shmobile/pm-r8a7740.c
@@ -61,6 +61,10 @@ static struct rmobile_pm_domain r8a7740_pm_domains[] = {
.no_debug = true,
.suspend = r8a7740_pd_a3sp_suspend,
}, {
+ .genpd.name = "A3SM",
+ .bit_shift = 12,
+ .gov = &pm_domain_always_on_gov,
+ }, {
.genpd.name = "A3SG",
.bit_shift = 13,
}, {
@@ -74,6 +78,7 @@ 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", "A3SM");
pm_genpd_add_subdomain_names("A4S", "A3SG");
}
#endif /* CONFIG_PM && !CONFIG_ARCH_MULTIPLATFORM */
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic