From patchwork Wed Feb 16 09:37:38 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 566481 X-Patchwork-Delegate: paul@pwsan.com 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 p1G9cVWF014417 for ; Wed, 16 Feb 2011 09:38:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755173Ab1BPJi3 (ORCPT ); Wed, 16 Feb 2011 04:38:29 -0500 Received: from na3sys009aog105.obsmtp.com ([74.125.149.75]:33588 "EHLO na3sys009aog105.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754055Ab1BPJi2 (ORCPT ); Wed, 16 Feb 2011 04:38:28 -0500 Received: from source ([209.85.161.46]) (using TLSv1) by na3sys009aob105.postini.com ([74.125.148.12]) with SMTP ID DSNKTVubEz1VcH60NARgYuaCoKbQ21FaqfSD@postini.com; Wed, 16 Feb 2011 01:38:28 PST Received: by mail-fx0-f46.google.com with SMTP id 20so1245220fxm.5 for ; Wed, 16 Feb 2011 01:38:27 -0800 (PST) Received: by 10.223.113.73 with SMTP id z9mr457160fap.41.1297849059703; Wed, 16 Feb 2011 01:37:39 -0800 (PST) From: Rajendra Nayak References: <20110216065030.22089.61217.stgit@twilight.localdomain> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20110216065030.22089.61217.stgit@twilight.localdomain> Thread-Index: AcvNpna0xDlAaPtmQnyFsJWIDBFlkwAFfkTw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Date: Wed, 16 Feb 2011 15:07:38 +0530 Message-ID: Subject: RE: [PATCH 00/11] OMAP2+: clock: add clockfw autoidle for iclks, OMAP2xxx To: Paul Walmsley , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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]); Wed, 16 Feb 2011 09:38:31 +0000 (UTC) diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index b507702..f888986 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c @@ -262,13 +262,14 @@ static int __init omap2_common_pm_late_init(void) /* Smartreflex device init */ omap_devinit_smartreflex(); +#ifdef CONFIG_PM /* - * Set all OMAP3/4 DPLLs to autoidle. - * XXX TODO: Add all the iclk autoidles in here as well, - * the OMAP2 DPLL, the OMAP2 APLLs, and the AUTOEXTCLKMODE - * control here too. + * Set all OMAP2/3/4 DPLLs to autoidle. + * Set OMAP2 APLLs, and the AUTOEXTCLKMODE to autoidle. + * Set all the iclk autoidle, */ omap_clk_enable_autoidle_all(); +#endif return 0; }