linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] I2C patches for v3.8 merge window
@ 2012-10-22  9:46 Felipe Balbi
  2012-10-22  9:46 ` [PATCH 1/8] i2c: omap: no need to access platform_device Felipe Balbi
                   ` (5 more replies)
  0 siblings, 6 replies; 60+ messages in thread
From: Felipe Balbi @ 2012-10-22  9:46 UTC (permalink / raw)
  To: linux-i2c-u79uwXL29TY76Z2rM5mHXA
  Cc: Linux OMAP Mailing List, Tony Lindgren, Benoit Cousson,
	Linux ARM Kernel Mailing List, w.sang-bIcnvbaLZ9MEGnE8C9+IrQ,
	ben-linux-elnMNo+KYs3YtjvyW6yDsg, Shubhrajyoti Datta,
	Santosh Shilimkar, Felipe Balbi

Hi guys,

here's another series for OMAP I2C driver. There are a few cleanups
and one very nice new feature: we can now report how many bytes
we transferred until NACK.

Note that the implemementation for OMAP-I2C turned out to be a
little more complex then I expected, mainly because of the way
I2C_CNT register behaves and because of the very buggy register
usage on that driver.

I have boot tested all patches on beagle xM (3630) and pandaboard
rev A3 (4430), will send boot-logs if anyone wants to see.

All patches are available at [1] if anyone wants an easy way to
test the patches.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git i2c-transferred-bytes-on-NACK

Felipe Balbi (7):
  i2c: omap: no need to access platform_device
  i2c: omap: reorder exit path of omap_i2c_xfer_msg()
  i2c: omap: fix error checking
  i2c: omap: also complete() when stat becomes zero
  i2c: omap: introduce and use OMAP_I2C_IP_VERSION_3
  i2c: omap: wait for transfer completion before sending STP bit
  i2c: omap: implement handling for 'transferred' bytes

Shubhrajyoti D (1):
  i2c: add 'transferred' field to struct i2c_msg

 arch/arm/mach-omap2/i2c.c                  |   3 +-
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c |   2 +-
 drivers/i2c/busses/i2c-omap.c              | 156 ++++++++++++++++-------------
 include/linux/i2c-omap.h                   |   1 +
 include/uapi/linux/i2c.h                   |   1 +
 5 files changed, 89 insertions(+), 74 deletions(-)

-- 
1.8.0.rc0

^ permalink raw reply	[flat|nested] 60+ messages in thread

end of thread, other threads:[~2012-11-14 16:58 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-22  9:46 [PATCH 0/8] I2C patches for v3.8 merge window Felipe Balbi
2012-10-22  9:46 ` [PATCH 1/8] i2c: omap: no need to access platform_device Felipe Balbi
2012-10-22  9:46 ` [PATCH 2/8] i2c: omap: reorder exit path of omap_i2c_xfer_msg() Felipe Balbi
2012-10-25 11:40   ` Shubhrajyoti Datta
     [not found]     ` <CAM=Q2cvUeLbS20HScrGTOcraSUrCzhzCi8MQLxd9MOb_7ZFFYA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-10-25 12:01       ` Felipe Balbi
2012-10-22  9:46 ` [PATCH 5/8] i2c: omap: introduce and use OMAP_I2C_IP_VERSION_3 Felipe Balbi
     [not found]   ` <1350899218-13624-6-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2012-10-22 12:27     ` Benoit Cousson
2012-10-22 12:28       ` Felipe Balbi
     [not found]         ` <20121022122853.GW14033-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2012-10-22 13:05           ` Benoit Cousson
     [not found]             ` <50854490.4060306-l0cyMroinI0@public.gmane.org>
2012-10-22 13:09               ` Felipe Balbi
2012-10-22 13:18     ` [PATCH v2 5/8] i2c: omap: in case of VERSION_2 read IRQSTATUS_RAW but write to IRQSTATUS Felipe Balbi
     [not found] ` <1350899218-13624-1-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2012-10-22  9:46   ` [PATCH 3/8] i2c: omap: fix error checking Felipe Balbi
     [not found]     ` <1350899218-13624-4-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2012-10-24 14:41       ` Michael Trimarchi
     [not found]         ` <5087FE07.6090504-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
2012-10-25 10:10           ` Felipe Balbi
     [not found]             ` <20121025101010.GC21217-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2012-10-25 10:33               ` Michael Trimarchi
     [not found]                 ` <5089156E.7020701-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
2012-10-25 10:48                   ` Felipe Balbi
2012-10-22  9:46   ` [PATCH 4/8] i2c: omap: also complete() when stat becomes zero Felipe Balbi
2012-10-22  9:46   ` [PATCH 6/8] i2c: omap: wait for transfer completion before sending STP bit Felipe Balbi
2012-10-22  9:46   ` [PATCH 7/8] i2c: add 'transferred' field to struct i2c_msg Felipe Balbi
2012-10-25 12:57     ` Jean Delvare
     [not found]       ` <20121025145748.760c218b-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-10-25 13:14         ` Russell King - ARM Linux
2012-10-25 13:42           ` Jean Delvare
     [not found]             ` <20121025154202.41f3cbba-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-10-25 13:46               ` Russell King - ARM Linux
     [not found]                 ` <20121025134609.GH28061-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2012-10-25 13:56                   ` Jean Delvare
     [not found]                     ` <20121025155633.609c5554-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-10-25 14:18                       ` Russell King - ARM Linux
     [not found]                         ` <20121025141800.GI28061-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2012-10-27 14:32                           ` Jean Delvare
     [not found]                             ` <20121027163224.67d57aef-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-10-27 16:40                               ` Al Viro
2012-10-27 17:02                                 ` Al Viro
     [not found]                                   ` <20121027170235.GA24388-3bDd1+5oDREiFSDQTTA3OLVCufUGDwFn@public.gmane.org>
2012-10-27 17:10                                     ` Al Viro
2012-10-27 19:03                                       ` Jean Delvare
2012-10-27 17:25                               ` Russell King - ARM Linux
2012-10-22  9:46   ` [PATCH 8/8] i2c: omap: implement handling for 'transferred' bytes Felipe Balbi
2012-10-22 13:30 ` [PATCH 0/8] I2C patches for v3.8 merge window Felipe Balbi
     [not found]   ` <20121022133023.GC14033-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2012-10-22 14:06     ` Shubhrajyoti Datta
2012-10-22 14:06       ` Felipe Balbi
2012-10-22 15:02         ` Shubhrajyoti
     [not found]       ` <CAM=Q2ctS3hxngk5efcvScAdv-2GtH2pHRZoxRhRTiOWmQA-AXw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-14 16:58         ` Wolfram Sang
2012-10-25 12:25 ` [PATCH v2 0/7] " Felipe Balbi
     [not found]   ` <1351167915-15079-1-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2012-10-25 12:25     ` [PATCH v2 1/7] i2c: omap: no need to access platform_device Felipe Balbi
     [not found]       ` <1351167915-15079-2-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2012-10-25 12:41         ` Santosh Shilimkar
2012-10-25 12:25     ` [PATCH v2 2/7] i2c: omap: reorder exit path of omap_i2c_xfer_msg() Felipe Balbi
     [not found]       ` <1351167915-15079-3-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2012-10-25 12:42         ` Santosh Shilimkar
     [not found]           ` <50893398.6070004-l0cyMroinI0@public.gmane.org>
2012-10-25 12:40             ` Felipe Balbi
2012-10-25 12:53           ` Lothar Waßmann
2012-10-25 12:25     ` [PATCH v2 3/7] i2c: omap: also complete() when stat becomes zero Felipe Balbi
     [not found]       ` <1351167915-15079-4-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2012-10-25 12:43         ` Santosh Shilimkar
     [not found]           ` <508933E4.7070608-l0cyMroinI0@public.gmane.org>
2012-10-25 12:39             ` Felipe Balbi
2012-10-25 12:25     ` [PATCH v2 4/7] i2c: omap: in case of VERSION_2 read IRQSTATUS_RAW but write to IRQSTATUS Felipe Balbi
     [not found]       ` <1351167915-15079-5-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2012-10-25 12:53         ` Santosh Shilimkar
     [not found]           ` <50893665.60604-l0cyMroinI0@public.gmane.org>
2012-10-25 12:52             ` Felipe Balbi
2012-10-25 13:06               ` Santosh Shilimkar
2012-10-25 12:25     ` [PATCH v2 5/7] i2c: omap: wait for transfer completion before sending STP bit Felipe Balbi
2012-10-25 12:32       ` Felipe Balbi
2012-10-25 12:34       ` [PATCH v3 " Felipe Balbi
     [not found]       ` <1351167915-15079-6-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2012-10-25 13:01         ` [PATCH v2 " Santosh Shilimkar
2012-10-25 14:15           ` Felipe Balbi
2012-10-25 12:25     ` [PATCH v2 7/7] i2c: omap: implement handling for 'transferred' bytes Felipe Balbi
     [not found]       ` <1351167915-15079-8-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2012-10-27 18:55         ` Paul Walmsley
2012-11-05  8:10     ` [PATCH v2 0/7] I2C patches for v3.8 merge window Felipe Balbi
2012-10-25 12:25   ` [PATCH v2 6/7] i2c: add 'transferred' field to struct i2c_msg Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).