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