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)
commitff682a597d9518ec29606622ef0334dc24685e46
tree2ab3e54654c1a0be7b9692aea98ea1a5a0048884
parent58213bed4ba20ba533c733babe330a294608e2eb
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]