u-boot/drivers/i2c
Timur Tabi 92477a631b fsl_i2c: increase I2C timeout values and make them configurable
The value of I2C_TIMEOUT in fsl_i2c.c has several problems.  First, it is
defined as CONFIG_HZ/4, but it is used as a count of microseconds, so it makes
no sense to derive it from a clock rate.  Second, the current value (250) is
too low for some boards, so it needs to be increased.  Third, the timeout
necessary for multiple-master arbitration is larger than the timeout for basic
read/write operations, so we shouldn't have a single constant for both timeouts.
Finally, it would be nice if we could override these values on a per-board
basis.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Wolfgang Denk <wd@denx.de>
Tested-by: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Peter Tyser <ptyser@xes-inc.com>
2009-09-06 11:26:05 +02:00
..
bfin-twi_i2c.c Blackfin: TWI/I2C: fix pure writes 2009-06-30 08:27:45 +02:00
davinci_i2c.c davinci: move i2c driver to drivers/i2c 2009-03-30 18:58:39 +02:00
fsl_i2c.c fsl_i2c: increase I2C timeout values and make them configurable 2009-09-06 11:26:05 +02:00
kirkwood_i2c.c Minor coding style cleanup. 2009-08-10 10:38:34 +02:00
Makefile arm, i2c: added support for the TWSI I2C Interface 2009-07-28 08:20:58 +02:00
mxc_i2c.c i.MX31: Start the I2C clock on driver initialisation 2009-02-14 10:00:51 +01:00
omap24xx_i2c.c OMAP I2C Fix the sampling clock. 2009-07-28 08:52:33 +02:00
omap1510_i2c.c Cleanup: fix "MHz" spelling 2008-10-21 11:25:39 +02:00
s3c24x0_i2c.c s3c24x0: move i2c driver to drivers/i2c 2009-03-30 18:58:40 +02:00
s3c44b0_i2c.c s3c44b0: move i2c driver to drivers/i2c 2009-03-29 23:01:40 +02:00
soft_i2c.c i2c: Create common default i2c_[set|get]_bus_speed() functions 2009-06-12 20:39:45 +02:00
tsi108_i2c.c i2c: Update references to individual i2c commands 2009-06-12 20:39:46 +02:00