rtc: stm32: remove dedicated wakeup management
authorAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 31 May 2023 12:27:31 +0000 (14:27 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 6 Jun 2023 21:40:34 +0000 (23:40 +0200)
commit38e0689b27f8b9a0085815b2446b12f685d028aa
tree3952f4c52dd46219a5afbdbcf69ddced4b86a001
parent93eff1e0e67a0b54fc16f07f0ca88f8b5afd9f89
rtc: stm32: remove dedicated wakeup management

There is no more needs to use a dedicated wake up interrupt for RTC as
EXTI block manages by itself now all interrupt lines.

Dedicated wakeup interrupt has been introduced with STM32 MP1 support
commit b72252b6580c ("rtc: stm32: add stm32mp1 rtc support") because GIC &
EXTI interrupts were not yet linked in EXTI driver.

Removing this interrupt won't break compatibility with device trees which
do use two interrupts entries: it could only prevent wakeup from low power
modes on STM32MP1x, but platform power management is not yet available.

Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/20230531122732.1515594-1-amelie.delaunay@foss.st.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-stm32.c