From: Aaro Koskinen <aaro.koskinen@nokia.com>
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 [thread overview]
Message-ID: <1255342885-15786-1-git-send-email-aaro.koskinen@nokia.com> (raw)
From: Jagadeesh Bhaskar Pakaravoor <j-pakaravoor@ti.com>
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 <j-pakaravoor@ti.com>
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
---
drivers/i2c/busses/i2c-omap.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
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 | \
--
1.6.0.4
next reply other threads:[~2009-10-12 10:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-12 10:21 Aaro Koskinen [this message]
2009-10-12 16:21 ` [PATCH RESEND] I2C: OMAP: Add missing wakeup events Sonasath, Moiz
2009-10-12 16:35 ` Sonasath, Moiz
[not found] ` <CD8CC2B65FEE304DA95744A5472698F2029E37200E-UmuGNrFEPrGIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2009-10-13 9:52 ` Aaro Koskinen
2009-10-13 22:12 ` Sonasath, Moiz
2009-10-14 13:25 ` Woodruff, Richard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1255342885-15786-1-git-send-email-aaro.koskinen@nokia.com \
--to=aaro.koskinen@nokia.com \
--cc=ben-linux@fluff.org \
--cc=j-pakaravoor@ti.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox