This patch adds I2C bus recovery support to the bcm-iproc I2C driver. use the existing generic recovery mechanism by providing the hooks needed to get and set the SCL and SDA lines.
The device must be placed in bit-bang mode before recovery starts and returned to normal operation when complete. Richard Laing (1): Add i2c recovery handling for bcm-iproc based devices. drivers/i2c/busses/i2c-bcm-iproc.c | 120 +++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) -- 2.1.4