From patchwork Thu Nov 26 13:18:50 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 63171 X-Patchwork-Delegate: khilman@deeprootsystems.com 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 nAQDJ57s001297 for ; Thu, 26 Nov 2009 13:19:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760454AbZKZNS5 (ORCPT ); Thu, 26 Nov 2009 08:18:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760535AbZKZNS5 (ORCPT ); Thu, 26 Nov 2009 08:18:57 -0500 Received: from smtp.nokia.com ([192.100.122.230]:51634 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760435AbZKZNS5 (ORCPT ); Thu, 26 Nov 2009 08:18:57 -0500 Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx03.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id nAQDIuCv030752; Thu, 26 Nov 2009 15:18:58 +0200 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 26 Nov 2009 15:18:55 +0200 Received: from mgw-da01.ext.nokia.com ([147.243.128.24]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 26 Nov 2009 15:18:53 +0200 Received: from localhost.localdomain (cseresznye.ntc.nokia.com [172.22.144.108]) by mgw-da01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id nAQDIoKM002734; Thu, 26 Nov 2009 15:18:50 +0200 From: Peter Ujfalusi To: linux-omap@vger.kernel.org Cc: khilman@deeprootsystems.com, tony@atomide.com Subject: [PATCH] OMAP3: PM: Enable wake-up from McBSP2, 3 and 4 modules Date: Thu, 26 Nov 2009 15:18:50 +0200 Message-Id: <1259241530-26109-1-git-send-email-peter.ujfalusi@nokia.com> X-Mailer: git-send-email 1.6.5.3 X-OriginalArrivalTime: 26 Nov 2009 13:18:53.0694 (UTC) FILETIME=[004441E0:01CA6E9B] X-Nokia-AV: Clean 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 81ed252..6b17647 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -878,12 +878,16 @@ static void __init prcm_setup_regs(void) /* Enable wakeups in PER */ prm_write_mod_reg(OMAP3430_EN_GPIO2 | OMAP3430_EN_GPIO3 | OMAP3430_EN_GPIO4 | OMAP3430_EN_GPIO5 | - OMAP3430_EN_GPIO6 | OMAP3430_EN_UART3, + OMAP3430_EN_GPIO6 | OMAP3430_EN_UART3 | + OMAP3430_EN_MCBSP2 | OMAP3430_EN_MCBSP3 | + OMAP3430_EN_MCBSP4, 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_EN_UART3, + OMAP3430_GRPSEL_GPIO6 | OMAP3430_EN_UART3 | + OMAP3430_EN_MCBSP2 | OMAP3430_EN_MCBSP3 | + OMAP3430_EN_MCBSP4, OMAP3430_PER_MOD, OMAP3430_PM_MPUGRPSEL); /* Don't attach IVA interrupts */