Re: [PATCH v2 1/3] dt-bindings: i2c: gpio: Add 'transition-delay-us' property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rob, Hi Peter,

On 6/3/24 17:58, Rob Herring wrote:
On Wed, May 29, 2024 at 02:13:37PM +0200, Peter Rosin wrote:
Hi!

2024-05-29 at 11:17, Bastien Curutchet wrote:
I2C MUXes described by the i2c-gpio-mux sometimes need a significant
amount of time to switch from a bus to another. When a new bus is
selected, the first I2C transfer can fail if it occurs too early. There
is no way to describe this transition delay that has to be waited before
starting the first I2C transfer.

Add a 'transition-delay-us' property that indicates the delay to be
respected before doing the first i2c transfer.

The io-channel-mux has a property with very similar intent named
settle-time-us [1]. I think we should use the same name here.

[1] Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml

Agreed. I knew we had something and went looking... I only checked the
base mux and i2c mux bindings.


Ok I'll do this in V3, thank you.

Best regards
Bastien




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux