xref: /openbmc/linux/drivers/pinctrl/stm32/Kconfig (revision ca028dbb)
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
90eb9f683SAlexandre TORGUE	select MFD_SYSCON
10aceb16dcSMaxime Coquelin
11aceb16dcSMaxime Coquelinconfig PINCTRL_STM32F429
12aceb16dcSMaxime Coquelin	bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
1349cf2f29SArnd Bergmann	depends on OF && IRQ_DOMAIN_HIERARCHY
14aceb16dcSMaxime Coquelin	default MACH_STM32F429
15aceb16dcSMaxime Coquelin	select PINCTRL_STM32
16aceb16dcSMaxime Coquelin
17*ca028dbbSAlexandre TORGUEconfig PINCTRL_STM32F469
18*ca028dbbSAlexandre TORGUE	bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469
19*ca028dbbSAlexandre TORGUE	depends on OF && IRQ_DOMAIN_HIERARCHY
20*ca028dbbSAlexandre TORGUE	default MACH_STM32F469
21*ca028dbbSAlexandre TORGUE	select PINCTRL_STM32
22*ca028dbbSAlexandre TORGUE
2325af8bfaSAlexandre TORGUEconfig PINCTRL_STM32F746
2425af8bfaSAlexandre TORGUE	bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
2549cf2f29SArnd Bergmann	depends on OF && IRQ_DOMAIN_HIERARCHY
2625af8bfaSAlexandre TORGUE	default MACH_STM32F746
2725af8bfaSAlexandre TORGUE	select PINCTRL_STM32
2825af8bfaSAlexandre TORGUE
29deb30f51SAlexandre TORGUEconfig PINCTRL_STM32H743
30deb30f51SAlexandre TORGUE	bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
31deb30f51SAlexandre TORGUE	depends on OF && IRQ_DOMAIN_HIERARCHY
32deb30f51SAlexandre TORGUE	default MACH_STM32H743
33deb30f51SAlexandre TORGUE	select PINCTRL_STM32
34aceb16dcSMaxime Coquelinendif
35