Re: [U-Boot-Users] [PATCH 01/10] [ARM] MXC: insert bus busy check in i2c_probe

2008-07-07 Thread Jens Gehrlein
Wolfgang Denk schrieb: > In message <[EMAIL PROTECTED]> you wrote: >> You are right. 100 ms is too high, although it should be irrelevant for >> a U-Boot command. Measurement showed, that some 100 microseconds would >> be enough. Do you agree if I set the timeout value to 1 ms? Other proposals? >

Re: [U-Boot-Users] [PATCH 01/10] [ARM] MXC: insert bus busy check in i2c_probe

2008-07-07 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > You are right. 100 ms is too high, although it should be irrelevant for > a U-Boot command. Measurement showed, that some 100 microseconds would > be enough. Do you agree if I set the timeout value to 1 ms? Other proposals? Never say 100 ms is irrele

Re: [U-Boot-Users] [PATCH 01/10] [ARM] MXC: insert bus busy check in i2c_probe

2008-07-07 Thread Jens Gehrlein
Jean-Christophe PLAGNIOL-VILLARD schrieb: > On 16:50 Fri 04 Jul , Jens Gehrlein wrote: >> On fast CPUs the time between two chip queries can become too short >> to issue clear start and stop conditions. The bus seems to be blocked. >> This cannot be compensated by just waiting for completed byt

Re: [U-Boot-Users] [PATCH 01/10] [ARM] MXC: insert bus busy check in i2c_probe

2008-07-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:50 Fri 04 Jul , Jens Gehrlein wrote: > On fast CPUs the time between two chip queries can become too short > to issue clear start and stop conditions. The bus seems to be blocked. > This cannot be compensated by just waiting for completed byte transfer. > The patch introduces polling of t

[U-Boot-Users] [PATCH 01/10] [ARM] MXC: insert bus busy check in i2c_probe

2008-07-04 Thread Jens Gehrlein
On fast CPUs the time between two chip queries can become too short to issue clear start and stop conditions. The bus seems to be blocked. This cannot be compensated by just waiting for completed byte transfer. The patch introduces polling of the bus busy bit in the I2C controller's status register