xref: /openbmc/linux/drivers/pinctrl/stm32/Kconfig (revision f90160fc)
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
98db63f53SMasahiro Yamada	select IRQ_DOMAIN_HIERARCHY
100eb9f683SAlexandre TORGUE	select MFD_SYSCON
11aceb16dcSMaxime Coquelin
12aceb16dcSMaxime Coquelinconfig PINCTRL_STM32F429
13aceb16dcSMaxime Coquelin	bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
148db63f53SMasahiro Yamada	depends on OF
15aceb16dcSMaxime Coquelin	default MACH_STM32F429
16aceb16dcSMaxime Coquelin	select PINCTRL_STM32
17aceb16dcSMaxime Coquelin
18ca028dbbSAlexandre TORGUEconfig PINCTRL_STM32F469
19ca028dbbSAlexandre TORGUE	bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469
208db63f53SMasahiro Yamada	depends on OF
21ca028dbbSAlexandre TORGUE	default MACH_STM32F469
22ca028dbbSAlexandre TORGUE	select PINCTRL_STM32
23ca028dbbSAlexandre TORGUE
2425af8bfaSAlexandre TORGUEconfig PINCTRL_STM32F746
2525af8bfaSAlexandre TORGUE	bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
268db63f53SMasahiro Yamada	depends on OF
2725af8bfaSAlexandre TORGUE	default MACH_STM32F746
2825af8bfaSAlexandre TORGUE	select PINCTRL_STM32
2925af8bfaSAlexandre TORGUE
30f90160fcSAlexandre Torgueconfig PINCTRL_STM32F769
31f90160fcSAlexandre Torgue	bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769
32f90160fcSAlexandre Torgue	depends on OF
33f90160fcSAlexandre Torgue	default MACH_STM32F769
34f90160fcSAlexandre Torgue	select PINCTRL_STM32
35f90160fcSAlexandre Torgue
36deb30f51SAlexandre TORGUEconfig PINCTRL_STM32H743
37deb30f51SAlexandre TORGUE	bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
388db63f53SMasahiro Yamada	depends on OF
39deb30f51SAlexandre TORGUE	default MACH_STM32H743
40deb30f51SAlexandre TORGUE	select PINCTRL_STM32
414ef4cc13SLudovic Barre
424ef4cc13SLudovic Barreconfig PINCTRL_STM32MP157
434ef4cc13SLudovic Barre	bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157
444ef4cc13SLudovic Barre	depends on OF
454ef4cc13SLudovic Barre	default MACH_STM32MP157
464ef4cc13SLudovic Barre	select PINCTRL_STM32
47aceb16dcSMaxime Coquelinendif
48