mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 04:36:56 +07:00
0eb9f68333
This patch adds IRQ support to STM32 gpios. The EXTI controller has 16 lines dedicated to GPIOs. EXTI line n can be connected to only line n of one of the GPIO ports, for example EXTI0 can be connected to either PA0, or PB0, or PC0... This port selection is done by specifying the port number into System Config registers. Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com> Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
24 lines
496 B
Plaintext
24 lines
496 B
Plaintext
if ARCH_STM32 || COMPILE_TEST
|
|
|
|
config PINCTRL_STM32
|
|
bool
|
|
depends on OF
|
|
select PINMUX
|
|
select GENERIC_PINCONF
|
|
select GPIOLIB
|
|
select MFD_SYSCON
|
|
|
|
config PINCTRL_STM32F429
|
|
bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
|
|
depends on OF
|
|
default MACH_STM32F429
|
|
select PINCTRL_STM32
|
|
|
|
config PINCTRL_STM32F746
|
|
bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
|
|
depends on OF
|
|
default MACH_STM32F746
|
|
select PINCTRL_STM32
|
|
|
|
endif
|