Staging
v0.7.0
https://github.com/torvalds/linux
Raw File
Tip revision: 2ccdd1b13c591d306f0401d98dedc4bdcd02b421 authored by Linus Torvalds on 13 August 2023, 18:29:55 UTC
Linux 6.5-rc6
Tip revision: 2ccdd1b
Kconfig
# SPDX-License-Identifier: GPL-2.0-only
if ARCH_STM32 || COMPILE_TEST

config PINCTRL_STM32
	bool
	depends on OF
	select PINMUX
	select GENERIC_PINCONF
	select GPIOLIB
	select IRQ_DOMAIN_HIERARCHY
	select MFD_SYSCON

config PINCTRL_STM32F429
	bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
	depends on OF && HAS_IOMEM
	default MACH_STM32F429
	select PINCTRL_STM32

config PINCTRL_STM32F469
	bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469
	depends on OF && HAS_IOMEM
	default MACH_STM32F469
	select PINCTRL_STM32

config PINCTRL_STM32F746
	bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
	depends on OF && HAS_IOMEM
	default MACH_STM32F746
	select PINCTRL_STM32

config PINCTRL_STM32F769
	bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769
	depends on OF && HAS_IOMEM
	default MACH_STM32F769
	select PINCTRL_STM32

config PINCTRL_STM32H743
	bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
	depends on OF && HAS_IOMEM
	default MACH_STM32H743
	select PINCTRL_STM32

config PINCTRL_STM32MP135
	bool "STMicroelectronics STM32MP135 pin control" if COMPILE_TEST && !MACH_STM32MP13
	depends on OF && HAS_IOMEM
	default MACH_STM32MP13
	select PINCTRL_STM32

config PINCTRL_STM32MP157
	bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157
	depends on OF && HAS_IOMEM
	default MACH_STM32MP157
	select PINCTRL_STM32

config PINCTRL_STM32MP257
	bool "STMicroelectronics STM32MP257 pin control" if COMPILE_TEST && !MACH_STM32MP25
	depends on OF && HAS_IOMEM
	default MACH_STM32MP25
	select PINCTRL_STM32
endif
back to top