xref: /openbmc/linux/drivers/pinctrl/samsung/Kconfig (revision 6a767685)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Samsung Pin control drivers
4#
5config PINCTRL_SAMSUNG
6	bool
7	select PINMUX
8	select PINCONF
9
10config PINCTRL_EXYNOS
11	bool "Pinctrl driver data for Samsung EXYNOS SoCs other than 5440"
12	depends on OF && GPIOLIB && (ARCH_EXYNOS || ARCH_S5PV210)
13	select PINCTRL_SAMSUNG
14	select PINCTRL_EXYNOS_ARM if ARM && (ARCH_EXYNOS || ARCH_S5PV210)
15	select PINCTRL_EXYNOS_ARM64 if ARM64 && ARCH_EXYNOS
16
17config PINCTRL_EXYNOS_ARM
18	bool "ARMv7-specific pinctrl driver data for Exynos (except Exynos5440)" if COMPILE_TEST
19	depends on PINCTRL_EXYNOS
20
21config PINCTRL_EXYNOS_ARM64
22	bool "ARMv8-specific pinctrl driver data for Exynos" if COMPILE_TEST
23	depends on PINCTRL_EXYNOS
24
25config PINCTRL_EXYNOS5440
26	bool "Samsung EXYNOS5440 SoC pinctrl driver"
27	depends on SOC_EXYNOS5440
28	select PINMUX
29	select PINCONF
30
31config PINCTRL_S3C24XX
32	bool "Samsung S3C24XX SoC pinctrl driver"
33	depends on ARCH_S3C24XX && OF
34	select PINCTRL_SAMSUNG
35
36config PINCTRL_S3C64XX
37	bool "Samsung S3C64XX SoC pinctrl driver"
38	depends on ARCH_S3C64XX
39	select PINCTRL_SAMSUNG
40