1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2aceb16dcSMaxime Coquelinif ARCH_STM32 || COMPILE_TEST 3aceb16dcSMaxime Coquelin 4aceb16dcSMaxime Coquelinconfig PINCTRL_STM32 5aceb16dcSMaxime Coquelin bool 6aceb16dcSMaxime Coquelin depends on OF 7aceb16dcSMaxime Coquelin select PINMUX 8aceb16dcSMaxime Coquelin select GENERIC_PINCONF 9aceb16dcSMaxime Coquelin select GPIOLIB 108db63f53SMasahiro Yamada select IRQ_DOMAIN_HIERARCHY 110eb9f683SAlexandre TORGUE select MFD_SYSCON 12aceb16dcSMaxime Coquelin 13aceb16dcSMaxime Coquelinconfig PINCTRL_STM32F429 14aceb16dcSMaxime Coquelin bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429 1586822c2fSMasahiro Yamada depends on OF && HAS_IOMEM 16aceb16dcSMaxime Coquelin default MACH_STM32F429 17aceb16dcSMaxime Coquelin select PINCTRL_STM32 18aceb16dcSMaxime Coquelin 19ca028dbbSAlexandre TORGUEconfig PINCTRL_STM32F469 20ca028dbbSAlexandre TORGUE bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469 2186822c2fSMasahiro Yamada depends on OF && HAS_IOMEM 22ca028dbbSAlexandre TORGUE default MACH_STM32F469 23ca028dbbSAlexandre TORGUE select PINCTRL_STM32 24ca028dbbSAlexandre TORGUE 2525af8bfaSAlexandre TORGUEconfig PINCTRL_STM32F746 2625af8bfaSAlexandre TORGUE bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746 2786822c2fSMasahiro Yamada depends on OF && HAS_IOMEM 2825af8bfaSAlexandre TORGUE default MACH_STM32F746 2925af8bfaSAlexandre TORGUE select PINCTRL_STM32 3025af8bfaSAlexandre TORGUE 31f90160fcSAlexandre Torgueconfig PINCTRL_STM32F769 32f90160fcSAlexandre Torgue bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769 3386822c2fSMasahiro Yamada depends on OF && HAS_IOMEM 34f90160fcSAlexandre Torgue default MACH_STM32F769 35f90160fcSAlexandre Torgue select PINCTRL_STM32 36f90160fcSAlexandre Torgue 37deb30f51SAlexandre TORGUEconfig PINCTRL_STM32H743 38deb30f51SAlexandre TORGUE bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743 3986822c2fSMasahiro Yamada depends on OF && HAS_IOMEM 40deb30f51SAlexandre TORGUE default MACH_STM32H743 41deb30f51SAlexandre TORGUE select PINCTRL_STM32 424ef4cc13SLudovic Barre 434ef4cc13SLudovic Barreconfig PINCTRL_STM32MP157 444ef4cc13SLudovic Barre bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157 4586822c2fSMasahiro Yamada depends on OF && HAS_IOMEM 464ef4cc13SLudovic Barre default MACH_STM32MP157 474ef4cc13SLudovic Barre select PINCTRL_STM32 48aceb16dcSMaxime Coquelinendif 49