Skip to content

Commit dc53dbe

Browse files
bastien-curutchetAndi Shyti
authored andcommitted
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 <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Acked-by: Peter Rosin <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
1 parent 064e911 commit dc53dbe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/devicetree/bindings/i2c/i2c-mux-gpio.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ properties:
5757
last value used.
5858
$ref: /schemas/types.yaml#/definitions/uint32
5959

60+
settle-time-us:
61+
description: Delay to wait before doing any transfer when a new bus gets selected.
62+
6063
allOf:
6164
- $ref: i2c-mux.yaml
6265

0 commit comments

Comments
 (0)