linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: i2c: st,stm32-i2c: Document interrupt-names property
@ 2022-09-26 20:46 Marek Vasut
  2022-09-29 21:55 ` Rob Herring
  2022-10-01 22:35 ` Wolfram Sang
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Vasut @ 2022-09-26 20:46 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Marek Vasut, Alexandre Torgue, Alain Volmat, Rob Herring,
	Wolfram Sang, devicetree, linux-i2c, linux-stm32

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>
---
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Alain Volmat <alain.volmat@foss.st.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Wolfram Sang <wsa@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: i2c: st,stm32-i2c: Document interrupt-names property
  2022-09-26 20:46 [PATCH] dt-bindings: i2c: st,stm32-i2c: Document interrupt-names property Marek Vasut
@ 2022-09-29 21:55 ` Rob Herring
  2022-10-01 22:35 ` Wolfram Sang
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2022-09-29 21:55 UTC (permalink / raw)
  To: Marek Vasut
  Cc: devicetree, linux-stm32, linux-i2c, Alain Volmat, Rob Herring,
	linux-arm-kernel, Wolfram Sang, Alexandre Torgue

On Mon, 26 Sep 2022 22:46:31 +0200, Marek Vasut wrote:
> 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>
> ---
> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
> Cc: Alain Volmat <alain.volmat@foss.st.com>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Wolfram Sang <wsa@kernel.org>
> Cc: devicetree@vger.kernel.org
> Cc: linux-i2c@vger.kernel.org
> Cc: linux-stm32@st-md-mailman.stormreply.com
> To: linux-arm-kernel@lists.infradead.org
> ---
>  Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml | 5 +++++
>  1 file changed, 5 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: i2c: st,stm32-i2c: Document interrupt-names property
  2022-09-26 20:46 [PATCH] dt-bindings: i2c: st,stm32-i2c: Document interrupt-names property Marek Vasut
  2022-09-29 21:55 ` Rob Herring
@ 2022-10-01 22:35 ` Wolfram Sang
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2022-10-01 22:35 UTC (permalink / raw)
  To: Marek Vasut
  Cc: linux-arm-kernel, Alexandre Torgue, Alain Volmat, Rob Herring,
	devicetree, linux-i2c, linux-stm32


[-- Attachment #1.1: Type: text/plain, Size: 447 bytes --]

On Mon, Sep 26, 2022 at 10:46:31PM +0200, Marek Vasut wrote:
> 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>

Applied to for-current, thanks!


[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-01 22:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26 20:46 [PATCH] dt-bindings: i2c: st,stm32-i2c: Document interrupt-names property Marek Vasut
2022-09-29 21:55 ` Rob Herring
2022-10-01 22:35 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).