From eb9f5d3210896c1c21304996fb88df6f6ab401f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Lebrun?= Date: Wed, 21 Feb 2024 17:42:18 +0100 Subject: [PATCH] schemas: i2c: Add transfer timeout property to controller MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Théo Lebrun --- dtschema/schemas/i2c/i2c-controller.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dtschema/schemas/i2c/i2c-controller.yaml b/dtschema/schemas/i2c/i2c-controller.yaml index 8cf9171a..09b256f0 100644 --- a/dtschema/schemas/i2c/i2c-controller.yaml +++ b/dtschema/schemas/i2c/i2c-controller.yaml @@ -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: