ARM: dts: stm32: use exti 19 as main interrupt to support RTC wakeup on stm32mp157
Subsystems (2)
PATCH 1/1 ARM: dts: stm32: use exti 19 as main interrupt to support RTC wakeup on stm32mp157
From: Alexandre Torgue <[email protected]>
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.
---
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(-)
arch/arm/boot/dts/stm32mp151.dtsi +1 -1
@@ -1559,7 +1559,7 @@ rtc: rtc@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"; };
Signature · 7 lines
2.34.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Alexandre TORGUE
maintainerQuoted 19 lines · Marek Vasut
From: Alexandre Torgue <[email protected]>
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 <[email protected]>Cc Alexandre Torgue <[email protected]>---
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(-)arch/arm/boot/dts/stm32mp151.dtsi +0
-0
arch/arm/boot/dts/stm32mp151.dtsi rtc: rtc@5c004000 { · line 1565
Quoted 8 lines
arch/arm/boot/dts/stm32mp151.dtsi +1
-1@@ -1559,7 +1559,7 @@ rtc: rtc@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
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel