xref: /linux/drivers/clk/samsung/Kconfig (revision e44cdff05145b84293e3f424daa17e4f3ce0109c)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
285997a7cSKrzysztof Kozlowski# Recent Exynos platforms should just select COMMON_CLK_SAMSUNG:
34ce9b85eSPankaj Dubeyconfig COMMON_CLK_SAMSUNG
4215cd967SKrzysztof Kozlowski	bool "Samsung Exynos clock controller support" if COMPILE_TEST
5*e44cdff0SKrzysztof Kozlowski	select S3C64XX_COMMON_CLK if ARM && ARCH_S3C64XX
6*e44cdff0SKrzysztof Kozlowski	select S5PV210_COMMON_CLK if ARM && ARCH_S5PV210
7*e44cdff0SKrzysztof Kozlowski	select EXYNOS_3250_COMMON_CLK if ARM && SOC_EXYNOS3250
8*e44cdff0SKrzysztof Kozlowski	select EXYNOS_4_COMMON_CLK if ARM && ARCH_EXYNOS4
9*e44cdff0SKrzysztof Kozlowski	select EXYNOS_5250_COMMON_CLK if ARM && SOC_EXYNOS5250
10*e44cdff0SKrzysztof Kozlowski	select EXYNOS_5260_COMMON_CLK if ARM && SOC_EXYNOS5260
11*e44cdff0SKrzysztof Kozlowski	select EXYNOS_5410_COMMON_CLK if ARM && SOC_EXYNOS5410
12*e44cdff0SKrzysztof Kozlowski	select EXYNOS_5420_COMMON_CLK if ARM && SOC_EXYNOS5420
1385997a7cSKrzysztof Kozlowski	select EXYNOS_ARM64_COMMON_CLK if ARM64 && ARCH_EXYNOS
141f4f2cfdSPankaj Dubey
15*e44cdff0SKrzysztof Kozlowskiconfig S3C64XX_COMMON_CLK
16*e44cdff0SKrzysztof Kozlowski	bool "Samsung S3C64xx clock controller support" if COMPILE_TEST
17*e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
18*e44cdff0SKrzysztof Kozlowski	help
19*e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung S3C64xx SoCs.
20*e44cdff0SKrzysztof Kozlowski	  Choose Y here only if you build for this SoC.
21*e44cdff0SKrzysztof Kozlowski
22*e44cdff0SKrzysztof Kozlowskiconfig S5PV210_COMMON_CLK
23*e44cdff0SKrzysztof Kozlowski	bool "Samsung S5Pv210 clock controller support" if COMPILE_TEST
24*e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
25*e44cdff0SKrzysztof Kozlowski	help
26*e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung S5Pv210 SoCs.
27*e44cdff0SKrzysztof Kozlowski	  Choose Y here only if you build for this SoC.
28*e44cdff0SKrzysztof Kozlowski
29*e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_3250_COMMON_CLK
30*e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos3250 clock controller support" if COMPILE_TEST
31*e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
32*e44cdff0SKrzysztof Kozlowski	help
33*e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
34*e44cdff0SKrzysztof Kozlowski	  Exynos3250 SoCs. Choose Y here only if you build for this SoC.
35*e44cdff0SKrzysztof Kozlowski
36*e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_4_COMMON_CLK
37*e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos4 clock controller support" if COMPILE_TEST
38*e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
39*e44cdff0SKrzysztof Kozlowski	help
40*e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
41*e44cdff0SKrzysztof Kozlowski	  Exynos4212 and Exynos4412 SoCs. Choose Y here only if you build for
42*e44cdff0SKrzysztof Kozlowski	  this SoC.
43*e44cdff0SKrzysztof Kozlowski
44*e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5250_COMMON_CLK
45*e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos5250 clock controller support" if COMPILE_TEST
46*e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
47*e44cdff0SKrzysztof Kozlowski	help
48*e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
49*e44cdff0SKrzysztof Kozlowski	  Exynos5250 SoCs. Choose Y here only if you build for this SoC.
50*e44cdff0SKrzysztof Kozlowski
51*e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5260_COMMON_CLK
52*e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos5260 clock controller support" if COMPILE_TEST
53*e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
54*e44cdff0SKrzysztof Kozlowski	help
55*e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
56*e44cdff0SKrzysztof Kozlowski	  Exynos5260 SoCs. Choose Y here only if you build for this SoC.
57*e44cdff0SKrzysztof Kozlowski
58*e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5410_COMMON_CLK
59*e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos5410 clock controller support" if COMPILE_TEST
60*e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
61*e44cdff0SKrzysztof Kozlowski	help
62*e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
63*e44cdff0SKrzysztof Kozlowski	  Exynos5410 SoCs. Choose Y here only if you build for this SoC.
64*e44cdff0SKrzysztof Kozlowski
65*e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5420_COMMON_CLK
66*e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos5420 clock controller support" if COMPILE_TEST
67*e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
68*e44cdff0SKrzysztof Kozlowski	help
69*e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
70*e44cdff0SKrzysztof Kozlowski	  Exynos5420 SoCs. Choose Y here only if you build for this SoC.
71*e44cdff0SKrzysztof Kozlowski
7285997a7cSKrzysztof Kozlowskiconfig EXYNOS_ARM64_COMMON_CLK
7385997a7cSKrzysztof Kozlowski	bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
7485997a7cSKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
7585997a7cSKrzysztof Kozlowski
764d252fd5SSylwester Nawrockiconfig EXYNOS_AUDSS_CLK_CON
774d252fd5SSylwester Nawrocki	tristate "Samsung Exynos AUDSS clock controller support"
784d252fd5SSylwester Nawrocki	depends on COMMON_CLK_SAMSUNG
794d252fd5SSylwester Nawrocki	default y if ARCH_EXYNOS
804d252fd5SSylwester Nawrocki	help
814d252fd5SSylwester Nawrocki	  Support for the Audio Subsystem CLKCON clock controller present
824d252fd5SSylwester Nawrocki	  on some Exynos SoC variants. Choose M or Y here if you want to
834d252fd5SSylwester Nawrocki	  use audio devices such as I2S, PCM, etc.
844d252fd5SSylwester Nawrocki
8585997a7cSKrzysztof Kozlowski# For S3C24XX platforms, select following symbols:
861f4f2cfdSPankaj Dubeyconfig S3C2410_COMMON_CLK
87215cd967SKrzysztof Kozlowski	bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
881f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
891f4f2cfdSPankaj Dubey	help
901f4f2cfdSPankaj Dubey	  Build the s3c2410 clock driver based on the common clock framework.
911f4f2cfdSPankaj Dubey
921f4f2cfdSPankaj Dubeyconfig S3C2410_COMMON_DCLK
931f4f2cfdSPankaj Dubey	bool
941f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
951f4f2cfdSPankaj Dubey	select REGMAP_MMIO
961f4f2cfdSPankaj Dubey	help
971f4f2cfdSPankaj Dubey	  Temporary symbol to build the dclk driver based on the common clock
981f4f2cfdSPankaj Dubey	  framework.
991f4f2cfdSPankaj Dubey
1001f4f2cfdSPankaj Dubeyconfig S3C2412_COMMON_CLK
101215cd967SKrzysztof Kozlowski	bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
1021f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
1031f4f2cfdSPankaj Dubey
1041f4f2cfdSPankaj Dubeyconfig S3C2443_COMMON_CLK
105215cd967SKrzysztof Kozlowski	bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
1061f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
107