Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqchip/stm32: Add usart instances exti direct event support

Add following usart instances exti direct event support (used for UART wake
up).
- exti 26 (USART1) is mapped to GIC 37
- exti 27 (USART2) is mapped to GIC 38
- exti 28 (USART3) is mapped to GIC 39
- exti 29 (USART6) is mapped to GIC 71
- exti 31 (UART5) is mapped to GIC 53
- exti 32 (UART7) is mapped to GIC 82
- exti 33 (UART8) is mapped to GIC 83

Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210319184253.5841-4-erwan.leray@foss.st.com

authored by

Erwan Le Ray and committed by
Marc Zyngier
e12c4550 8e13d966

+7
+7
drivers/irqchip/irq-stm32-exti.c
··· 193 193 { .exti = 23, .irq_parent = 72, .chip = &stm32_exti_h_chip_direct }, 194 194 { .exti = 24, .irq_parent = 95, .chip = &stm32_exti_h_chip_direct }, 195 195 { .exti = 25, .irq_parent = 107, .chip = &stm32_exti_h_chip_direct }, 196 + { .exti = 26, .irq_parent = 37, .chip = &stm32_exti_h_chip_direct }, 197 + { .exti = 27, .irq_parent = 38, .chip = &stm32_exti_h_chip_direct }, 198 + { .exti = 28, .irq_parent = 39, .chip = &stm32_exti_h_chip_direct }, 199 + { .exti = 29, .irq_parent = 71, .chip = &stm32_exti_h_chip_direct }, 196 200 { .exti = 30, .irq_parent = 52, .chip = &stm32_exti_h_chip_direct }, 201 + { .exti = 31, .irq_parent = 53, .chip = &stm32_exti_h_chip_direct }, 202 + { .exti = 32, .irq_parent = 82, .chip = &stm32_exti_h_chip_direct }, 203 + { .exti = 33, .irq_parent = 83, .chip = &stm32_exti_h_chip_direct }, 197 204 { .exti = 47, .irq_parent = 93, .chip = &stm32_exti_h_chip_direct }, 198 205 { .exti = 48, .irq_parent = 138, .chip = &stm32_exti_h_chip_direct }, 199 206 { .exti = 50, .irq_parent = 139, .chip = &stm32_exti_h_chip_direct },