mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 05:24:12 +08:00
73ae2cb424
The Samsung pinctrl drivers require only GPIOLIB and OF for building. The drivers should be buildable on all architectures so enable COMPILE_TEST. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
36 lines
959 B
Plaintext
36 lines
959 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Samsung Pin control drivers
|
|
#
|
|
config PINCTRL_SAMSUNG
|
|
bool
|
|
select PINMUX
|
|
select PINCONF
|
|
|
|
config PINCTRL_EXYNOS
|
|
bool "Pinctrl driver data for Samsung EXYNOS SoCs"
|
|
depends on OF && GPIOLIB
|
|
depends on ARCH_EXYNOS || ARCH_S5PV210 || COMPILE_TEST
|
|
select PINCTRL_SAMSUNG
|
|
select PINCTRL_EXYNOS_ARM if ARM && (ARCH_EXYNOS || ARCH_S5PV210)
|
|
select PINCTRL_EXYNOS_ARM64 if ARM64 && ARCH_EXYNOS
|
|
|
|
config PINCTRL_EXYNOS_ARM
|
|
bool "ARMv7-specific pinctrl driver data for Exynos" if COMPILE_TEST
|
|
depends on PINCTRL_EXYNOS
|
|
|
|
config PINCTRL_EXYNOS_ARM64
|
|
bool "ARMv8-specific pinctrl driver data for Exynos" if COMPILE_TEST
|
|
depends on PINCTRL_EXYNOS
|
|
|
|
config PINCTRL_S3C24XX
|
|
bool "Samsung S3C24XX SoC pinctrl driver"
|
|
depends on OF
|
|
depends on ARCH_S3C24XX || COMPILE_TEST
|
|
select PINCTRL_SAMSUNG
|
|
|
|
config PINCTRL_S3C64XX
|
|
bool "Samsung S3C64XX SoC pinctrl driver"
|
|
depends on ARCH_S3C64XX || COMPILE_TEST
|
|
select PINCTRL_SAMSUNG
|