diff options
author | Antonio Borneo <antonio.borneo@foss.st.com> | 2024-04-15 15:49:18 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-04-23 00:28:15 +0200 |
commit | 77ec258ffa5c5f8c700fab7a0a78426904d1e6d4 (patch) | |
tree | 7b0539704dbc522d862f4c8fb558399cbf0247d4 /drivers/spmi/spmi-mtk-pmif.c | |
parent | e9c17d91e6980993711eebe0c914fbd31298b94e (diff) |
irqchip/stm32-exti: Map interrupts through interrupts-extended
The mapping of EXTI events to its parent interrupt controller is both SoC
and instance dependent.
The current implementation requires adding a new mapping table to the
driver's code and a new compatible for each new EXTI instance.
Check for the presence of the optional interrupts-extended property and use
it to map EXTI events to the parent's interrupts.
For old device trees without the optional interrupts-extended property, the
driver's behavior is unchanged, thus keeps backward compatibility.
Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240415134926.1254428-4-antonio.borneo@foss.st.com
Diffstat (limited to 'drivers/spmi/spmi-mtk-pmif.c')
0 files changed, 0 insertions, 0 deletions