diff mbox

ARM: EXYNOS: Hook up G2D PD to generic PD infrastructure

Message ID 1329278462-30851-1-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat Feb. 15, 2012, 4:01 a.m. UTC
Add G2D power domain (PD) to generic power domain infrastructure.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 arch/arm/mach-exynos/pm_domains.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Comments

Kukjin Kim Feb. 16, 2012, 12:32 p.m. UTC | #1
On 02/15/12 13:01, Sachin Kamat wrote:
> Add G2D power domain (PD) to generic power domain infrastructure.
>
> Signed-off-by: Sachin Kamat<sachin.kamat@linaro.org>
> ---
>   arch/arm/mach-exynos/pm_domains.c |    3 +++
>   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 0b04af2..a84df72 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);

Hi Sachin,

OK, will apply after pick up other regarding G2D patches for arch/arm/ 
Samsung stuff.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
Sachin Kamat March 8, 2012, 11:34 a.m. UTC | #2
Hi Kukjin,

This patch is also missed in your tree. Other G2D patches in arch/arm
are already there.
Please check.

Regards
Sachin


On 16/02/2012, Kukjin Kim <kgene.kim@samsung.com> wrote:
> On 02/15/12 13:01, Sachin Kamat wrote:
>> Add G2D power domain (PD) to generic power domain infrastructure.
>>
>> Signed-off-by: Sachin Kamat<sachin.kamat@linaro.org>
>> ---
>>   arch/arm/mach-exynos/pm_domains.c |    3 +++
>>   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 0b04af2..a84df72 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);
>
> Hi Sachin,
>
> OK, will apply after pick up other regarding G2D patches for arch/arm/
> Samsung stuff.
>
> Thanks.
>
> Best regards,
> Kgene.
> --
> Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
> SW Solution Development Team, Samsung Electronics Co., Ltd.
>
Kukjin Kim March 9, 2012, 3:33 p.m. UTC | #3
On 03/08/12 03:34, Sachin Kamat wrote:
> Hi Kukjin,
>
> This patch is also missed in your tree. Other G2D patches in arch/arm
> are already there.
> Please check.
>
Applied this in my next/devel-samsung-pd branch.
Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
diff mbox

Patch

diff --git a/arch/arm/mach-exynos/pm_domains.c b/arch/arm/mach-exynos/pm_domains.c
index 0b04af2..a84df72 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);