devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: watchdog: stm32-iwdg: Document interrupt and wakeup properties
@ 2024-07-05 11:50 Marek Vasut
  2024-07-08 10:48 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2024-07-05 11:50 UTC (permalink / raw)
  To: linux-watchdog
  Cc: Marek Vasut, Alexandre Torgue, Christophe Roullier, Conor Dooley,
	Guenter Roeck, Krzysztof Kozlowski, Maxime Coquelin, Rob Herring,
	Wim Van Sebroeck, Yannick Fertre, devicetree, linux-arm-kernel,
	linux-stm32

The watchdog IP can generate pre-timeout interrupt and can be used as
a wake up source. Document both properties.

Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Christophe Roullier <christophe.roullier@foss.st.com>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Wim Van Sebroeck <wim@linux-watchdog.org>
Cc: Yannick Fertre <yannick.fertre@foss.st.com>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-stm32@st-md-mailman.stormreply.com
Cc: linux-watchdog@vger.kernel.org
---
 .../devicetree/bindings/watchdog/st,stm32-iwdg.yaml         | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml
index 6b13bfc11e114..86bd39d508500 100644
--- a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml
+++ b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml
@@ -36,6 +36,12 @@ properties:
     minItems: 1
     maxItems: 2
 
+  interrupts:
+    maxItems: 1
+    description: Pre-timeout interrupt from the watchdog.
+
+  wakeup-source: true
+
 required:
   - compatible
   - reg
-- 
2.43.0


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

* Re: [PATCH] dt-bindings: watchdog: stm32-iwdg: Document interrupt and wakeup properties
  2024-07-05 11:50 [PATCH] dt-bindings: watchdog: stm32-iwdg: Document interrupt and wakeup properties Marek Vasut
@ 2024-07-08 10:48 ` Krzysztof Kozlowski
  2024-09-05 13:09   ` Marek Vasut
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-08 10:48 UTC (permalink / raw)
  To: Marek Vasut, linux-watchdog
  Cc: Alexandre Torgue, Christophe Roullier, Conor Dooley,
	Guenter Roeck, Krzysztof Kozlowski, Maxime Coquelin, Rob Herring,
	Wim Van Sebroeck, Yannick Fertre, devicetree, linux-arm-kernel,
	linux-stm32

On 05/07/2024 13:50, Marek Vasut wrote:
> The watchdog IP can generate pre-timeout interrupt and can be used as
> a wake up source. Document both properties.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


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

* Re: [PATCH] dt-bindings: watchdog: stm32-iwdg: Document interrupt and wakeup properties
  2024-07-08 10:48 ` Krzysztof Kozlowski
@ 2024-09-05 13:09   ` Marek Vasut
  0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2024-09-05 13:09 UTC (permalink / raw)
  To: Krzysztof Kozlowski, linux-watchdog
  Cc: Alexandre Torgue, Christophe Roullier, Conor Dooley,
	Guenter Roeck, Krzysztof Kozlowski, Maxime Coquelin, Rob Herring,
	Wim Van Sebroeck, Yannick Fertre, devicetree, linux-arm-kernel,
	linux-stm32

On 7/8/24 12:48 PM, Krzysztof Kozlowski wrote:
> On 05/07/2024 13:50, Marek Vasut wrote:
>> The watchdog IP can generate pre-timeout interrupt and can be used as
>> a wake up source. Document both properties.
>>
>> Signed-off-by: Marek Vasut <marex@denx.de>
> 
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Can someone please pick this up ?

It is now blocking addition of the property to STM32 DTs.

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

end of thread, other threads:[~2024-09-05 13:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-05 11:50 [PATCH] dt-bindings: watchdog: stm32-iwdg: Document interrupt and wakeup properties Marek Vasut
2024-07-08 10:48 ` Krzysztof Kozlowski
2024-09-05 13:09   ` Marek Vasut

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).