xref: /openbmc/linux/drivers/pinctrl/samsung/Kconfig (revision 56d9625e)
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
7ebe629a3SSachin Kamat	select PINMUX
8ebe629a3SSachin Kamat	select PINCONF
9ebe629a3SSachin Kamat
10ebe629a3SSachin Kamatconfig PINCTRL_EXYNOS
1156d9625eSKrzysztof Kozlowski	bool "Pinctrl common driver part for Samsung Exynos SoCs"
1273ae2cb4SKrzysztof Kozlowski	depends on OF && GPIOLIB
1373ae2cb4SKrzysztof Kozlowski	depends on ARCH_EXYNOS || ARCH_S5PV210 || COMPILE_TEST
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_S3C24XX
27ebe629a3SSachin Kamat	bool "Samsung S3C24XX SoC pinctrl driver"
2873ae2cb4SKrzysztof Kozlowski	depends on OF
2973ae2cb4SKrzysztof Kozlowski	depends on ARCH_S3C24XX || COMPILE_TEST
30ebe629a3SSachin Kamat	select PINCTRL_SAMSUNG
31ebe629a3SSachin Kamat
32ebe629a3SSachin Kamatconfig PINCTRL_S3C64XX
33ebe629a3SSachin Kamat	bool "Samsung S3C64XX SoC pinctrl driver"
3473ae2cb4SKrzysztof Kozlowski	depends on ARCH_S3C64XX || COMPILE_TEST
35ebe629a3SSachin Kamat	select PINCTRL_SAMSUNG
36