summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-03-09 06:54:34 -0800
committerKukjin Kim <kgene.kim@samsung.com>2012-03-09 06:54:34 -0800
commita9e87bd93636f92e717c505a5ba8c587bbe0ea1c (patch)
tree267156879a38171c20bbba8f067f3a3362e3316a /arch
parent91cfbd4ee0875f8a826731983378670012ba6e01 (diff)
ARM: EXYNOS: Hook up G2D PD to generic PD infrastructure
Add G2D power domain (PD) to generic power domain infrastructure. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-exynos/pm_domains.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/pm_domains.c b/arch/arm/mach-exynos/pm_domains.c
index 0b04af2b13cc..a84df720c556 100644
--- a/arch/arm/mach-exynos/pm_domains.c
+++ b/arch/arm/mach-exynos/pm_domains.c
@@ -183,6 +183,9 @@ static __init int exynos4_pm_init_power_domain(void)
#ifdef CONFIG_S5P_DEV_CSIS1
exynos_pm_add_dev_to_genpd(&s5p_device_mipi_csis1, &exynos4_pd_cam);
#endif
+#ifdef CONFIG_S5P_DEV_G2D
+ exynos_pm_add_dev_to_genpd(&s5p_device_g2d, &exynos4_pd_lcd0);
+#endif
return 0;
}
arch_initcall(exynos4_pm_init_power_domain);