xref: /openbmc/linux/drivers/pinctrl/stm32/Kconfig (revision 0c380187)
1if ARCH_STM32 || COMPILE_TEST
2
3config PINCTRL_STM32
4	bool
5	depends on OF
6	select PINMUX
7	select GENERIC_PINCONF
8	select GPIOLIB
9	select MFD_SYSCON
10
11config PINCTRL_STM32F429
12	bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
13	depends on OF && IRQ_DOMAIN_HIERARCHY
14	default MACH_STM32F429
15	select PINCTRL_STM32
16
17config PINCTRL_STM32F746
18	bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
19	depends on OF && IRQ_DOMAIN_HIERARCHY
20	default MACH_STM32F746
21	select PINCTRL_STM32
22
23config PINCTRL_STM32H743
24	bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
25	depends on OF && IRQ_DOMAIN_HIERARCHY
26	default MACH_STM32H743
27	select PINCTRL_STM32
28endif
29