1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2aceb16dcSMaxime Coquelinif ARCH_STM32 || COMPILE_TEST 3aceb16dcSMaxime Coquelin 4aceb16dcSMaxime Coquelinconfig PINCTRL_STM32 5dba0aff2SStephane Danieau tristate 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 43a022135aSAlexandre Torgueconfig PINCTRL_STM32MP135 44a022135aSAlexandre Torgue bool "STMicroelectronics STM32MP135 pin control" if COMPILE_TEST && !MACH_STM32MP13 45a022135aSAlexandre Torgue depends on OF && HAS_IOMEM 46a022135aSAlexandre Torgue default MACH_STM32MP13 47a022135aSAlexandre Torgue select PINCTRL_STM32 48a022135aSAlexandre Torgue 494ef4cc13SLudovic Barreconfig PINCTRL_STM32MP157 504ef4cc13SLudovic Barre bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157 5186822c2fSMasahiro Yamada depends on OF && HAS_IOMEM 524ef4cc13SLudovic Barre default MACH_STM32MP157 534ef4cc13SLudovic Barre select PINCTRL_STM32 54619f8ca4SAlexandre Torgue 55619f8ca4SAlexandre Torgueconfig PINCTRL_STM32MP257 56dba0aff2SStephane Danieau tristate "STMicroelectronics STM32MP257 pin control" 57619f8ca4SAlexandre Torgue depends on OF && HAS_IOMEM 58dba0aff2SStephane Danieau default MACH_STM32MP25 || (ARCH_STM32 && ARM64) 59619f8ca4SAlexandre Torgue select PINCTRL_STM32 60*8eabf5ddSClément Le Goffic 61*8eabf5ddSClément Le Gofficconfig PINCTRL_STM32_HDP 62*8eabf5ddSClément Le Goffic tristate "STMicroelectronics STM32 Hardware Debug Port (HDP) pin control" 63*8eabf5ddSClément Le Goffic depends on OF && HAS_IOMEM 64*8eabf5ddSClément Le Goffic default ARCH_STM32 && !ARM_SINGLE_ARMV7M 65*8eabf5ddSClément Le Goffic select PINMUX 66*8eabf5ddSClément Le Goffic select GENERIC_PINCONF 67*8eabf5ddSClément Le Goffic select GPIOLIB 68*8eabf5ddSClément Le Goffic help 69*8eabf5ddSClément Le Goffic The Hardware Debug Port allows the observation of internal signals. 70*8eabf5ddSClément Le Goffic It uses configurable multiplexer to route signals in a dedicated observation register. 71*8eabf5ddSClément Le Goffic This driver also permits the observation of signals on external SoC pins. 72*8eabf5ddSClément Le Goffic It permits the observation of up to 16 signals per HDP line. 73*8eabf5ddSClément Le Goffic 74aceb16dcSMaxime Coquelinendif 75