lkml.org 
[lkml]   [2010]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Short timeout for I2C transfers
Date
There are chips which doesn't work perfectly in certain
I2C operations. For example lp5523 led driver chip causes
always I2C timeout when SW reset is commanded to the chip.

Patches add a possibility to tell that this access is likely
to cause time out and there is no need to wait normal time.
For example in omap time out is 1 second and the bus is reserved
all the time.
By setting I2C_M_SHORT_TIMEOUT flag to i2c-message, adapter is
requested to use shorter timeout.

Samu Onkalo (2):
drivers: i2c-core: Add a flag to allow short timeout
drivers: i2c-omap: Add support for shorten I2C timeout

drivers/i2c/busses/i2c-omap.c | 9 ++++++++-
drivers/i2c/i2c-core.c | 2 +-
include/linux/i2c.h | 1 +
3 files changed, 10 insertions(+), 2 deletions(-)



\
 
 \ /
  Last update: 2010-10-13 15:49    [W:0.042 / U:0.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site