]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: i2c: nxp,pnx-i2c: allow clocks property
authorFrank Li <Frank.Li@nxp.com>
Tue, 24 Jun 2025 20:04:43 +0000 (16:04 -0400)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 23 Jul 2025 22:37:59 +0000 (00:37 +0200)
Allow clocks property to fix below CHECK_DTB warnings:
  arch/arm/boot/dts/nxp/lpc/lpc3250-ea3250.dtb: i2c@300 (nxp,pnx-i2c): Unevaluated properties are not allowed ('clocks' was unexpected)

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250624200444.2514331-1-Frank.Li@nxp.com
Documentation/devicetree/bindings/i2c/nxp,pnx-i2c.yaml

index 798a6939b8948d68aef573a41fb500721d03bd42..e645784b77d3ab170b3dbdab774b8e6b41a357ac 100644 (file)
@@ -22,6 +22,9 @@ properties:
   interrupts:
     maxItems: 1
 
+  clocks:
+    maxItems: 1
+
   clock-frequency:
     default: 100000