[PATCH] ARM: dts: stm32: use exti 19 as main interrupt to support RTC wakeup on stm32mp157
Alexandre TORGUE
alexandre.torgue at foss.st.com
Mon Feb 7 05:58:29 PST 2022
On 2/3/22 02:59, Marek Vasut wrote:
> From: Alexandre Torgue <alexandre.torgue at st.com>
>
> Link between GIC and exti line is now done inside EXTI driver. So in order
> to be wake up source exti irqchip has to be used.
>
> Signed-off-by: Alexandre Torgue <alexandre.torgue at st.com>
> Cc: Alexandre Torgue <alexandre.torgue at foss.st.com>
> ---
> This comes from ST github repo, v5.4-stm32mp [93a67bfcf197ffad8d8962369b56b8b714d1447e]
> It would be good to include this, because indeed, this makes rtcwake -s 5 -m mem work.
> ---
> arch/arm/boot/dts/stm32mp151.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
> index 6992a4b0ba79b..b6a108c4f117f 100644
> --- a/arch/arm/boot/dts/stm32mp151.dtsi
> +++ b/arch/arm/boot/dts/stm32mp151.dtsi
> @@ -1559,7 +1559,7 @@ rtc: rtc at 5c004000 {
> reg = <0x5c004000 0x400>;
> clocks = <&rcc RTCAPB>, <&rcc RTC>;
> clock-names = "pclk", "rtc_ck";
> - interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
> + interrupts-extended = <&exti 19 IRQ_TYPE_LEVEL_HIGH>;
> status = "disabled";
> };
>
Applied on stm32-next.
Regards
Alex
More information about the linux-arm-kernel
mailing list