]> www.infradead.org Git - users/hch/misc.git/commitdiff
dt-bindings: i2c: spacemit: extend and validate all properties
authorYixun Lan <dlan@gentoo.org>
Wed, 17 Sep 2025 03:38:13 +0000 (11:38 +0800)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 23 Sep 2025 19:16:48 +0000 (21:16 +0200)
Extend the K1 I2C properties by including generic i2c-controller schema.
and this will enable it to do the DT validation check later.

Signed-off-by: Yixun Lan <dlan@gentoo.org>
Reviewed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Tested-by: Alex Elder <elder@riscstar.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml

index 3d6aefb0d0f185ba64e414ac7f5b96cd18659fd3..226c600deae142413277117e25baae09f0918381 100644 (file)
@@ -9,6 +9,9 @@ title: I2C controller embedded in SpacemiT's K1 SoC
 maintainers:
   - Troy Mitchell <troymitchell988@gmail.com>
 
+allOf:
+  - $ref: /schemas/i2c/i2c-controller.yaml#
+
 properties:
   compatible:
     const: spacemit,k1-i2c