| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
if ARCH_STM32 || COMPILE_TEST |
| 3 |
|
| 4 |
config PINCTRL_STM32 |
| 5 |
tristate |
| 6 |
depends on OF |
| 7 |
select PINMUX |
| 8 |
select GENERIC_PINCONF |
| 9 |
select GPIOLIB |
| 10 |
select IRQ_DOMAIN_HIERARCHY |
| 11 |
select MFD_SYSCON |
| 12 |
|
| 13 |
config 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 |
|
| 19 |
config 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 |
|
| 25 |
config 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 |
|
| 31 |
config 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 |
|
| 37 |
config 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 |
|
| 43 |
config 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 |
|
| 49 |
config 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 |
|
| 55 |
config PINCTRL_STM32MP257 |
| 56 |
tristate "STMicroelectronics STM32MP257 pin control" |
| 57 |
depends on OF && HAS_IOMEM |
| 58 |
default MACH_STM32MP25 || (ARCH_STM32 && ARM64) |
| 59 |
select PINCTRL_STM32 |
| 60 |
|
| 61 |
config PINCTRL_STM32_HDP |
| 62 |
tristate "STMicroelectronics STM32 Hardware Debug Port (HDP) pin control" |
| 63 |
depends on OF && HAS_IOMEM |
| 64 |
default ARCH_STM32 && !ARM_SINGLE_ARMV7M |
| 65 |
select PINMUX |
| 66 |
select GENERIC_PINCONF |
| 67 |
select GPIOLIB |
| 68 |
select GPIO_GENERIC |
| 69 |
help |
| 70 |
The Hardware Debug Port allows the observation of internal signals. |
| 71 |
It uses configurable multiplexer to route signals in a dedicated observation register. |
| 72 |
This driver also permits the observation of signals on external SoC pins. |
| 73 |
It permits the observation of up to 16 signals per HDP line. |
| 74 |
|
| 75 |
endif |