]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
aceb16dc MC |
2 | if ARCH_STM32 || COMPILE_TEST |
3 | ||
4 | config PINCTRL_STM32 | |
5 | bool | |
6 | depends on OF | |
7 | select PINMUX | |
8 | select GENERIC_PINCONF | |
9 | select GPIOLIB | |
8db63f53 | 10 | select IRQ_DOMAIN_HIERARCHY |
0eb9f683 | 11 | select MFD_SYSCON |
aceb16dc MC |
12 | |
13 | config PINCTRL_STM32F429 | |
14 | bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429 | |
86822c2f | 15 | depends on OF && HAS_IOMEM |
aceb16dc MC |
16 | default MACH_STM32F429 |
17 | select PINCTRL_STM32 | |
18 | ||
ca028dbb AT |
19 | config PINCTRL_STM32F469 |
20 | bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469 | |
86822c2f | 21 | depends on OF && HAS_IOMEM |
ca028dbb AT |
22 | default MACH_STM32F469 |
23 | select PINCTRL_STM32 | |
24 | ||
25af8bfa AT |
25 | config PINCTRL_STM32F746 |
26 | bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746 | |
86822c2f | 27 | depends on OF && HAS_IOMEM |
25af8bfa AT |
28 | default MACH_STM32F746 |
29 | select PINCTRL_STM32 | |
30 | ||
f90160fc AT |
31 | config PINCTRL_STM32F769 |
32 | bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769 | |
86822c2f | 33 | depends on OF && HAS_IOMEM |
f90160fc AT |
34 | default MACH_STM32F769 |
35 | select PINCTRL_STM32 | |
36 | ||
deb30f51 AT |
37 | config PINCTRL_STM32H743 |
38 | bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743 | |
86822c2f | 39 | depends on OF && HAS_IOMEM |
deb30f51 AT |
40 | default MACH_STM32H743 |
41 | select PINCTRL_STM32 | |
4ef4cc13 LB |
42 | |
43 | config PINCTRL_STM32MP157 | |
44 | bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157 | |
86822c2f | 45 | depends on OF && HAS_IOMEM |
4ef4cc13 LB |
46 | default MACH_STM32MP157 |
47 | select PINCTRL_STM32 | |
aceb16dc | 48 | endif |