xref: /linux/drivers/clk/samsung/Kconfig (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
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	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
14
15config S3C64XX_COMMON_CLK
16	bool "Samsung S3C64xx clock controller support" if COMPILE_TEST
17	depends on COMMON_CLK_SAMSUNG
18	help
19	  Support for the clock controller present on the Samsung S3C64xx SoCs.
20	  Choose Y here only if you build for this SoC.
21
22config S5PV210_COMMON_CLK
23	bool "Samsung S5Pv210 clock controller support" if COMPILE_TEST
24	depends on COMMON_CLK_SAMSUNG
25	help
26	  Support for the clock controller present on the Samsung S5Pv210 SoCs.
27	  Choose Y here only if you build for this SoC.
28
29config EXYNOS_3250_COMMON_CLK
30	bool "Samsung Exynos3250 clock controller support" if COMPILE_TEST
31	depends on COMMON_CLK_SAMSUNG
32	help
33	  Support for the clock controller present on the Samsung
34	  Exynos3250 SoCs. Choose Y here only if you build for this SoC.
35
36config EXYNOS_4_COMMON_CLK
37	bool "Samsung Exynos4 clock controller support" if COMPILE_TEST
38	depends on COMMON_CLK_SAMSUNG
39	help
40	  Support for the clock controller present on the Samsung
41	  Exynos4212 and Exynos4412 SoCs. Choose Y here only if you build for
42	  this SoC.
43
44config EXYNOS_5250_COMMON_CLK
45	bool "Samsung Exynos5250 clock controller support" if COMPILE_TEST
46	depends on COMMON_CLK_SAMSUNG
47	help
48	  Support for the clock controller present on the Samsung
49	  Exynos5250 SoCs. Choose Y here only if you build for this SoC.
50
51config EXYNOS_5260_COMMON_CLK
52	bool "Samsung Exynos5260 clock controller support" if COMPILE_TEST
53	depends on COMMON_CLK_SAMSUNG
54	help
55	  Support for the clock controller present on the Samsung
56	  Exynos5260 SoCs. Choose Y here only if you build for this SoC.
57
58config EXYNOS_5410_COMMON_CLK
59	bool "Samsung Exynos5410 clock controller support" if COMPILE_TEST
60	depends on COMMON_CLK_SAMSUNG
61	help
62	  Support for the clock controller present on the Samsung
63	  Exynos5410 SoCs. Choose Y here only if you build for this SoC.
64
65config EXYNOS_5420_COMMON_CLK
66	bool "Samsung Exynos5420 clock controller support" if COMPILE_TEST
67	depends on COMMON_CLK_SAMSUNG
68	help
69	  Support for the clock controller present on the Samsung
70	  Exynos5420 SoCs. Choose Y here only if you build for this SoC.
71
72config EXYNOS_ARM64_COMMON_CLK
73	bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
74	depends on COMMON_CLK_SAMSUNG
75
76config EXYNOS_AUDSS_CLK_CON
77	tristate "Samsung Exynos AUDSS clock controller support"
78	depends on COMMON_CLK_SAMSUNG
79	default y if ARCH_EXYNOS
80	help
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.
84
85config EXYNOS_CLKOUT
86	tristate "Samsung Exynos clock output driver"
87	depends on COMMON_CLK_SAMSUNG
88	default y if ARCH_EXYNOS
89	help
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
93	  as an input clock.
94
95# For S3C24XX platforms, select following symbols:
96config S3C2410_COMMON_CLK
97	bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
98	select COMMON_CLK_SAMSUNG
99	help
100	  Build the s3c2410 clock driver based on the common clock framework.
101
102config S3C2410_COMMON_DCLK
103	bool
104	select COMMON_CLK_SAMSUNG
105	select REGMAP_MMIO
106	help
107	  Temporary symbol to build the dclk driver based on the common clock
108	  framework.
109
110config S3C2412_COMMON_CLK
111	bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
112	select COMMON_CLK_SAMSUNG
113
114config S3C2443_COMMON_CLK
115	bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
116	select COMMON_CLK_SAMSUNG
117