diff options
author | Alexandre Torgue <[email protected]> | 2020-07-17 16:07:17 +0200 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2020-07-27 08:55:04 +0100 |
commit | 9d6a5fe1757cbbd9323a62bfb8df0a714b757903 (patch) | |
tree | fc0719767e5e72cc487bb82d1e5e7ff6b3239bef /lib/mpi/mpi-sub-ui.c | |
parent | 920ecb8c35cb2e114858606c9a17e8e679a25454 (diff) |
irqchip/stm32-exti: Map direct event to irq parent
EXTI lines are mainly used to wake-up system from CStop low power mode.
Currently, if a device wants to use a EXTI (direct) line as wakeup line,
it has to declare 2 interrupts:
- one for EXTI used to wake-up system (with dedicated_wake_irq api).
- one for GIC used to get the wake up reason inside the concerned IP.
This split is not really needed as each EXTI line is actually "linked " to
a GIC. So to avoid this useless double interrupt management in each
wake-up driver, this patch lets the STM32 EXTI driver abstract it by
mapping each EXTI line to his corresponding GIC.
Signed-off-by: Alexandre Torgue <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions