dt-bindings: i2c: st,stm32-i2c: Document interrupt-names property
authorMarek Vasut <marex@denx.de>
Mon, 26 Sep 2022 20:46:31 +0000 (22:46 +0200)
committerWolfram Sang <wsa@kernel.org>
Sat, 1 Oct 2022 22:34:16 +0000 (00:34 +0200)
Document interrupt-names property with "event" and "error" interrupt names.
This fixes dtbs_check warnings when building current Linux DTs:

"
arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dtb: i2c@40015000: Unevaluated properties are not allowed ('interrupt-names' was unexpected)
"

Signed-off-by: Marek Vasut <marex@denx.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml

index a415887..63958ca 100644 (file)
@@ -57,6 +57,11 @@ properties:
       - description: interrupt ID for I2C event
       - description: interrupt ID for I2C error
 
+  interrupt-names:
+    items:
+      - const: event
+      - const: error
+
   resets:
     maxItems: 1