From patchwork Mon Feb 2 07:17:05 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Pakaravoor, Jagadeesh" X-Patchwork-Id: 5045 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 n127HroO031366 for ; Mon, 2 Feb 2009 07:17:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751547AbZBBHRw (ORCPT ); Mon, 2 Feb 2009 02:17:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752071AbZBBHRw (ORCPT ); Mon, 2 Feb 2009 02:17:52 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:54531 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751547AbZBBHRv convert rfc822-to-8bit (ORCPT ); Mon, 2 Feb 2009 02:17:51 -0500 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id n127H9bI003031; Mon, 2 Feb 2009 01:17:15 -0600 Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id n127H7JD017499; Mon, 2 Feb 2009 12:47:08 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde70.ent.ti.com ([172.24.170.148]) with mapi; Mon, 2 Feb 2009 12:47:07 +0530 From: "Pakaravoor, Jagadeesh" To: Ben Dooks CC: "linux-i2c@vger.kernel.org" , "linux-omap@vger.kernel.org" Date: Mon, 2 Feb 2009 12:47:05 +0530 Subject: RE: [PATCH] I2C: OMAP: Add missing wakeup events Thread-Topic: [PATCH] I2C: OMAP: Add missing wakeup events Thread-Index: Acl9N33zChz3/mktRWGV47Z+ea2MngHznBLg Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Ben, Did you get a chance to look at this patch? -----Original Message----- From: linux-i2c-owner@vger.kernel.org [mailto:linux-i2c-owner@vger.kernel.org] On Behalf Of Pakaravoor, Jagadeesh Sent: Friday, January 23, 2009 2:19 PM To: linux-i2c@vger.kernel.org Cc: linux-omap@vger.kernel.org; Ben Dooks Subject: [PATCH] I2C: OMAP: Add missing wakeup events From: Jagadeesh Bhaskar Pakaravoor Include wake up events for receiver overflow and transmitter underflow in OMAP_I2C_WE_REG configuration. Also fix a small typo. Signed-off-by: Jagadeesh Bhaskar Pakaravoor Acked-by: Tony Lindgren --- -- With Regards, Jagadeesh Bhaskar P ---------------------------- Some men see things as they are and say why - I dream things that never were and say why not. - George Bernard Shaw ---------------------------- -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: kernel_org/drivers/i2c/busses/i2c-omap.c =================================================================== --- kernel_org.orig/drivers/i2c/busses/i2c-omap.c 2009-01-23 12:46:58.000000000 +0530 +++ kernel_org/drivers/i2c/busses/i2c-omap.c 2009-01-23 14:15:52.187150630 +0530 @@ -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 | \