0001 # SPDX-License-Identifier: GPL-2.0-only
0002 if ARCH_STM32 || COMPILE_TEST
0003
0004 config PINCTRL_STM32
0005 bool
0006 depends on OF
0007 select PINMUX
0008 select GENERIC_PINCONF
0009 select GPIOLIB
0010 select IRQ_DOMAIN_HIERARCHY
0011 select MFD_SYSCON
0012
0013 config PINCTRL_STM32F429
0014 bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
0015 depends on OF && HAS_IOMEM
0016 default MACH_STM32F429
0017 select PINCTRL_STM32
0018
0019 config PINCTRL_STM32F469
0020 bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469
0021 depends on OF && HAS_IOMEM
0022 default MACH_STM32F469
0023 select PINCTRL_STM32
0024
0025 config PINCTRL_STM32F746
0026 bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
0027 depends on OF && HAS_IOMEM
0028 default MACH_STM32F746
0029 select PINCTRL_STM32
0030
0031 config PINCTRL_STM32F769
0032 bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769
0033 depends on OF && HAS_IOMEM
0034 default MACH_STM32F769
0035 select PINCTRL_STM32
0036
0037 config PINCTRL_STM32H743
0038 bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
0039 depends on OF && HAS_IOMEM
0040 default MACH_STM32H743
0041 select PINCTRL_STM32
0042
0043 config PINCTRL_STM32MP135
0044 bool "STMicroelectronics STM32MP135 pin control" if COMPILE_TEST && !MACH_STM32MP13
0045 depends on OF && HAS_IOMEM
0046 default MACH_STM32MP13
0047 select PINCTRL_STM32
0048
0049 config PINCTRL_STM32MP157
0050 bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157
0051 depends on OF && HAS_IOMEM
0052 default MACH_STM32MP157
0053 select PINCTRL_STM32
0054 endif