2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2016-01-14 20:16:30 +08:00
|
|
|
if ARCH_STM32 || COMPILE_TEST
|
|
|
|
|
|
|
|
config PINCTRL_STM32
|
|
|
|
bool
|
|
|
|
depends on OF
|
|
|
|
select PINMUX
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
select GPIOLIB
|
2017-07-12 07:11:49 +08:00
|
|
|
select IRQ_DOMAIN_HIERARCHY
|
2016-09-09 22:42:01 +08:00
|
|
|
select MFD_SYSCON
|
2016-01-14 20:16:30 +08:00
|
|
|
|
|
|
|
config PINCTRL_STM32F429
|
|
|
|
bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
|
2018-03-06 19:15:56 +08:00
|
|
|
depends on OF && HAS_IOMEM
|
2016-01-14 20:16:30 +08:00
|
|
|
default MACH_STM32F429
|
|
|
|
select PINCTRL_STM32
|
|
|
|
|
2017-04-07 20:43:01 +08:00
|
|
|
config PINCTRL_STM32F469
|
|
|
|
bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469
|
2018-03-06 19:15:56 +08:00
|
|
|
depends on OF && HAS_IOMEM
|
2017-04-07 20:43:01 +08:00
|
|
|
default MACH_STM32F469
|
|
|
|
select PINCTRL_STM32
|
|
|
|
|
2016-07-11 16:43:40 +08:00
|
|
|
config PINCTRL_STM32F746
|
|
|
|
bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
|
2018-03-06 19:15:56 +08:00
|
|
|
depends on OF && HAS_IOMEM
|
2016-07-11 16:43:40 +08:00
|
|
|
default MACH_STM32F746
|
|
|
|
select PINCTRL_STM32
|
|
|
|
|
2017-12-11 16:54:32 +08:00
|
|
|
config PINCTRL_STM32F769
|
|
|
|
bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769
|
2018-03-06 19:15:56 +08:00
|
|
|
depends on OF && HAS_IOMEM
|
2017-12-11 16:54:32 +08:00
|
|
|
default MACH_STM32F769
|
|
|
|
select PINCTRL_STM32
|
|
|
|
|
2017-01-31 21:14:19 +08:00
|
|
|
config PINCTRL_STM32H743
|
|
|
|
bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
|
2018-03-06 19:15:56 +08:00
|
|
|
depends on OF && HAS_IOMEM
|
2017-01-31 21:14:19 +08:00
|
|
|
default MACH_STM32H743
|
|
|
|
select PINCTRL_STM32
|
2017-12-18 23:17:49 +08:00
|
|
|
|
2021-07-23 21:28:05 +08: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 23:17:49 +08:00
|
|
|
config PINCTRL_STM32MP157
|
|
|
|
bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157
|
2018-03-06 19:15:56 +08:00
|
|
|
depends on OF && HAS_IOMEM
|
2017-12-18 23:17:49 +08:00
|
|
|
default MACH_STM32MP157
|
|
|
|
select PINCTRL_STM32
|
2016-01-14 20:16:30 +08:00
|
|
|
endif
|