1# SPDX-License-Identifier: GPL-2.0-only 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_STM32MP135 44 bool "STMicroelectronics STM32MP135 pin control" if COMPILE_TEST && !MACH_STM32MP13 45 depends on OF && HAS_IOMEM 46 default MACH_STM32MP13 47 select PINCTRL_STM32 48 49config PINCTRL_STM32MP157 50 bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157 51 depends on OF && HAS_IOMEM 52 default MACH_STM32MP157 53 select PINCTRL_STM32 54 55config PINCTRL_STM32MP257 56 bool "STMicroelectronics STM32MP257 pin control" if COMPILE_TEST && !MACH_STM32MP25 57 depends on OF && HAS_IOMEM 58 default MACH_STM32MP25 59 select PINCTRL_STM32 60endif 61