[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <43c2cd64-2c70-43f3-9470-b6f8bcaa8027@foss.st.com>
Date: Tue, 29 Oct 2024 16:16:10 +0100
From: Alexandre TORGUE <alexandre.torgue@...s.st.com>
To: Marek Vasut <marex@...x.de>, <linux-arm-kernel@...ts.infradead.org>
CC: Antonio Borneo <antonio.borneo@...s.st.com>,
Guenter Roeck
<linux@...ck-us.net>,
Krzysztof Kozlowski
<krzysztof.kozlowski+dt@...aro.org>,
Marc Zyngier <maz@...nel.org>,
Maxime
Coquelin <mcoquelin.stm32@...il.com>,
Richard Cochran
<richardcochran@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Thomas Gleixner
<tglx@...utronix.de>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-watchdog@...r.kernel.org>
Subject: Re: [PATCH v3] ARM: dts: stm32: Add IWDG2 EXTI interrupt mapping and
mark as wakeup source
Hi Marek
On 6/23/24 21:51, Marek Vasut wrote:
> The IWDG2 is capable of generating pre-timeout interrupt, which can be used
> to wake the system up from suspend to mem. Add the EXTI interrupt mapping
> and mark the IWDG2 as wake up source.
>
> Signed-off-by: Marek Vasut <marex@...x.de>
> ---
> Cc: Alexandre Torgue <alexandre.torgue@...s.st.com>
> Cc: Antonio Borneo <antonio.borneo@...s.st.com>
> Cc: Guenter Roeck <linux@...ck-us.net>
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
> Cc: Marc Zyngier <maz@...nel.org>
> Cc: Maxime Coquelin <mcoquelin.stm32@...il.com>
> Cc: Richard Cochran <richardcochran@...il.com>
> Cc: Rob Herring <robh+dt@...nel.org>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: Wim Van Sebroeck <wim@...ux-watchdog.org>
> Cc: devicetree@...r.kernel.org
> Cc: linux-arm-kernel@...ts.infradead.org
> Cc: linux-kernel@...r.kernel.org
> Cc: linux-stm32@...md-mailman.stormreply.com
> Cc: linux-watchdog@...r.kernel.org
> ---
> V2: No change
> V3: No change
> ---
> arch/arm/boot/dts/st/stm32mp151.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/boot/dts/st/stm32mp151.dtsi b/arch/arm/boot/dts/st/stm32mp151.dtsi
> index 1804e202eb425..68846699b26fd 100644
> --- a/arch/arm/boot/dts/st/stm32mp151.dtsi
> +++ b/arch/arm/boot/dts/st/stm32mp151.dtsi
> @@ -355,6 +355,8 @@ iwdg2: watchdog@...02000 {
> reg = <0x5a002000 0x400>;
> clocks = <&rcc IWDG2>, <&rcc CK_LSI>;
> clock-names = "pclk", "lsi";
> + interrupts-extended = <&exti 46 IRQ_TYPE_LEVEL_HIGH>;
> + wakeup-source;
> status = "disabled";
> };
>
Applied on stm32-next !!
(late but applied ;))
Regards
Alex
Powered by blists - more mailing lists