From patchwork Mon Oct 19 22:14:42 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 54849 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9JMElAt011195 for ; Mon, 19 Oct 2009 22:14:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756265AbZJSWOl (ORCPT ); Mon, 19 Oct 2009 18:14:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756219AbZJSWOl (ORCPT ); Mon, 19 Oct 2009 18:14:41 -0400 Received: from mail-px0-f171.google.com ([209.85.216.171]:41757 "EHLO mail-px0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756153AbZJSWOk (ORCPT ); Mon, 19 Oct 2009 18:14:40 -0400 Received: by mail-px0-f171.google.com with SMTP id 1so734958pxi.33 for ; Mon, 19 Oct 2009 15:14:45 -0700 (PDT) Received: by 10.114.7.9 with SMTP id 9mr7438617wag.71.1255990485493; Mon, 19 Oct 2009 15:14:45 -0700 (PDT) Received: from localhost ([216.254.16.51]) by mx.google.com with ESMTPS id 20sm286553pzk.13.2009.10.19.15.14.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Oct 2009 15:14:45 -0700 (PDT) From: Kevin Hilman To: linux-omap@vger.kernel.org Subject: [PATCH 1/1] OMAP3: PM: enable UART3 module wakeups Date: Mon, 19 Oct 2009 15:14:42 -0700 Message-Id: <1255990482-16201-2-git-send-email-khilman@deeprootsystems.com> X-Mailer: git-send-email 1.6.4.3 In-Reply-To: <1255990482-16201-1-git-send-email-khilman@deeprootsystems.com> References: <1255990482-16201-1-git-send-email-khilman@deeprootsystems.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 378c2f6..8946319 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -639,14 +639,15 @@ static void __init prcm_setup_regs(void) prm_write_mod_reg(OMAP3430_IO_EN | OMAP3430_WKUP_EN, OCP_MOD, OMAP3_PRM_IRQENABLE_MPU_OFFSET); - /* Enable GPIO wakeups in PER */ + /* Enable wakeups in PER */ prm_write_mod_reg(OMAP3430_EN_GPIO2 | OMAP3430_EN_GPIO3 | OMAP3430_EN_GPIO4 | OMAP3430_EN_GPIO5 | - OMAP3430_EN_GPIO6, OMAP3430_PER_MOD, PM_WKEN); + OMAP3430_EN_GPIO6 | OMAP3430_EN_UART3, + OMAP3430_PER_MOD, PM_WKEN); /* and allow them to wake up MPU */ prm_write_mod_reg(OMAP3430_GRPSEL_GPIO2 | OMAP3430_EN_GPIO3 | OMAP3430_GRPSEL_GPIO4 | OMAP3430_EN_GPIO5 | - OMAP3430_GRPSEL_GPIO6, + OMAP3430_GRPSEL_GPIO6 | OMAP3430_EN_UART3, OMAP3430_PER_MOD, OMAP3430_PM_MPUGRPSEL); /* Don't attach IVA interrupts */