[PATCH v3 1/2] dt-bindings: i2c-mux: Add property for settle time

From: Horatiu Vultur
Date: Mon Nov 01 2021 - 08:26:21 EST


Some HW requires some time for the signals to settle after the muxing is
changed. Allow this time to be specified in device tree.

Signed-off-by: Horatiu Vultur <horatiu.vultur@xxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/i2c/i2c-mux.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux.yaml b/Documentation/devicetree/bindings/i2c/i2c-mux.yaml
index 24cac36037f5..4628ff6340c1 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-mux.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-mux.yaml
@@ -29,6 +29,12 @@ properties:
'#size-cells':
const: 0

+ settle-time-us:
+ default: 0
+ description:
+ The time required for the signals to settle. Currently only the
+ i2c-mux-gpmux driver supports this optional binding.
+
patternProperties:
'^i2c@[0-9a-f]+$':
$ref: /schemas/i2c/i2c-controller.yaml
--
2.33.0