diff options
author | Alexandre Torgue <alexandre.torgue@st.com> | 2020-07-17 16:07:17 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-07-27 08:55:04 +0100 |
commit | 9d6a5fe1757cbbd9323a62bfb8df0a714b757903 (patch) | |
tree | fc0719767e5e72cc487bb82d1e5e7ff6b3239bef /LICENSES/exceptions | |
parent | 920ecb8c35cb2e114858606c9a17e8e679a25454 (diff) | |
download | linux-9d6a5fe1757cbbd9323a62bfb8df0a714b757903.tar.bz2 |
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 <alexandre.torgue@st.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200717140717.29606-1-alexandre.torgue@st.com
Diffstat (limited to 'LICENSES/exceptions')
0 files changed, 0 insertions, 0 deletions