Re: [PATCH 1/7] iio: imu: adis16475: Use the reset timeouts of the ADIS1657x
From: Joshua Crofts
Date: Thu Nov 26 2026 - 08:34:12 EST
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>
--
Kind regards,
Joshua Crofts