Re: [PATCH v3 3/3] i2c: mux: gpio: Add support for the 'settle-time-us' property

From: Andi Shyti
Date: Tue Jul 09 2024 - 17:43:37 EST


Hi,

On Mon, Jun 17, 2024 at 02:08:18PM GMT, Bastien Curutchet wrote:
> Some hardware need some time to switch from a bus to another. This can
> cause the first transfers following the selection of a bus to fail.
> There is no way to configure this kind of waiting time in the driver.
>
> Add support for the 'settle-time-us' device-tree property. When set,
> the i2c_mux_gpio_select() applies a delay before returning, leaving
> enough time to the hardware to switch to the new bus.
>
> Signed-off-by: Bastien Curutchet <bastien.curutchet@xxxxxxxxxxx>

Reviewed-by: Andi Shyti <andi.shyti@xxxxxxxxxx>

Thanks,
Andi