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

Marek Vasut marex at denx.de
Fri Jul 5 04:50:31 PDT 2024


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 at denx.de>
---
Cc: Alexandre Torgue <alexandre.torgue at foss.st.com>
Cc: Christophe Roullier <christophe.roullier at foss.st.com>
Cc: Conor Dooley <conor+dt at kernel.org>
Cc: Guenter Roeck <linux at roeck-us.net>
Cc: Krzysztof Kozlowski <krzk+dt at kernel.org>
Cc: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
Cc: Rob Herring <robh at kernel.org>
Cc: Wim Van Sebroeck <wim at linux-watchdog.org>
Cc: Yannick Fertre <yannick.fertre at foss.st.com>
Cc: devicetree at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-stm32 at st-md-mailman.stormreply.com
Cc: linux-watchdog at 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




More information about the linux-arm-kernel mailing list