lkml.org 
[lkml]   [2021]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 0/4] P2040/P2041 i2c recovery erratum

> > I've been doing my recent work with a P2040 and prior to that I did test
> > out the recovery on a T2081 (which isn't documented to have this
> > erratum) when I was re-working the driver. The "new" recovery actually
> > seems better but I don't have a reliably faulty i2c device so that's
> > only based on me writing some code to manually trigger the recovery
> > (using the snippet below) and observing it with an oscilloscope.
>
> You don't need a faulty device, just an aborted I2C read/write op.

If you can wire GPIOs to the bus, you can use the I2C fault injector:

Documentation/i2c/gpio-fault-injection.rst

There are already two "incomplete transfer" injectors.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2021-05-12 17:31    [W:0.053 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site