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