Re: [PATCH 2/3] iio: adc: ti-ads7924: Wait after hardware reset

From: Joshua Crofts

Date: Thu Dec 03 2026 - 09:41:00 EST


On 03-Dec-26 14:39, Rickard Andersson wrote:
> From: Rickard x Andersson <rickard.andersson@xxxxxxxx>
>
> After the reset GPIO is deasserted, the driver immediately writes
> MODECNTRL. On a board where the reset line is on an I2C GPIO
> expander (TCA6424), this first write fails:
>
> ads7924 2-0049: failed to set awake mode (-EIO)
> ads7924 2-0049: error -EIO: failed to set conversion mode
>
> The device responds normally on the bus some time later. The
> datasheet does not specify a startup time after reset, so wait
> 10 ms before the first register access.
>
> Fixes: 4d82b2f98a25 ("iio: adc: ti-ads7924: add Texas Instruments ADS7924 driver")
> Signed-off-by: Rickard x Andersson <rickard.andersson@xxxxxxxx>
> ---
Makes sense.

Reviewed-by: Joshua Crofts <crofts@xxxxxxxxxx>

--
Kind regards,
Joshua Crofts