dt-bindings: i2c: omap: Add mux-states property
authorJayesh Choudhary <j-choudhary@ti.com>
Tue, 18 Mar 2025 10:36:21 +0000 (16:06 +0530)
committerAndi Shyti <andi.shyti@kernel.org>
Fri, 21 Mar 2025 00:31:02 +0000 (01:31 +0100)
Add mux controller support for when the I2C lines are muxed after
signals come out of SoC and before they go to any client.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250318103622.29979-2-j-choudhary@ti.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml

index 8c2e35fabf5b40c6a28ba28c302229848a16eb38..58d32ceeacfc80b29823fadceea873ea8b5158ac 100644 (file)
@@ -47,6 +47,11 @@ properties:
     $ref: /schemas/types.yaml#/definitions/string
     deprecated: true
 
+  mux-states:
+    description:
+      mux controller node to route the I2C signals from SoC to clients.
+    maxItems: 1
+
 required:
   - compatible
   - reg
@@ -87,4 +92,5 @@ examples:
         interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
         #address-cells = <1>;
         #size-cells = <0>;
+        mux-states = <&i2c_mux 1>;
     };