mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 02:08:38 +00:00
960187ffa1
New i2c_read, i2c_write and i2c_probe functions, tested on OMAP4 (4430/60/70), OMAP5 (5430) and AM335X (3359); should work on older OMAPs and derivatives as well. The only anticipated exception would be the OMAP2420, which shall require driver modification. - Rewritten i2c_read to operate correctly with all types of chips (old function could not read consistent data from some I2C slaves). - Optimised i2c_write. - New i2c_probe, performs write access vs read. The old probe could hang the system under certain conditions (e.g. unconfigured pads). - The read/write/probe functions try to identify unconfigured bus. - Status functions now read irqstatus_raw as per TRM guidelines (except for OMAP243X and OMAP34XX). - Driver now supports up to I2C5 (OMAP5). Signed-off-by: Lubomir Popov <lpopov@mm-sol.com> Tested-by: Heiko Schocher <hs@denx.de> |
||
---|---|---|
.. | ||
bfin-twi_i2c.c | ||
davinci_i2c.c | ||
designware_i2c.c | ||
designware_i2c.h | ||
fsl_i2c.c | ||
Makefile | ||
mv_i2c.c | ||
mv_i2c.h | ||
mvtwsi.c | ||
mxc_i2c.c | ||
mxs_i2c.c | ||
omap24xx_i2c.c | ||
omap24xx_i2c.h | ||
omap1510_i2c.c | ||
pca9564_i2c.c | ||
ppc4xx_i2c.c | ||
s3c24x0_i2c.c | ||
s3c24x0_i2c.h | ||
s3c44b0_i2c.c | ||
sh_i2c.c | ||
sh_sh7734_i2c.c | ||
soft_i2c.c | ||
tegra_i2c.c | ||
tsi108_i2c.c | ||
u8500_i2c.c | ||
u8500_i2c.h | ||
zynq_i2c.c |