diff mbox series

dt-bindings: watchdog: stm32-iwdg: Document interrupt and wakeup properties

Message ID 20240705115052.116705-1-marex@denx.de (mailing list archive)
State New
Headers show
Series dt-bindings: watchdog: stm32-iwdg: Document interrupt and wakeup properties | expand

Commit Message

Marek Vasut July 5, 2024, 11:50 a.m. UTC
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(+)

Comments

Krzysztof Kozlowski July 8, 2024, 10:48 a.m. UTC | #1
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
Marek Vasut Sept. 5, 2024, 1:09 p.m. UTC | #2
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.
diff mbox series

Patch

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