Skip to content

Commit

Permalink
schemas: i2c: Add transfer timeout property to controller
Browse files Browse the repository at this point in the history
Add 'i2c-transfer-timeout-us' property to i2c-controller.yaml signaling
the number of microseconds to wait before considering an I2C transfer
has failed.

Unit is microseconds (µs).

Reviewed-by: Wolfram Sang <[email protected]>
Signed-off-by: Théo Lebrun <[email protected]>
  • Loading branch information
tleb authored and robherring committed Feb 23, 2024
1 parent 9975007 commit eb9f5d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dtschema/schemas/i2c/i2c-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ properties:
Number of microseconds the clock line needs to be pulled down in order
to force a waiting state.

i2c-transfer-timeout-us:
description:
Number of microseconds to wait before considering an I2C transfer has
failed.

i2c-scl-has-clk-low-timeout:
type: boolean
description:
Expand Down

0 comments on commit eb9f5d3

Please sign in to comment.