1# SPDX-License-Identifier: GPL-2.0-only
2# Recent Exynos platforms should just select COMMON_CLK_SAMSUNG:
3config COMMON_CLK_SAMSUNG
4	bool "Samsung Exynos clock controller support" if COMPILE_TEST
5	# Clocks on ARM64 SoCs (e.g. Exynos5433, Exynos7) are chosen by
6	# EXYNOS_ARM64_COMMON_CLK to avoid building them on ARMv7:
7	select EXYNOS_ARM64_COMMON_CLK if ARM64 && ARCH_EXYNOS
8
9config EXYNOS_ARM64_COMMON_CLK
10	bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
11	depends on COMMON_CLK_SAMSUNG
12
13config EXYNOS_AUDSS_CLK_CON
14	tristate "Samsung Exynos AUDSS clock controller support"
15	depends on COMMON_CLK_SAMSUNG
16	default y if ARCH_EXYNOS
17	help
18	  Support for the Audio Subsystem CLKCON clock controller present
19	  on some Exynos SoC variants. Choose M or Y here if you want to
20	  use audio devices such as I2S, PCM, etc.
21
22# For S3C24XX platforms, select following symbols:
23config S3C2410_COMMON_CLK
24	bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
25	select COMMON_CLK_SAMSUNG
26	help
27	  Build the s3c2410 clock driver based on the common clock framework.
28
29config S3C2410_COMMON_DCLK
30	bool
31	select COMMON_CLK_SAMSUNG
32	select REGMAP_MMIO
33	help
34	  Temporary symbol to build the dclk driver based on the common clock
35	  framework.
36
37config S3C2412_COMMON_CLK
38	bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
39	select COMMON_CLK_SAMSUNG
40
41config S3C2443_COMMON_CLK
42	bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
43	select COMMON_CLK_SAMSUNG
44