u-boot-brain/drivers/i2c
Shaveta Leekha a405764c1e drivers/i2c/fsl_i2c: modify i2c_read to handle multi-byte write
Most of the I2C slaves support accesses in the typical style
that is : read/write series of bytes at particular address offset.
These transactions look like:"
(1) START:Address:Tx:Offset:RESTART:Address[0..4]:Tx/Rx:data[0..n]:STOP"

However there are certain devices which support accesses in
terms of the transactions as follows:
(2) "START:Address:Tx:Txdata[0..n1]:Clock_stretching:
        RESTART:Address:Rx:data[0..n2]"
Here Txdata is typically a command and some associated data,
similarly Rxdata could be command status plus some data received
as a response to the command sent.

Type (1) transactions are currently supportd in the
i2c driver using i2c_read and i2c_write APIs. I2C EEPROMs,
RTC, etc fall in this category.

To handle type (2) along with type (1) transactions,
i2c_read() function has been modified.

Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
2014-04-29 07:10:58 +02:00
..
bfin-twi_i2c.c blackfin: add spi and i2c specific get clock functions 2014-02-20 06:46:56 +01:00
davinci_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
designware_i2c.c designware_i2c: remove inclusion of <asm/arch/hardware.h> 2014-02-20 06:49:09 +01:00
designware_i2c.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_i2c.c drivers/i2c/fsl_i2c: modify i2c_read to handle multi-byte write 2014-04-29 07:10:58 +02:00
fti2c010.c i2c: fti2c010: fix compiler warning on paddr[] 2014-01-13 08:18:38 +01:00
fti2c010.h drivers/i2c: Update fti2c010.[ch], i2c_core.c to use SPDX identifiers 2013-07-25 08:51:42 -04:00
i2c_core.c i2c: Fix i2c speed command 2014-01-13 08:17:51 +01:00
kona_i2c.c i2c: kona: Add Kona I2C driver 2014-02-22 19:30:39 +01:00
Makefile i2c: kona: Add Kona I2C driver 2014-02-22 19:30:39 +01:00
mv_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mv_i2c.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mvtwsi.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxc_i2c.c driver/mxc_i2c: Move static data structure to global_data 2014-04-29 07:10:27 +02:00
mxs_i2c.c i2c: i2c-mxs: Wait for I2C to empty queue 2014-02-20 06:46:57 +01:00
omap24xx_i2c.c OMAP24xx I2C: Add support for set-speed 2014-02-20 06:48:23 +01:00
omap24xx_i2c.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pca9564_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ppc4xx_i2c.c Merge branch 'master' of git://git.denx.de/u-boot-i2c 2013-07-24 09:50:24 -04:00
rcar_i2c.c rcar_i2c: Clear status before start master receive 2014-01-13 08:16:48 +01:00
s3c24x0_i2c.c i2c: samsung: register i2c busses for Exynso5420 and Exynos5250 2013-12-06 07:46:23 +01:00
s3c24x0_i2c.h i2c: s3c24xx: add hsi2c controller support 2013-10-17 07:20:26 +02:00
sh_i2c.c i2c: sh_i2c: bugfix: i2c probe command does not work 2014-04-14 17:41:48 +09:00
sh_sh7734_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
soft_i2c.c ARM: IXP: Remove the IXP architecture support 2014-02-06 02:51:52 +01:00
tegra_i2c.c i2c: tegra: Add the fifth bus on SoC with more than 4 buses 2013-12-18 10:19:49 -07:00
tsi108_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u8500_i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u8500_i2c.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
zynq_i2c.c i2c: zynq: Add support for the second i2c controller 2014-02-20 06:46:55 +01:00