drivers/interrupt_controller: stm32: Use LL API

exti driver implementation does not fit all SoCs because
some EXTI ip does not match stm32_exti register map provided.
Instead of providing exti register map for all SoCs, use LL API
which abstracts IP variations and enable uniform use of the drivers
on all STM32SoCs.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2019-01-29 21:09:04 +01:00 committed by Kumar Gala
commit a985e03349
9 changed files with 87 additions and 49 deletions

View file

@ -30,6 +30,10 @@
*/
#include <kernel_includes.h>
#ifdef CONFIG_EXTI_STM32
#include <stm32l4xx_ll_exti.h>
#endif
#ifdef CONFIG_GPIO_STM32
/* Required to enable VDDio2 for port G */
#include <stm32l4xx_ll_pwr.h>