1 # SPDX-License-Identifier: GPL-2.0-only
2 # Recent Exynos platforms should just select COMMON_CLK_SAMSUNG:
3 config COMMON_CLK_SAMSUNG
4 bool "Samsung Exynos clock controller support" if COMPILE_TEST
5 select S3C64XX_COMMON_CLK if ARM && ARCH_S3C64XX
6 select S5PV210_COMMON_CLK if ARM && ARCH_S5PV210
7 select EXYNOS_3250_COMMON_CLK if ARM && SOC_EXYNOS3250
8 select EXYNOS_4_COMMON_CLK if ARM && ARCH_EXYNOS4
9 select EXYNOS_5250_COMMON_CLK if ARM && SOC_EXYNOS5250
10 select EXYNOS_5260_COMMON_CLK if ARM && SOC_EXYNOS5260
11 select EXYNOS_5410_COMMON_CLK if ARM && SOC_EXYNOS5410
12 select EXYNOS_5420_COMMON_CLK if ARM && SOC_EXYNOS5420
13 select EXYNOS_ARM64_COMMON_CLK if ARM64 && ARCH_EXYNOS
15 config S3C64XX_COMMON_CLK
16 bool "Samsung S3C64xx clock controller support" if COMPILE_TEST
17 depends on COMMON_CLK_SAMSUNG
19 Support for the clock controller present on the Samsung S3C64xx SoCs.
20 Choose Y here only if you build for this SoC.
22 config S5PV210_COMMON_CLK
23 bool "Samsung S5Pv210 clock controller support" if COMPILE_TEST
24 depends on COMMON_CLK_SAMSUNG
26 Support for the clock controller present on the Samsung S5Pv210 SoCs.
27 Choose Y here only if you build for this SoC.
29 config EXYNOS_3250_COMMON_CLK
30 bool "Samsung Exynos3250 clock controller support" if COMPILE_TEST
31 depends on COMMON_CLK_SAMSUNG
33 Support for the clock controller present on the Samsung
34 Exynos3250 SoCs. Choose Y here only if you build for this SoC.
36 config EXYNOS_4_COMMON_CLK
37 bool "Samsung Exynos4 clock controller support" if COMPILE_TEST
38 depends on COMMON_CLK_SAMSUNG
40 Support for the clock controller present on the Samsung
41 Exynos4212 and Exynos4412 SoCs. Choose Y here only if you build for
44 config EXYNOS_5250_COMMON_CLK
45 bool "Samsung Exynos5250 clock controller support" if COMPILE_TEST
46 depends on COMMON_CLK_SAMSUNG
48 Support for the clock controller present on the Samsung
49 Exynos5250 SoCs. Choose Y here only if you build for this SoC.
51 config EXYNOS_5260_COMMON_CLK
52 bool "Samsung Exynos5260 clock controller support" if COMPILE_TEST
53 depends on COMMON_CLK_SAMSUNG
55 Support for the clock controller present on the Samsung
56 Exynos5260 SoCs. Choose Y here only if you build for this SoC.
58 config EXYNOS_5410_COMMON_CLK
59 bool "Samsung Exynos5410 clock controller support" if COMPILE_TEST
60 depends on COMMON_CLK_SAMSUNG
62 Support for the clock controller present on the Samsung
63 Exynos5410 SoCs. Choose Y here only if you build for this SoC.
65 config EXYNOS_5420_COMMON_CLK
66 bool "Samsung Exynos5420 clock controller support" if COMPILE_TEST
67 depends on COMMON_CLK_SAMSUNG
69 Support for the clock controller present on the Samsung
70 Exynos5420 SoCs. Choose Y here only if you build for this SoC.
72 config EXYNOS_ARM64_COMMON_CLK
73 bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
74 depends on COMMON_CLK_SAMSUNG
76 config EXYNOS_AUDSS_CLK_CON
77 tristate "Samsung Exynos AUDSS clock controller support"
78 depends on COMMON_CLK_SAMSUNG
79 default y if ARCH_EXYNOS
81 Support for the Audio Subsystem CLKCON clock controller present
82 on some Exynos SoC variants. Choose M or Y here if you want to
83 use audio devices such as I2S, PCM, etc.
86 tristate "Samsung Exynos clock output driver"
87 depends on COMMON_CLK_SAMSUNG
88 default y if ARCH_EXYNOS
90 Support for the clock output (XCLKOUT) present on some of Exynos SoC
91 variants. Usually the XCLKOUT is used to monitor the status of the
92 certains clocks from SoC, but it could also be tied to other devices
95 # For S3C24XX platforms, select following symbols:
96 config S3C2410_COMMON_CLK
97 bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
98 select COMMON_CLK_SAMSUNG
100 Build the s3c2410 clock driver based on the common clock framework.
102 config S3C2410_COMMON_DCLK
104 select COMMON_CLK_SAMSUNG
107 Temporary symbol to build the dclk driver based on the common clock
110 config S3C2412_COMMON_CLK
111 bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
112 select COMMON_CLK_SAMSUNG
114 config S3C2443_COMMON_CLK
115 bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
116 select COMMON_CLK_SAMSUNG