1
2if ARCH_STM32 || COMPILE_TEST
3
4config PINCTRL_STM32
5 bool
6 depends on OF
7 select PINMUX
8 select GENERIC_PINCONF
9 select GPIOLIB
10 select IRQ_DOMAIN_HIERARCHY
11 select MFD_SYSCON
12
13config PINCTRL_STM32F429
14 bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
15 depends on OF && HAS_IOMEM
16 default MACH_STM32F429
17 select PINCTRL_STM32
18
19config PINCTRL_STM32F469
20 bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469
21 depends on OF && HAS_IOMEM
22 default MACH_STM32F469
23 select PINCTRL_STM32
24
25config PINCTRL_STM32F746
26 bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
27 depends on OF && HAS_IOMEM
28 default MACH_STM32F746
29 select PINCTRL_STM32
30
31config PINCTRL_STM32F769
32 bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769
33 depends on OF && HAS_IOMEM
34 default MACH_STM32F769
35 select PINCTRL_STM32
36
37config PINCTRL_STM32H743
38 bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
39 depends on OF && HAS_IOMEM
40 default MACH_STM32H743
41 select PINCTRL_STM32
42
43config PINCTRL_STM32MP157
44 bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157
45 depends on OF && HAS_IOMEM
46 default MACH_STM32MP157
47 select PINCTRL_STM32
48endif
49