2019-05-19 13:07:45 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2016-01-14 13:16:30 +01:00
|
|
|
if ARCH_STM32 || COMPILE_TEST
|
|
|
|
|
|
|
|
|
|
config PINCTRL_STM32
|
2025-06-10 16:30:41 +02:00
|
|
|
tristate
|
2016-01-14 13:16:30 +01:00
|
|
|
depends on OF
|
|
|
|
|
select PINMUX
|
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
|
select GPIOLIB
|
2017-07-12 08:11:49 +09:00
|
|
|
select IRQ_DOMAIN_HIERARCHY
|
2016-09-09 16:42:01 +02:00
|
|
|
select MFD_SYSCON
|
2016-01-14 13:16:30 +01:00
|
|
|
|
|
|
|
|
config PINCTRL_STM32F429
|
|
|
|
|
bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
|
2018-03-06 20:15:56 +09:00
|
|
|
depends on OF && HAS_IOMEM
|
2016-01-14 13:16:30 +01:00
|
|
|
default MACH_STM32F429
|
|
|
|
|
select PINCTRL_STM32
|
|
|
|
|
|
2017-04-07 14:43:01 +02:00
|
|
|
config PINCTRL_STM32F469
|
|
|
|
|
bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469
|
2018-03-06 20:15:56 +09:00
|
|
|
depends on OF && HAS_IOMEM
|
2017-04-07 14:43:01 +02:00
|
|
|
default MACH_STM32F469
|
|
|
|
|
select PINCTRL_STM32
|
|
|
|
|
|
2016-07-11 10:43:40 +02:00
|
|
|
config PINCTRL_STM32F746
|
|
|
|
|
bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
|
2018-03-06 20:15:56 +09:00
|
|
|
depends on OF && HAS_IOMEM
|
2016-07-11 10:43:40 +02:00
|
|
|
default MACH_STM32F746
|
|
|
|
|
select PINCTRL_STM32
|
|
|
|
|
|
2017-12-11 09:54:32 +01:00
|
|
|
config PINCTRL_STM32F769
|
|
|
|
|
bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769
|
2018-03-06 20:15:56 +09:00
|
|
|
depends on OF && HAS_IOMEM
|
2017-12-11 09:54:32 +01:00
|
|
|
default MACH_STM32F769
|
|
|
|
|
select PINCTRL_STM32
|
|
|
|
|
|
2017-01-31 14:14:19 +01:00
|
|
|
config PINCTRL_STM32H743
|
|
|
|
|
bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
|
2018-03-06 20:15:56 +09:00
|
|
|
depends on OF && HAS_IOMEM
|
2017-01-31 14:14:19 +01:00
|
|
|
default MACH_STM32H743
|
|
|
|
|
select PINCTRL_STM32
|
2017-12-18 16:17:49 +01:00
|
|
|
|
2021-07-23 15:28:05 +02:00
|
|
|
config PINCTRL_STM32MP135
|
|
|
|
|
bool "STMicroelectronics STM32MP135 pin control" if COMPILE_TEST && !MACH_STM32MP13
|
|
|
|
|
depends on OF && HAS_IOMEM
|
|
|
|
|
default MACH_STM32MP13
|
|
|
|
|
select PINCTRL_STM32
|
|
|
|
|
|
2017-12-18 16:17:49 +01:00
|
|
|
config PINCTRL_STM32MP157
|
|
|
|
|
bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157
|
2018-03-06 20:15:56 +09:00
|
|
|
depends on OF && HAS_IOMEM
|
2017-12-18 16:17:49 +01:00
|
|
|
default MACH_STM32MP157
|
|
|
|
|
select PINCTRL_STM32
|
2023-05-24 15:33:57 +02:00
|
|
|
|
|
|
|
|
config PINCTRL_STM32MP257
|
2025-06-10 16:30:41 +02:00
|
|
|
tristate "STMicroelectronics STM32MP257 pin control"
|
2023-05-24 15:33:57 +02:00
|
|
|
depends on OF && HAS_IOMEM
|
2025-06-10 16:30:41 +02:00
|
|
|
default MACH_STM32MP25 || (ARCH_STM32 && ARM64)
|
2023-05-24 15:33:57 +02:00
|
|
|
select PINCTRL_STM32
|
2025-07-11 09:41:20 +02:00
|
|
|
|
|
|
|
|
config PINCTRL_STM32_HDP
|
|
|
|
|
tristate "STMicroelectronics STM32 Hardware Debug Port (HDP) pin control"
|
|
|
|
|
depends on OF && HAS_IOMEM
|
|
|
|
|
default ARCH_STM32 && !ARM_SINGLE_ARMV7M
|
|
|
|
|
select PINMUX
|
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
|
select GPIOLIB
|
2026-03-17 11:06:54 +01:00
|
|
|
select GPIO_GENERIC
|
2025-07-11 09:41:20 +02:00
|
|
|
help
|
|
|
|
|
The Hardware Debug Port allows the observation of internal signals.
|
|
|
|
|
It uses configurable multiplexer to route signals in a dedicated observation register.
|
|
|
|
|
This driver also permits the observation of signals on external SoC pins.
|
|
|
|
|
It permits the observation of up to 16 signals per HDP line.
|
|
|
|
|
|
2016-01-14 13:16:30 +01:00
|
|
|
endif
|