Merge tag 'random_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / drivers / pinctrl / stm32 / Kconfig
1 if ARCH_STM32 || COMPILE_TEST
2
3 config 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
12 config 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
18 config 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
24 config 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
30 config 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
36 config 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
42 config 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
47 endif