]> www.infradead.org Git - nvme.git/commit
dt-bindings: i2c: mux-gpio: Add 'settle-time-us' property
authorBastien Curutchet <bastien.curutchet@bootlin.com>
Mon, 17 Jun 2024 12:08:16 +0000 (14:08 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Sat, 20 Jul 2024 01:07:54 +0000 (03:07 +0200)
commitdc53dbe3e79008ca7c1bc5e5ae2c71b52161f96d
tree79668ebf51fccd66e986724635528dc4bcd5ef92
parent064e911392177e8c39e395f748fb4ae8ffb18e92
dt-bindings: i2c: mux-gpio: Add 'settle-time-us' property

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 'settle-time-us' property that indicates the delay to be
respected before doing the first i2c transfer.

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Acked-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Documentation/devicetree/bindings/i2c/i2c-mux-gpio.yaml