diff mbox

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

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

Commit Message

Sachin Kamat Feb. 20, 2012, 5:45 a.m. UTC
Add JPEG power domain (PD) to generic power domain infrastructure.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
Hi Kukjin,
Please apply this over the JPEG platform suport patches for Exynos.

---
 arch/arm/mach-exynos/pm_domains.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Comments

Kukjin Kim March 10, 2012, 10:55 a.m. UTC | #1
On 02/19/12 21:45, Sachin Kamat wrote:
> Add JPEG power domain (PD) to generic power domain infrastructure.
>
> Signed-off-by: Sachin Kamat<sachin.kamat@linaro.org>
> ---
> Hi Kukjin,
> Please apply this over the JPEG platform suport patches for Exynos.
>
OK, applied.

Thanks.

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

> ---
>   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..4e8340f 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_JPEG
> +	exynos_pm_add_dev_to_genpd(&s5p_device_jpeg,&exynos4_pd_cam);
> +#endif
>   	return 0;
>   }
>   arch_initcall(exynos4_pm_init_power_domain);

--
diff mbox

Patch

diff --git a/arch/arm/mach-exynos/pm_domains.c b/arch/arm/mach-exynos/pm_domains.c
index 0b04af2..4e8340f 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_JPEG
+	exynos_pm_add_dev_to_genpd(&s5p_device_jpeg, &exynos4_pd_cam);
+#endif
 	return 0;
 }
 arch_initcall(exynos4_pm_init_power_domain);