[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <oh4nijkjbv4rmti3vje57keiij6l6xtaqfk3phtqvfpfucrfiu@3fmihuzdpkxw>
Date: Tue, 9 Jul 2024 23:43:26 +0200
From: Andi Shyti <andi.shyti@...nel.org>
To: Bastien Curutchet <bastien.curutchet@...tlin.com>
Cc: Peter Rosin <peda@...ntia.se>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
Peter Korsgaard <peter.korsgaard@...co.com>, Wolfram Sang <wsa@...nel.org>, linux-i2c@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>, Herve Codina <herve.codina@...tlin.com>,
Christopher Cordahi <christophercordahi@...ometrics.ca>
Subject: Re: [PATCH v3 3/3] i2c: mux: gpio: Add support for the
'settle-time-us' property
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@...tlin.com>
Reviewed-by: Andi Shyti <andi.shyti@...nel.org>
Thanks,
Andi
Powered by blists - more mailing lists