]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: i2c: spacemit: k3: Add compatible
authorYixun Lan <dlan@kernel.org>
Wed, 25 Mar 2026 09:49:24 +0000 (09:49 +0000)
committerAndi Shyti <andi.shyti@kernel.org>
Thu, 26 Mar 2026 22:25:27 +0000 (23:25 +0100)
Add a compatible string for the I2C controller found in SpacemiT K3 SoC
which use same I2C IP as K1, so make it fallback to K1 compatible.

Signed-off-by: Yixun Lan <dlan@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Link: https://lore.kernel.org/r/20260325-02-k3-i2c-v1-1-78f29c83d9ac@kernel.org
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml

index 5896fb120501166d28be20f9d12c25fa02af15c4..8c04c675b25eced88effd6bd0799bc589cec4740 100644 (file)
@@ -14,7 +14,11 @@ allOf:
 
 properties:
   compatible:
-    const: spacemit,k1-i2c
+    oneOf:
+      - items:
+          - const: spacemit,k3-i2c
+          - const: spacemit,k1-i2c
+      - const: spacemit,k1-i2c
 
   reg:
     maxItems: 1