imx6: add i2c retries for Ventana /dev/i2c-0
authorLuka Perkov <luka@openwrt.org>
Mon, 28 Dec 2015 04:56:13 +0000 (04:56 +0000)
committerLuka Perkov <luka@openwrt.org>
Mon, 28 Dec 2015 04:56:13 +0000 (04:56 +0000)
commit2578f0183c64b49218d2e5714480078adfc6e120
treea5a625b69516c19571414c7cbf2386dfae309787
parent158b5b4231e6e579d76b6fea0eef6bcd87ff4e1b
imx6: add i2c retries for Ventana /dev/i2c-0

On Ventana boards the Gateworks System Controller is the only device on I2C1
(/dev/i2c-0) and it can NAK transfers if it is busy in an ADC loop. Because
this is a multi-function device with several slave addresses it is best to
add retries at the controller level instead of within each slave driver. This
adds a patch that adds 3 retries for i2c transactions only for Ventana boards
and only for I2C1

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 48012
target/linux/imx6/patches-4.3/207-i2c-imx-add-retries-for-NAK-s-on-ventana-boards.patch [new file with mode: 0644]