Re: [PATCH v2 0/7] I2C patches for v3.8 merge window

2012-11-05 Thread Felipe Balbi
Hi,

On Thu, Oct 25, 2012 at 03:25:08PM +0300, Felipe Balbi wrote:
 Hi,
 
 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.

Wolfram, patches 1-5 are ok to apply, we just need to rework patches 6
and 7 so drivers can report how many bytes managed to be transferred.
None of these patches cause any known regressions.

let me know if you want me to resend only the 5 patches which should be
applied.

cheers

-- 
balbi


signature.asc
Description: Digital signature


[PATCH v2 0/7] I2C patches for v3.8 merge window

2012-10-25 Thread Felipe Balbi
Hi,

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.

Changes since v1:
- remove unnecessary omap_i2c_init() in case of NACK
- drop i2c: omap: fix error checking

Felipe Balbi (6):
  i2c: omap: no need to access platform_device
  i2c: omap: reorder exit path of omap_i2c_xfer_msg()
  i2c: omap: also complete() when stat becomes zero
  i2c: omap: in case of VERSION_2 read IRQSTATUS_RAW but write to
IRQSTATUS
  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

 drivers/i2c/busses/i2c-omap.c | 124 ++
 include/uapi/linux/i2c.h  |   1 +
 2 files changed, 65 insertions(+), 60 deletions(-)

-- 
1.8.0

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html