From patchwork Mon Oct 12 10:21:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Koskinen, Aaro (Nokia - FI/Espoo)" X-Patchwork-Id: 53094 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 n9CAWa23004501 for ; Mon, 12 Oct 2009 10:32:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755034AbZJLKXF (ORCPT ); Mon, 12 Oct 2009 06:23:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754718AbZJLKXE (ORCPT ); Mon, 12 Oct 2009 06:23:04 -0400 Received: from smtp.nokia.com ([192.100.105.134]:54564 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754640AbZJLKXC (ORCPT ); Mon, 12 Oct 2009 06:23:02 -0400 Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx09.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n9CALPcR027444; Mon, 12 Oct 2009 05:21:28 -0500 Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 12 Oct 2009 13:21:27 +0300 Received: from mgw-sa02.ext.nokia.com ([147.243.1.48]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 12 Oct 2009 13:21:26 +0300 Received: from localhost.localdomain (esdhcp041122.research.nokia.com [172.21.41.122]) by mgw-sa02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n9CALPVO028691; Mon, 12 Oct 2009 13:21:25 +0300 From: Aaro Koskinen To: ben-linux@fluff.org, linux-i2c@vger.kernel.org Cc: linux-omap@vger.kernel.org, j-pakaravoor@ti.com Subject: [PATCH RESEND] I2C: OMAP: Add missing wakeup events Date: Mon, 12 Oct 2009 13:21:25 +0300 Message-Id: <1255342885-15786-1-git-send-email-aaro.koskinen@nokia.com> X-Mailer: git-send-email 1.6.0.4 X-OriginalArrivalTime: 12 Oct 2009 10:21:26.0557 (UTC) FILETIME=[C17D54D0:01CA4B25] 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/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 827da08..34ea9ed 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -92,8 +92,10 @@ #define OMAP_I2C_STAT_AL (1 << 0) /* Arbitration lost int ena */ /* I2C WE wakeup enable register */ -#define OMAP_I2C_WE_XDR_WE (1 << 14) /* TX drain wakup */ +#define OMAP_I2C_WE_XDR_WE (1 << 14) /* TX drain wakeup */ #define OMAP_I2C_WE_RDR_WE (1 << 13) /* RX drain wakeup */ +#define OMAP_I2C_WE_ROVR_WE (1 << 11) /* RX overflow wakeup */ +#define OMAP_I2C_WE_XUDF_WE (1 << 10) /* TX underflow wakeup */ #define OMAP_I2C_WE_AAS_WE (1 << 9) /* Address as slave wakeup*/ #define OMAP_I2C_WE_BF_WE (1 << 8) /* Bus free wakeup */ #define OMAP_I2C_WE_STC_WE (1 << 6) /* Start condition wakeup */ @@ -104,6 +106,7 @@ #define OMAP_I2C_WE_AL_WE (1 << 0) /* Arbitration lost wakeup */ #define OMAP_I2C_WE_ALL (OMAP_I2C_WE_XDR_WE | OMAP_I2C_WE_RDR_WE | \ + OMAP_I2C_WE_ROVR_WE | OMAP_I2C_WE_XUDF_WE | \ OMAP_I2C_WE_AAS_WE | OMAP_I2C_WE_BF_WE | \ OMAP_I2C_WE_STC_WE | OMAP_I2C_WE_GC_WE | \ OMAP_I2C_WE_DRDY_WE | OMAP_I2C_WE_ARDY_WE | \