[PATCH 05/12] i2c: pxa: Add bus reset functionality
Vaibhav Hiremath
vaibhav.hiremath at linaro.org
Tue Jun 2 10:40:32 PDT 2015
On Tuesday 02 June 2015 11:03 PM, Wolfram Sang wrote:
>
>> Since there is some problematic i2c slave devices on some
>> platforms such as dkb (sometimes), it will drop down sda
>> and make i2c bus hang, at that time, it need to config
>> scl/sda into gpio to simulate "stop" sequence to recover
>> i2c bus, so add this interface.
>
> Please note that the i2c core has a bus recovery infrastructure.
> Search i2c.h for struct i2c_bus_recovery_info.
>
Yeah,
I assume you are referring to "i2c_generic_gpio_recovery", right?
Rob had suggested this, and will be using it in my next version.
Thanks,
Vaibhav
More information about the linux-arm-kernel
mailing list