mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 21:45:01 +08:00
f90160fc95
This patch which adds STM32F769 pinctrl and GPIO support, relies on the generic STM32 pinctrl driver. Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com> Acked-by: Patrice CHOTARD <patrice.chotard@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
if ARCH_STM32 || COMPILE_TEST
|
|
|
|
config PINCTRL_STM32
|
|
bool
|
|
depends on OF
|
|
select PINMUX
|
|
select GENERIC_PINCONF
|
|
select GPIOLIB
|
|
select IRQ_DOMAIN_HIERARCHY
|
|
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_STM32F469
|
|
bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469
|
|
depends on OF
|
|
default MACH_STM32F469
|
|
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
|
|
|
|
config PINCTRL_STM32F769
|
|
bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769
|
|
depends on OF
|
|
default MACH_STM32F769
|
|
select PINCTRL_STM32
|
|
|
|
config PINCTRL_STM32H743
|
|
bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
|
|
depends on OF
|
|
default MACH_STM32H743
|
|
select PINCTRL_STM32
|
|
|
|
config PINCTRL_STM32MP157
|
|
bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157
|
|
depends on OF
|
|
default MACH_STM32MP157
|
|
select PINCTRL_STM32
|
|
endif
|