mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 16:16:42 +07:00
deb30f51aa
This patch adds STM32H743 pinctrl and GPIO support, relies on the generic STM32 pinctrl driver. Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
29 lines
738 B
Plaintext
29 lines
738 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 && IRQ_DOMAIN_HIERARCHY
|
|
default MACH_STM32F429
|
|
select PINCTRL_STM32
|
|
|
|
config PINCTRL_STM32F746
|
|
bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
|
|
depends on OF && IRQ_DOMAIN_HIERARCHY
|
|
default MACH_STM32F746
|
|
select PINCTRL_STM32
|
|
|
|
config PINCTRL_STM32H743
|
|
bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
|
|
depends on OF && IRQ_DOMAIN_HIERARCHY
|
|
default MACH_STM32H743
|
|
select PINCTRL_STM32
|
|
endif
|