xref: /openbmc/linux/drivers/pinctrl/stm32/Kconfig (revision a72594ca)
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 IRQ_DOMAIN_HIERARCHY
10	select MFD_SYSCON
11
12config PINCTRL_STM32F429
13	bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
14	depends on OF
15	default MACH_STM32F429
16	select PINCTRL_STM32
17
18config PINCTRL_STM32F469
19	bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469
20	depends on OF
21	default MACH_STM32F469
22	select PINCTRL_STM32
23
24config PINCTRL_STM32F746
25	bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
26	depends on OF
27	default MACH_STM32F746
28	select PINCTRL_STM32
29
30config PINCTRL_STM32H743
31	bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
32	depends on OF
33	default MACH_STM32H743
34	select PINCTRL_STM32
35endif
36