Skip to content
Commit 8574faf9 authored by Philby John's avatar Philby John Committed by Kevin Hilman
Browse files

i2c: davinci: bus recovery procedure to clear the bus



Come out of i2c time out condition by following the
bus recovery procedure outlined in the i2c protocol v3 spec.
The kernel must be robust enough to gracefully recover
from i2c bus failure without having to reset the machine.
This is done by first NACKing the slave, pulsing the SCL
line 9 times and then sending the stop command.

This patch has been tested on a DM6446 and DM355

Signed-off-by: default avatarPhilby John <pjohn@in.mvista.com>
Signed-off-by: default avatarSrinivasan, Nageswari <nageswari@ti.com>
Acked-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 82c0de11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment