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

From: Peter Rosin
Date: Wed Jul 10 2024 - 04:03:14 EST


2024-06-17 at 14:08, 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>

Acked-by: Peter Rosin <peda@xxxxxxxxxx>

Cheers,
Peter