From patchwork Sat Feb 26 12:25:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lesly A M X-Patchwork-Id: 592331 X-Patchwork-Delegate: khilman@deeprootsystems.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 p1QCMXTw026198 for ; Sat, 26 Feb 2011 12:22:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752122Ab1BZMWd (ORCPT ); Sat, 26 Feb 2011 07:22:33 -0500 Received: from devils.ext.ti.com ([198.47.26.153]:47241 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752024Ab1BZMWd (ORCPT ); Sat, 26 Feb 2011 07:22:33 -0500 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id p1QCMTnn009568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Feb 2011 06:22:31 -0600 Received: from localhost.localdomain (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id p1QCMJeE021470; Sat, 26 Feb 2011 17:52:26 +0530 (IST) From: Lesly A M To: linux-omap@vger.kernel.org Cc: Lesly A M , Nishanth Menon , David Derrick , Samuel Ortiz Subject: [PATCH 3/8] omap3: pm: Correcting the sys_offmode signal polarity Date: Sat, 26 Feb 2011 17:55:34 +0530 Message-Id: <1298723139-1693-4-git-send-email-leslyam@ti.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1298723139-1693-1-git-send-email-leslyam@ti.com> References: <1298723139-1693-1-git-send-email-leslyam@ti.com> 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]); Sat, 26 Feb 2011 12:22:34 +0000 (UTC) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index e46f4b5..8a7c756 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -1034,6 +1034,10 @@ static int __init omap3_pm_init(void) printk(KERN_ERR "Power Management for TI OMAP3.\n"); + /* Changing the polarity of the sys_offmode signal to active low */ + omap2_prm_clear_mod_reg_bits(OMAP3430_OFFMODE_POL_MASK, + OMAP3430_GR_MOD, OMAP3_PRM_POLCTRL_OFFSET); + /* XXX prcm_setup_regs needs to be before enabling hw * supervised mode for powerdomains */ prcm_setup_regs();