summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEncrow Thorne <jyc0019@gmail.com>2025-12-30 18:06:51 +0300
committerAndi Shyti <andi.shyti@kernel.org>2026-01-07 20:41:20 +0300
commitad0876a84631fee7b0ad4cd8118b9696aa566671 (patch)
tree6967c370292228729ce41ef156c1e972a3394d62
parenta7b79464a5e4b95adf7c3da66d287b1944824b91 (diff)
downloadlinux-ad0876a84631fee7b0ad4cd8118b9696aa566671.tar.xz
dt-bindings: i2c: spacemit: add optional resets
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
-rw-r--r--Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml b/Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml
index b7220fff2235..5896fb120501 100644
--- a/Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml
@@ -41,6 +41,9 @@ properties:
default: 400000
maximum: 3300000
+ resets:
+ maxItems: 1
+
required:
- compatible
- reg