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