lkml.org 
[lkml]   [2016]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] i2c: bcm2835: Set up the clock stretching timeout at boot.
Date
Wolfram Sang <wsa@the-dreams.de> writes:

>> + /*
>> + * SMBUS says "Devices participating in a transfer will
>> + * timeout when any clock low exceeds the value of
>> + * T_TIMEOUT,MIN of 25 ms."
>> + */
>
> SMBus has that timeout, but I2C doesn't. How about disabling the timeout
> simply? Or using the max value if you want to keep the timeout
> detection?

Disabling the timeout seems fine to me. We still have a 1-second
timeout around the entire transfer. I'll be back on my DSI branch this
week and test it out then.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2016-07-04 03:21    [W:0.095 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site