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 |
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
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 --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
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(+)