From patchwork Wed Feb 15 04:01:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 6783 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 94E4524869C for ; Wed, 15 Feb 2012 04:07:02 +0000 (UTC) Received: from mail-lpp01m010-f52.google.com (mail-lpp01m010-f52.google.com [209.85.215.52]) by fiordland.canonical.com (Postfix) with ESMTP id 5840DA1890C for ; Wed, 15 Feb 2012 04:07:02 +0000 (UTC) Received: by lagy4 with SMTP id y4so847112lag.11 for ; Tue, 14 Feb 2012 20:07:02 -0800 (PST) Received: by 10.152.136.20 with SMTP id pw20mr16877123lab.32.1329278822018; Tue, 14 Feb 2012 20:07:02 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.112.77.168 with SMTP id t8cs97385lbw; Tue, 14 Feb 2012 20:07:01 -0800 (PST) Received: by 10.68.116.234 with SMTP id jz10mr64912248pbb.84.1329278819920; Tue, 14 Feb 2012 20:06:59 -0800 (PST) Received: from mail-pw0-f50.google.com (mail-pw0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id g9si5816925pbd.241.2012.02.14.20.06.58 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Feb 2012 20:06:59 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbcwy7 with SMTP id wy7so1214367pbc.37 for ; Tue, 14 Feb 2012 20:06:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.238.229 with SMTP id vn5mr66099407pbc.39.1329278818701; Tue, 14 Feb 2012 20:06:58 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id li19sm7912077pbb.17.2012.02.14.20.06.54 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Feb 2012 20:06:57 -0800 (PST) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, rjw@sisk.pl, thomas.abraham@linaro.org, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] ARM: EXYNOS: Hook up G2D PD to generic PD infrastructure Date: Wed, 15 Feb 2012 09:31:02 +0530 Message-Id: <1329278462-30851-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQmNZOdQBVrvJzcHCSiaURQCUW8OV2+8g3+1Kwl7ZBwBsPqJPs1zIePXaCLCYQT7aM+gxuHF Add G2D power domain (PD) to generic power domain infrastructure. Signed-off-by: Sachin Kamat --- 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);