[PATCH] dt-bindings: i2c: st,stm32-i2c: Document interrupt-names property
Marek Vasut
marex at denx.de
Mon Sep 26 13:46:31 PDT 2022
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 at 40015000: Unevaluated properties are not allowed ('interrupt-names' was unexpected)
"
Signed-off-by: Marek Vasut <marex at denx.de>
---
Cc: Alexandre Torgue <alexandre.torgue at foss.st.com>
Cc: Alain Volmat <alain.volmat at foss.st.com>
Cc: Rob Herring <robh+dt at kernel.org>
Cc: Wolfram Sang <wsa at kernel.org>
Cc: devicetree at vger.kernel.org
Cc: linux-i2c at vger.kernel.org
Cc: linux-stm32 at st-md-mailman.stormreply.com
To: linux-arm-kernel at lists.infradead.org
---
Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
index a415887637862..63958cac339b7 100644
--- a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
@@ -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
--
2.35.1
More information about the linux-arm-kernel
mailing list