xref: /openbmc/linux/drivers/pinctrl/stm32/Kconfig (revision 25af8bfa)
1aceb16dcSMaxime Coquelinif ARCH_STM32 || COMPILE_TEST
2aceb16dcSMaxime Coquelin
3aceb16dcSMaxime Coquelinconfig PINCTRL_STM32
4aceb16dcSMaxime Coquelin	bool
5aceb16dcSMaxime Coquelin	depends on OF
6aceb16dcSMaxime Coquelin	select PINMUX
7aceb16dcSMaxime Coquelin	select GENERIC_PINCONF
8aceb16dcSMaxime Coquelin	select GPIOLIB
9aceb16dcSMaxime Coquelin
10aceb16dcSMaxime Coquelinconfig PINCTRL_STM32F429
11aceb16dcSMaxime Coquelin	bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
12aceb16dcSMaxime Coquelin	depends on OF
13aceb16dcSMaxime Coquelin	default MACH_STM32F429
14aceb16dcSMaxime Coquelin	select PINCTRL_STM32
15aceb16dcSMaxime Coquelin
1625af8bfaSAlexandre TORGUEconfig PINCTRL_STM32F746
1725af8bfaSAlexandre TORGUE	bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
1825af8bfaSAlexandre TORGUE	depends on OF
1925af8bfaSAlexandre TORGUE	default MACH_STM32F746
2025af8bfaSAlexandre TORGUE	select PINCTRL_STM32
2125af8bfaSAlexandre TORGUE
22aceb16dcSMaxime Coquelinendif
23