xref: /openbmc/linux/drivers/pinctrl/stm32/Kconfig (revision ca028dbb)
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_STM32F469
18	bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469
19	depends on OF && IRQ_DOMAIN_HIERARCHY
20	default MACH_STM32F469
21	select PINCTRL_STM32
22
23config PINCTRL_STM32F746
24	bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
25	depends on OF && IRQ_DOMAIN_HIERARCHY
26	default MACH_STM32F746
27	select PINCTRL_STM32
28
29config PINCTRL_STM32H743
30	bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
31	depends on OF && IRQ_DOMAIN_HIERARCHY
32	default MACH_STM32H743
33	select PINCTRL_STM32
34endif
35