xref: /openbmc/linux/drivers/pinctrl/stm32/Kconfig (revision 023e4163)
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 && HAS_IOMEM
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 && HAS_IOMEM
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 && HAS_IOMEM
27	default MACH_STM32F746
28	select PINCTRL_STM32
29
30config PINCTRL_STM32F769
31	bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769
32	depends on OF && HAS_IOMEM
33	default MACH_STM32F769
34	select PINCTRL_STM32
35
36config PINCTRL_STM32H743
37	bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
38	depends on OF && HAS_IOMEM
39	default MACH_STM32H743
40	select PINCTRL_STM32
41
42config PINCTRL_STM32MP157
43	bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157
44	depends on OF && HAS_IOMEM
45	default MACH_STM32MP157
46	select PINCTRL_STM32
47endif
48