xref: /openbmc/linux/drivers/clk/samsung/Kconfig (revision aeefc1a0)
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
22config EXYNOS_CLKOUT
23	tristate "Samsung Exynos clock output driver"
24	depends on COMMON_CLK_SAMSUNG
25	default y if ARCH_EXYNOS
26	help
27	  Support for the clock output (XCLKOUT) present on some of Exynos SoC
28	  variants. Usually the XCLKOUT is used to monitor the status of the
29	  certains clocks from SoC, but it could also be tied to other devices
30	  as an input clock.
31
32# For S3C24XX platforms, select following symbols:
33config S3C2410_COMMON_CLK
34	bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
35	select COMMON_CLK_SAMSUNG
36	help
37	  Build the s3c2410 clock driver based on the common clock framework.
38
39config S3C2410_COMMON_DCLK
40	bool
41	select COMMON_CLK_SAMSUNG
42	select REGMAP_MMIO
43	help
44	  Temporary symbol to build the dclk driver based on the common clock
45	  framework.
46
47config S3C2412_COMMON_CLK
48	bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
49	select COMMON_CLK_SAMSUNG
50
51config S3C2443_COMMON_CLK
52	bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
53	select COMMON_CLK_SAMSUNG
54