AnsweredAssumed Answered

LS102xA I2C Bus Recovery

Question asked by Mike Bend on Jul 14, 2017
Latest reply on Jul 16, 2017 by Pavel Chubakov

Hello,

 

I am developing a device using the TQMLS102xA module by TQ. My device integrates with several slave devices over a hot-swappable i2c bus, and there are circumstances where an i2c slave device will lock the i2c bus, preventing any writes/reads to any device on the bus.

 

This comment suggests that the i2c bus recovery functionality can be added to the kernel i2c driver (I believe the LS102xa uses the drivers/i2c/busses/i2c-imx.c i2c implementation).

However,

   a) The linked patch discussion suggests that it will not perform the bus recovery on the LS1021A. Is this correct? Is there any other way of performing the recovery when using an LS1021A?

   b) How can we trigger this bus recovery function from the userspace application using the i2c?

 

Thanks

Mike

Outcomes