xref: /openbmc/linux/drivers/clk/samsung/Kconfig (revision e2942062)
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	depends on OF
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
16
17config S3C64XX_COMMON_CLK
18	bool "Samsung S3C64xx clock controller support" if COMPILE_TEST
19	depends on COMMON_CLK_SAMSUNG
20	help
21	  Support for the clock controller present on the Samsung S3C64xx SoCs.
22	  Choose Y here only if you build for this SoC.
23
24config S5PV210_COMMON_CLK
25	bool "Samsung S5Pv210 clock controller support" if COMPILE_TEST
26	depends on COMMON_CLK_SAMSUNG
27	help
28	  Support for the clock controller present on the Samsung S5Pv210 SoCs.
29	  Choose Y here only if you build for this SoC.
30
31config EXYNOS_3250_COMMON_CLK
32	bool "Samsung Exynos3250 clock controller support" if COMPILE_TEST
33	depends on COMMON_CLK_SAMSUNG
34	help
35	  Support for the clock controller present on the Samsung
36	  Exynos3250 SoCs. Choose Y here only if you build for this SoC.
37
38config EXYNOS_4_COMMON_CLK
39	bool "Samsung Exynos4 clock controller support" if COMPILE_TEST
40	depends on COMMON_CLK_SAMSUNG
41	help
42	  Support for the clock controller present on the Samsung
43	  Exynos4212 and Exynos4412 SoCs. Choose Y here only if you build for
44	  this SoC.
45
46config EXYNOS_5250_COMMON_CLK
47	bool "Samsung Exynos5250 clock controller support" if COMPILE_TEST
48	depends on COMMON_CLK_SAMSUNG
49	help
50	  Support for the clock controller present on the Samsung
51	  Exynos5250 SoCs. Choose Y here only if you build for this SoC.
52
53config EXYNOS_5260_COMMON_CLK
54	bool "Samsung Exynos5260 clock controller support" if COMPILE_TEST
55	depends on COMMON_CLK_SAMSUNG
56	help
57	  Support for the clock controller present on the Samsung
58	  Exynos5260 SoCs. Choose Y here only if you build for this SoC.
59
60config EXYNOS_5410_COMMON_CLK
61	bool "Samsung Exynos5410 clock controller support" if COMPILE_TEST
62	depends on COMMON_CLK_SAMSUNG
63	help
64	  Support for the clock controller present on the Samsung
65	  Exynos5410 SoCs. Choose Y here only if you build for this SoC.
66
67config EXYNOS_5420_COMMON_CLK
68	bool "Samsung Exynos5420 clock controller support" if COMPILE_TEST
69	depends on COMMON_CLK_SAMSUNG
70	help
71	  Support for the clock controller present on the Samsung
72	  Exynos5420/Exynos5422/Exynos5800 SoCs. Choose Y here only if you
73	  build for this SoC.
74
75config EXYNOS_ARM64_COMMON_CLK
76	bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
77	depends on COMMON_CLK_SAMSUNG
78
79config EXYNOS_AUDSS_CLK_CON
80	tristate "Samsung Exynos AUDSS clock controller support"
81	depends on COMMON_CLK_SAMSUNG
82	default y if ARCH_EXYNOS
83	help
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.
87
88config EXYNOS_CLKOUT
89	tristate "Samsung Exynos clock output driver"
90	depends on COMMON_CLK_SAMSUNG
91	default y if ARCH_EXYNOS
92	help
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.
97
98config 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
102	help
103	  Support for the clock controller present on the Tesla FSD SoC.
104	  Choose Y here only if you build for this SoC.
105