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
6 select S3C64XX_COMMON_CLK if ARM && ARCH_S3C64XX
7 select S5PV210_COMMON_CLK if ARM && ARCH_S5PV210
8 select EXYNOS_3250_COMMON_CLK if ARM && SOC_EXYNOS3250
9 select EXYNOS_4_COMMON_CLK if ARM && ARCH_EXYNOS4
10 select EXYNOS_5250_COMMON_CLK if ARM && SOC_EXYNOS5250
11 select EXYNOS_5260_COMMON_CLK if ARM && SOC_EXYNOS5260
12 select EXYNOS_5410_COMMON_CLK if ARM && SOC_EXYNOS5410
13 select EXYNOS_5420_COMMON_CLK if ARM && SOC_EXYNOS5420
14 select EXYNOS_ARM64_COMMON_CLK if ARM64 && ARCH_EXYNOS
15 select TESLA_FSD_COMMON_CLK if ARM64 && ARCH_TESLA_FSD
17 config S3C64XX_COMMON_CLK
18 bool "Samsung S3C64xx clock controller support" if COMPILE_TEST
19 depends on COMMON_CLK_SAMSUNG
21 Support for the clock controller present on the Samsung S3C64xx SoCs.
22 Choose Y here only if you build for this SoC.
24 config S5PV210_COMMON_CLK
25 bool "Samsung S5Pv210 clock controller support" if COMPILE_TEST
26 depends on COMMON_CLK_SAMSUNG
28 Support for the clock controller present on the Samsung S5Pv210 SoCs.
29 Choose Y here only if you build for this SoC.
31 config EXYNOS_3250_COMMON_CLK
32 bool "Samsung Exynos3250 clock controller support" if COMPILE_TEST
33 depends on COMMON_CLK_SAMSUNG
35 Support for the clock controller present on the Samsung
36 Exynos3250 SoCs. Choose Y here only if you build for this SoC.
38 config EXYNOS_4_COMMON_CLK
39 bool "Samsung Exynos4 clock controller support" if COMPILE_TEST
40 depends on COMMON_CLK_SAMSUNG
42 Support for the clock controller present on the Samsung
43 Exynos4212 and Exynos4412 SoCs. Choose Y here only if you build for
46 config EXYNOS_5250_COMMON_CLK
47 bool "Samsung Exynos5250 clock controller support" if COMPILE_TEST
48 depends on COMMON_CLK_SAMSUNG
50 Support for the clock controller present on the Samsung
51 Exynos5250 SoCs. Choose Y here only if you build for this SoC.
53 config EXYNOS_5260_COMMON_CLK
54 bool "Samsung Exynos5260 clock controller support" if COMPILE_TEST
55 depends on COMMON_CLK_SAMSUNG
57 Support for the clock controller present on the Samsung
58 Exynos5260 SoCs. Choose Y here only if you build for this SoC.
60 config EXYNOS_5410_COMMON_CLK
61 bool "Samsung Exynos5410 clock controller support" if COMPILE_TEST
62 depends on COMMON_CLK_SAMSUNG
64 Support for the clock controller present on the Samsung
65 Exynos5410 SoCs. Choose Y here only if you build for this SoC.
67 config EXYNOS_5420_COMMON_CLK
68 bool "Samsung Exynos5420 clock controller support" if COMPILE_TEST
69 depends on COMMON_CLK_SAMSUNG
71 Support for the clock controller present on the Samsung
72 Exynos5420/Exynos5422/Exynos5800 SoCs. Choose Y here only if you
75 config EXYNOS_ARM64_COMMON_CLK
76 bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
77 depends on COMMON_CLK_SAMSUNG
79 config EXYNOS_AUDSS_CLK_CON
80 tristate "Samsung Exynos AUDSS clock controller support"
81 depends on COMMON_CLK_SAMSUNG
82 default y if ARCH_EXYNOS
84 Support for the Audio Subsystem CLKCON clock controller present
85 on some Samsung Exynos SoC variants. Choose M or Y here if you want
86 to use audio devices such as I2S, PCM, etc.
89 tristate "Samsung Exynos clock output driver"
90 depends on COMMON_CLK_SAMSUNG
91 default y if ARCH_EXYNOS
93 Support for the clock output (XCLKOUT) present on some of Samsung
94 Exynos SoC variants. Usually the XCLKOUT is used to monitor the
95 status of the certains clocks from SoC, but it could also be tied to
96 other devices as an input clock.
98 config TESLA_FSD_COMMON_CLK
99 bool "Tesla FSD clock controller support" if COMPILE_TEST
100 depends on COMMON_CLK_SAMSUNG
101 depends on EXYNOS_ARM64_COMMON_CLK
103 Support for the clock controller present on the Tesla FSD SoC.
104 Choose Y here only if you build for this SoC.