blob: c03dce7a22df2d67bcf607fb63656fd5a4a39c1d [file] [log] [blame]
Maxime Coquelinaceb16d2016-01-14 13:16:30 +01001if ARCH_STM32 || COMPILE_TEST
2
3config PINCTRL_STM32
4 bool
5 depends on OF
6 select PINMUX
7 select GENERIC_PINCONF
8 select GPIOLIB
Alexandre TORGUE0eb9f682016-09-09 16:42:01 +02009 select MFD_SYSCON
Maxime Coquelinaceb16d2016-01-14 13:16:30 +010010
11config PINCTRL_STM32F429
12 bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
Arnd Bergmann49cf2f22016-09-14 12:13:06 +020013 depends on OF && IRQ_DOMAIN_HIERARCHY
Maxime Coquelinaceb16d2016-01-14 13:16:30 +010014 default MACH_STM32F429
15 select PINCTRL_STM32
16
Alexandre TORGUE25af8bf2016-07-11 10:43:40 +020017config PINCTRL_STM32F746
18 bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
Arnd Bergmann49cf2f22016-09-14 12:13:06 +020019 depends on OF && IRQ_DOMAIN_HIERARCHY
Alexandre TORGUE25af8bf2016-07-11 10:43:40 +020020 default MACH_STM32F746
21 select PINCTRL_STM32
22
Maxime Coquelinaceb16d2016-01-14 13:16:30 +010023endif