提交 92e88fd7 编写于 作者: G Geert Uytterhoeven 提交者: Simon Horman

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: NGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 995d9250
...@@ -51,6 +51,9 @@ static struct rmobile_pm_domain r8a7740_pm_domains[] = { ...@@ -51,6 +51,9 @@ static struct rmobile_pm_domain r8a7740_pm_domains[] = {
.gov = &pm_domain_always_on_gov, .gov = &pm_domain_always_on_gov,
.no_debug = true, .no_debug = true,
.suspend = r8a7740_pd_a3sp_suspend, .suspend = r8a7740_pd_a3sp_suspend,
}, {
.genpd.name = "A3SG",
.bit_shift = 13,
}, },
}; };
...@@ -58,6 +61,7 @@ void __init r8a7740_init_pm_domains(void) ...@@ -58,6 +61,7 @@ void __init r8a7740_init_pm_domains(void)
{ {
rmobile_init_domains(r8a7740_pm_domains, ARRAY_SIZE(r8a7740_pm_domains)); rmobile_init_domains(r8a7740_pm_domains, ARRAY_SIZE(r8a7740_pm_domains));
pm_genpd_add_subdomain_names("A4S", "A3SP"); pm_genpd_add_subdomain_names("A4S", "A3SP");
pm_genpd_add_subdomain_names("A4S", "A3SG");
} }
#endif /* CONFIG_PM && !CONFIG_ARCH_MULTIPLATFORM */ #endif /* CONFIG_PM && !CONFIG_ARCH_MULTIPLATFORM */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册