imx6: add i2c retries for Ventana /dev/i2c-0
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 28 Dec 2015 04:56:13 +0000 (04:56 +0000)
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 28 Dec 2015 04:56:13 +0000 (04:56 +0000)
commitb289f0d559cee6f8c833cc446620b97406fd0188
tree2ab3e54654c1a0be7b9692aea98ea1a5a0048884
parentbe7d9f24e79e248718414f48f8b61df657568193
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48012 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/imx6/patches-4.3/207-i2c-imx-add-retries-for-NAK-s-on-ventana-boards.patch [new file with mode: 0644]