dt-bindings: i2c: spacemit: extend and validate all properties
Subsystems (5)
PATCH 1/1 dt-bindings: i2c: spacemit: extend and validate all properties
Extend the K1 I2C properties by including generic i2c-controller schema. and this will enable it to do the DT validation check later.
---arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: i2c@d401d800: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'pmic@41' were unexpected)
--- Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml +3 -0
@@ -9,6 +9,9 @@ title: I2C controller embedded in SpacemiT's K1 SoC maintainers: - Troy Mitchell <[email protected]> +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + properties: compatible: const: spacemit,k1-i2c
---
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
change-id: 20250917-01-k1-i2c-schema-faf6715d7b88
Best regards,
Signature · 1 line
Yixun Lan
Quoted 17 lines · Yixun Lan
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 <[email protected]>---
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: i2c@d401d800: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'pmic@41' were unexpected)--- Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml | 3 +++ 1 file changed, 3 insertions(+)Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml +0
-0
Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml title: I2C controller embedded in SpacemiT's K1 SoC · line 14
Quoted 6 lines
Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml +3
-0@@ -9,6 +9,9 @@ title: I2C controller embedded in SpacemiT's K1 SoC maintainers: - Troy Mitchell <[email protected]> +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# +
oops, I forgot to add this..
Thanks for your fix!
Quoted 17 lines
Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml +0
-1properties: compatible: const: spacemit,k1-i2c ---base-commit:
8f5ae30d69d7543eee0d70083daf4de8fe15d585
change-id: 20250917-01-k1-i2c-schema-faf6715d7b88Best regards,
Signature · 7 lines
Yixun Lan _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 4 lines · Yixun Lan
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 <[email protected]>
Quoted 28 lines
---
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: i2c@d401d800: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'pmic@41' were unexpected)--- Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml | 3 +++ 1 file changed, 3 insertions(+)Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml +3
-1@@ -9,6 +9,9 @@ title: I2C controller embedded in SpacemiT's K1 SoC maintainers: - Troy Mitchell <[email protected]> +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + properties: compatible: const: spacemit,k1-i2c ---base-commit:
8f5ae30d69d7543eee0d70083daf4de8fe15d585
change-id: 20250917-01-k1-i2c-schema-faf6715d7b88Best regards,
Wolfram Sang
AppliedQuoted 7 lines · Yixun Lan
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 <[email protected]>Reviewed-by Troy Mitchell <[email protected]>Tested-by Alex Elder <[email protected]>Acked-by Conor Dooley <[email protected]>
Applied to for-current, thanks!