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