diff options
author | Marek Vasut <marex@denx.de> | 2022-09-26 23:46:31 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-10-02 01:34:16 +0300 |
commit | f938a5295cedf7fdcc4f1caad0ac1a9be1f1a5f5 (patch) | |
tree | 03fcf1d2bffd098f00b880bfa4dc13fbd1efbbeb /Documentation/devicetree/bindings/i2c | |
parent | f76349cf41451c5c42a99f18a9163377e4b364ff (diff) | |
download | linux-f938a5295cedf7fdcc4f1caad0ac1a9be1f1a5f5.tar.xz |
dt-bindings: i2c: st,stm32-i2c: Document interrupt-names property
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>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml index a41588763786..63958cac339b 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 |