1# SPDX-License-Identifier: GPL-2.0
2#
3# Samsung Pin control drivers
4#
5config PINCTRL_SAMSUNG
6	bool
7	select GPIOLIB
8	select PINMUX
9	select PINCONF
10
11config PINCTRL_EXYNOS
12	bool "Pinctrl common driver part for Samsung Exynos SoCs"
13	depends on ARCH_EXYNOS || ARCH_S5PV210 || (COMPILE_TEST && OF)
14	select PINCTRL_SAMSUNG
15	select PINCTRL_EXYNOS_ARM if ARM && (ARCH_EXYNOS || ARCH_S5PV210)
16	select PINCTRL_EXYNOS_ARM64 if ARM64 && ARCH_EXYNOS
17
18config PINCTRL_EXYNOS_ARM
19	bool "ARMv7-specific pinctrl driver for Samsung Exynos SoCs" if COMPILE_TEST
20	depends on PINCTRL_EXYNOS
21
22config PINCTRL_EXYNOS_ARM64
23	bool "ARMv8-specific pinctrl driver for Samsung Exynos SoCs" if COMPILE_TEST
24	depends on PINCTRL_EXYNOS
25
26config PINCTRL_S3C24XX
27	bool "Samsung S3C24XX SoC pinctrl driver"
28	depends on ARCH_S3C24XX || (COMPILE_TEST && OF)
29	select PINCTRL_SAMSUNG
30
31config PINCTRL_S3C64XX
32	bool "Samsung S3C64XX SoC pinctrl driver"
33	depends on ARCH_S3C64XX || (COMPILE_TEST && OF)
34	select PINCTRL_SAMSUNG
35