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