xref: /openbmc/linux/drivers/clk/samsung/Kconfig (revision aec499c7)
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/Exynos5422/Exynos5800 SoCs. Choose Y here only if you
71	  build for this SoC.
72
73config EXYNOS_ARM64_COMMON_CLK
74	bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
75	depends on COMMON_CLK_SAMSUNG
76
77config EXYNOS_AUDSS_CLK_CON
78	tristate "Samsung Exynos AUDSS clock controller support"
79	depends on COMMON_CLK_SAMSUNG
80	default y if ARCH_EXYNOS
81	help
82	  Support for the Audio Subsystem CLKCON clock controller present
83	  on some Samsung Exynos SoC variants. Choose M or Y here if you want
84	  to use audio devices such as I2S, PCM, etc.
85
86config EXYNOS_CLKOUT
87	tristate "Samsung Exynos clock output driver"
88	depends on COMMON_CLK_SAMSUNG
89	default y if ARCH_EXYNOS
90	help
91	  Support for the clock output (XCLKOUT) present on some of Samsung
92	  Exynos SoC variants. Usually the XCLKOUT is used to monitor the
93	  status of the certains clocks from SoC, but it could also be tied to
94	  other devices as an input clock.
95
96# For S3C24XX platforms, select following symbols:
97config S3C2410_COMMON_CLK
98	bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
99	select COMMON_CLK_SAMSUNG
100	help
101	  Support for the clock controller present on the Samsung
102	  S3C2410/S3C2440/S3C2442 SoCs. Choose Y here only if you build for
103	  this SoC.
104
105config S3C2410_COMMON_DCLK
106	bool
107	select COMMON_CLK_SAMSUNG
108	select REGMAP_MMIO
109	help
110	  Support for the dclk clock controller present on the Samsung
111	  S3C2410/S3C2412/S3C2440/S3C2443 SoCs. Choose Y here only if you build
112	  for this SoC.
113
114config S3C2412_COMMON_CLK
115	bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
116	select COMMON_CLK_SAMSUNG
117	help
118	  Support for the clock controller present on the Samsung S3C2412 SoCs.
119	  Choose Y here only if you build for this SoC.
120
121config S3C2443_COMMON_CLK
122	bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
123	select COMMON_CLK_SAMSUNG
124	help
125	  Support for the clock controller present on the Samsung
126	  S3C2416/S3C2443 SoCs. Choose Y here only if you build for this SoC.
127