Maxime Coquelin | aceb16d | 2016-01-14 13:16:30 +0100 | [diff] [blame] | 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 |
Alexandre TORGUE | 0eb9f68 | 2016-09-09 16:42:01 +0200 | [diff] [blame] | 9 | select MFD_SYSCON |
Maxime Coquelin | aceb16d | 2016-01-14 13:16:30 +0100 | [diff] [blame] | 10 | |
| 11 | config PINCTRL_STM32F429 |
| 12 | bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429 |
Arnd Bergmann | 49cf2f2 | 2016-09-14 12:13:06 +0200 | [diff] [blame] | 13 | depends on OF && IRQ_DOMAIN_HIERARCHY |
Maxime Coquelin | aceb16d | 2016-01-14 13:16:30 +0100 | [diff] [blame] | 14 | default MACH_STM32F429 |
| 15 | select PINCTRL_STM32 |
| 16 | |
Alexandre TORGUE | 25af8bf | 2016-07-11 10:43:40 +0200 | [diff] [blame] | 17 | config PINCTRL_STM32F746 |
| 18 | bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746 |
Arnd Bergmann | 49cf2f2 | 2016-09-14 12:13:06 +0200 | [diff] [blame] | 19 | depends on OF && IRQ_DOMAIN_HIERARCHY |
Alexandre TORGUE | 25af8bf | 2016-07-11 10:43:40 +0200 | [diff] [blame] | 20 | default MACH_STM32F746 |
| 21 | select PINCTRL_STM32 |
| 22 | |
Maxime Coquelin | aceb16d | 2016-01-14 13:16:30 +0100 | [diff] [blame] | 23 | endif |