xref: /openbmc/linux/drivers/pinctrl/samsung/Kconfig (revision 20ab62c4)
1221173a3SKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0
2ebe629a3SSachin Kamat#
3ebe629a3SSachin Kamat# Samsung Pin control drivers
4ebe629a3SSachin Kamat#
5ebe629a3SSachin Kamatconfig PINCTRL_SAMSUNG
6ebe629a3SSachin Kamat	bool
7*ac875df4SKrzysztof Kozlowski	select GPIOLIB
8ebe629a3SSachin Kamat	select PINMUX
9ebe629a3SSachin Kamat	select PINCONF
10ebe629a3SSachin Kamat
11ebe629a3SSachin Kamatconfig PINCTRL_EXYNOS
1256d9625eSKrzysztof Kozlowski	bool "Pinctrl common driver part for Samsung Exynos SoCs"
13*ac875df4SKrzysztof Kozlowski	depends on ARCH_EXYNOS || ARCH_S5PV210 || (COMPILE_TEST && OF)
14ebe629a3SSachin Kamat	select PINCTRL_SAMSUNG
15cfa76ddfSKrzysztof Kozlowski	select PINCTRL_EXYNOS_ARM if ARM && (ARCH_EXYNOS || ARCH_S5PV210)
16cfa76ddfSKrzysztof Kozlowski	select PINCTRL_EXYNOS_ARM64 if ARM64 && ARCH_EXYNOS
17cfa76ddfSKrzysztof Kozlowski
18cfa76ddfSKrzysztof Kozlowskiconfig PINCTRL_EXYNOS_ARM
1956d9625eSKrzysztof Kozlowski	bool "ARMv7-specific pinctrl driver for Samsung Exynos SoCs" if COMPILE_TEST
20cfa76ddfSKrzysztof Kozlowski	depends on PINCTRL_EXYNOS
21cfa76ddfSKrzysztof Kozlowski
22cfa76ddfSKrzysztof Kozlowskiconfig PINCTRL_EXYNOS_ARM64
2356d9625eSKrzysztof Kozlowski	bool "ARMv8-specific pinctrl driver for Samsung Exynos SoCs" if COMPILE_TEST
24cfa76ddfSKrzysztof Kozlowski	depends on PINCTRL_EXYNOS
25ebe629a3SSachin Kamat
26ebe629a3SSachin Kamatconfig PINCTRL_S3C64XX
27ebe629a3SSachin Kamat	bool "Samsung S3C64XX SoC pinctrl driver"
28*ac875df4SKrzysztof Kozlowski	depends on ARCH_S3C64XX || (COMPILE_TEST && OF)
29ebe629a3SSachin Kamat	select PINCTRL_SAMSUNG
30