Re: [PATCH 1/7] iio: imu: adis16475: Use the reset timeouts of the ADIS1657x

From: Jonathan Cameron

Date: Sat Nov 28 2026 - 16:49:48 EST


On Thu, 26 Nov 2026 14:34:04 +0100
Joshua Crofts <crofts@xxxxxxxxxx> wrote:

> On 23-Nov-26 14:25, Radu Sabau via B4 Relay wrote:
> > From: Radu Sabau <radu.sabau@xxxxxxxxxx>
> >
> > The ADIS1657x variants share the timeouts of the ADIS1647x parts, which
> > wait 200 ms after a reset. The ADIS1657x datasheets give a longer
> > recovery: about 275 ms after a hardware reset, 241 ms after a software
> > reset and 282 ms from power on.
> >
> > Reading the product ID right after the shorter wait returns 0 on an
> > ADIS16577-2, so the warning about a product ID mismatch is printed, and
> > the registers written while the part is still starting up are lost. This
> > includes the FIFO control bits written at probe (watermark pin polarity
> > and enable, and the overflow behaviour), so the watermark pin is never
> > driven and the FIFO does not behave as configured.
> >
> > Give the ADIS1657x variants their own timeouts, a bit above the typical
> > values from the datasheet.
> >
> > Fixes: f95920baa066 ("drivers: iio: imu: Add support for adis1657x family")
> > Signed-off-by: Radu Sabau <radu.sabau@xxxxxxxxxx>
> > ---
> Reviewed-by: Joshua Crofts <crofts@xxxxxxxxxx>
>
Applied this one to the testing branch of iio.git and marked it for stable.
Note that means v2 will need to have appropriate markings in the cover letter
for sashiko to find that patch if it stops the others applying.
b4 does a good job of generating those markings and I understand Sashiko
now understands those.

Thanks,

Jonathan