u-boot/arch/arm/include/asm/arch-tegra
Stephen Warren 68049a082b i2c: tegra: use repeated start for reads
I2C read transactions are typically implemented as follows:

START(write) address REPEATED_START(read) data... STOP

However, Tegra's I2C driver currently implements reads as follows:

START(write) address STOP START(read) data... STOP

This sequence confuses at least the AS3722 PMIC on the Jetson TK1 board,
leading to corrupted read data in some cases. Fix the driver to chain
the transactions together using repeated starts to solve this.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Yen Lin <yelin@nvidia.com>
2014-07-03 06:29:19 +02:00
..
ap.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
apb_misc.h ARM: tegra: use apb_misc.h in more places 2014-04-17 08:41:05 -07:00
board.h ARM: tegra: prototype pinmux_init() in board.h 2014-04-17 08:41:05 -07:00
clk_rst.h ARM: tegra: add/edit headers for Tegra124 2014-02-03 09:46:46 -07:00
clock.h ARM: tegra: don't exceed AVP limits when configuring PLLP 2014-02-03 09:46:45 -07:00
funcmux.h Tegra30: Add arch-tegra30 include files 2013-01-16 13:40:07 -07:00
fuse.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
gp_padctrl.h ARM: tegra: add/edit headers for Tegra124 2014-02-03 09:46:46 -07:00
gpio.h ARM: tegra: add GPIO initialization table function 2014-05-13 10:41:31 -07:00
mmc.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pinmux.h ARM: tegra: add function to enable input clamping on tristate 2014-05-13 10:41:31 -07:00
pmc.h ARM: tegra: fix pmc_pwrgate_timer_mult register definition 2014-03-05 16:59:08 -07:00
scu.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sys_proto.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
tegra.h ARM: tegra: fix NV_PA_CSITE_BASE for Tegra124 2014-03-05 16:59:08 -07:00
tegra_i2c.h i2c: tegra: use repeated start for reads 2014-07-03 06:29:19 +02:00
tegra_mmc.h ARM: tegra: set CONFIG_SYS_MMC_MAX_DEVICE 2014-05-13 10:41:31 -07:00
timer.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
uart.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
usb.h usb: tegra: support device mode 2014-05-15 00:21:17 +02:00
warmboot.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00