u-boot/drivers/i2c
Rajeshwari Shinde cb466c056a I2C: S3C24X0: Bug fixes in i2c_transfer
This patch corrects the following issues

1) Write the correct M/T Stop value to I2CSTAT after i2c write.
   According to the spec, after finish the data transmission, we should
   write a M/T Stop (I2C_MODE_MT | I2C_TXRX_ENA) to I2CSTAT instead of
   a M/R Stop (I2C_MODE_MR | I2C_TXRX_ENA).
2) Not split the write to I2CSTAT into 2 steps in i2c read.
   According to the spec, we should write the combined M/R Start value to
   I2CSTAT after setting the slave address to I2CDS
3) Fix the mistake of making an equality check to an assignment.
   In the case of I2C write with the zero-length address, while tranfering the
   data, it should be an equality check (==) instead of an assignment (=).

Signed-off-by: Tom Wai-Hong Tam <waihong@chromium.org>
Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
2013-03-12 19:33:11 +01:00
..
bfin-twi_i2c.c Blackfin: TWI/I2C: implement multibus support 2010-05-05 10:04:38 +02:00
davinci_i2c.c drivers/i2c/davinci_i2c.c: Fix GCC 4.6 warning 2011-11-23 21:22:39 +01:00
designware_i2c.c designware_i2c: Fixed the setting of the i2c bus speed 2012-12-11 13:17:32 -07:00
designware_i2c.h designware_i2c.h: Define IC_CLK only if not already defined in config file 2012-12-11 13:17:32 -07:00
fsl_i2c.c ppc: m68k: Move i2c1_clk, i2c2_clk to arch_global_data 2013-02-04 09:05:42 -05:00
Makefile i2c: Add support for designware i2c controller 2012-04-24 09:56:37 +02:00
mv_i2c.c I2C: mv_i2c: fix multi-bus init issue 2011-10-03 11:50:09 +02:00
mv_i2c.h mv_i2c: use structure to replace the direclty define 2011-04-27 19:38:08 +02:00
mvtwsi.c Replace obsolete e-mail address 2011-04-27 19:38:09 +02:00
mxc_i2c.c i2c: Staticize local functions in mxc i2c driver 2012-12-11 13:17:29 -07:00
mxs_i2c.c i2c: mxs: Staticize the functions in the driver 2013-01-29 06:39:52 +01:00
omap24xx_i2c.c Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' 2013-01-08 13:15:45 +01:00
omap24xx_i2c.h Revert "ARM: I2C: I2C Multi byte address support" 2012-02-21 07:28:47 +01:00
omap1510_i2c.c Cleanup: fix "MHz" spelling 2008-10-21 11:25:39 +02:00
pca9564_i2c.c new PCA9564 i2c bridge driver 2009-10-30 15:10:58 +01:00
ppc4xx_i2c.c console: Squelch pre-console output in console functions 2011-10-01 21:54:49 +02:00
s3c24x0_i2c.c I2C: S3C24X0: Bug fixes in i2c_transfer 2013-03-12 19:33:11 +01:00
s3c24x0_i2c.h I2C: S3C24X0: Resolve build error for VCMA9 2013-01-14 14:45:30 +09:00
s3c44b0_i2c.c s3c44b0: move i2c driver to drivers/i2c 2009-03-29 23:01:40 +02:00
sh_i2c.c i2c: sh_i2c: use setbits/clrbits macro 2012-10-16 05:47:21 +02:00
sh_sh7734_i2c.c sh: i2c: Add support I2C controller of SH7734 2012-04-24 09:40:04 +02:00
soft_i2c.c soft_i2c: add necessary includes for AVR32 2012-12-11 13:17:29 -07:00
tegra_i2c.c Tegra20: Move some include files to arch-tegra for sharing with Tegra30 2012-10-15 11:54:06 -07:00
tsi108_i2c.c i2c: Update references to individual i2c commands 2009-06-12 20:39:46 +02:00
u8500_i2c.c I2C: Add driver for ST-Ericsson U8500 i2c 2011-06-01 19:22:47 +02:00
u8500_i2c.h I2C: Add driver for ST-Ericsson U8500 i2c 2011-06-01 19:22:47 +02:00