Re: [PATCH] Add i2c recovery handling for bcm-iproc based devices.

2019-03-22 Thread Ray Jui
Hi Richard, On 3/21/2019 4:35 PM, Richard Laing wrote: > It is possible for the i2c bus to become locked up preventing > communication with devices on the bus, add the hooks required to > allow the existing i2c recovery code to be used to clear the lock up.> Can you be more specific on how the lo

[PATCH] Add i2c recovery handling for bcm-iproc based devices.

2019-03-21 Thread Richard Laing
It is possible for the i2c bus to become locked up preventing communication with devices on the bus, add the hooks required to allow the existing i2c recovery code to be used to clear the lock up. Before the recovery can be perfored the device needs to be configured in the bit-bang mode allow the

[PATCH] Add I2C recovery handling for bcm-iproc based devices.

2019-03-21 Thread Richard Laing
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. R