From patchwork Thu May 5 16:26:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 757642 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p45GQAoM016851 for ; Thu, 5 May 2011 16:26:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755393Ab1EEQ0J (ORCPT ); Thu, 5 May 2011 12:26:09 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:61394 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755361Ab1EEQ0I (ORCPT ); Thu, 5 May 2011 12:26:08 -0400 Received: from axis700.grange (pD9EB90E6.dip0.t-ipconnect.de [217.235.144.230]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MRhLp-1QBeXn3oiH-00Svam; Thu, 05 May 2011 18:26:07 +0200 Received: by axis700.grange (Postfix, from userid 1000) id 94DC0189B89; Thu, 5 May 2011 18:26:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by axis700.grange (Postfix) with ESMTP id 92D42189B88; Thu, 5 May 2011 18:26:06 +0200 (CEST) Date: Thu, 5 May 2011 18:26:06 +0200 (CEST) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: linux-sh@vger.kernel.org cc: Magnus Damm Subject: [PATCH] ARM: mach-shmobile: PLL does not have to run constantly for HDMI Message-ID: MIME-Version: 1.0 X-Provags-ID: V02:K0:6A7IuI9dtLmsZWpxl7Q6kLQfhwWd697rKg+VPAKKE3w YOtir/KedH/I83Me6RpkbNnqiaSIcOxyRFw51ROa671xIl6yQw i0Zp79mlBegkr5EeDmQYArLXzMrM+ELPl3cxj45cqvdg5fQR2J tIhD16oktrXltp2oVqeS9ofU/VavZXFkESUYzmknZWlHpB0UzB tC3TZInuJNrMVwv0ChqdTjeorgYHGXWKPSKx/5GDf0= Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 05 May 2011 16:26:10 +0000 (UTC) The PLLC2 clock on AP4 systems does not need to run constantly to be able to use HDMI. The HDMI hotplug interrupt works without the PLL too, after which all the necessary clocks will be turned on by the runtime PM. Signed-off-by: Guennadi Liakhovetski --- arch/arm/mach-shmobile/board-ap4evb.c | 5 ----- arch/arm/mach-shmobile/board-mackerel.c | 6 ------ 2 files changed, 0 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 1e35fa97..74768d6 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c @@ -980,11 +980,6 @@ static void __init hdmi_init_pm_clock(void) goto out; } - ret = clk_enable(&sh7372_pllc2_clk); - if (ret < 0) { - pr_err("Cannot enable pllc2 clock\n"); - goto out; - } pr_debug("PLLC2 set frequency %lu\n", rate); ret = clk_set_parent(hdmi_ick, &sh7372_pllc2_clk); diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 5b09cb5..b20dd6f 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c @@ -458,12 +458,6 @@ static void __init hdmi_init_pm_clock(void) goto out; } - ret = clk_enable(&sh7372_pllc2_clk); - if (ret < 0) { - pr_err("Cannot enable pllc2 clock\n"); - goto out; - } - pr_debug("PLLC2 set frequency %lu\n", rate); ret = clk_set_parent(hdmi_ick, &sh7372_pllc2_clk);