]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: i2c: spacemit: add optional resets
authorEncrow Thorne <jyc0019@gmail.com>
Tue, 30 Dec 2025 15:06:51 +0000 (23:06 +0800)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 7 Jan 2026 17:41:20 +0000 (18:41 +0100)
The I2C controller requires a reset to ensure it starts from a clean state.

Add the 'resets' property to support this hardware requirement.

Signed-off-by: Encrow Thorne <jyc0019@gmail.com>
Reviewed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20251230150653.42097-1-jyc0019@gmail.com
Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml

index b7220fff22350fd7dec86e503855a2b0cb13551e..5896fb120501166d28be20f9d12c25fa02af15c4 100644 (file)
@@ -41,6 +41,9 @@ properties:
     default: 400000
     maximum: 3300000
 
+  resets:
+    maxItems: 1
+
 required:
   - compatible
   - reg