xref: /openbmc/linux/drivers/clk/samsung/Kconfig (revision 4f346005)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
285997a7cSKrzysztof Kozlowski# Recent Exynos platforms should just select COMMON_CLK_SAMSUNG:
34ce9b85eSPankaj Dubeyconfig COMMON_CLK_SAMSUNG
4215cd967SKrzysztof Kozlowski	bool "Samsung Exynos clock controller support" if COMPILE_TEST
5e44cdff0SKrzysztof Kozlowski	select S3C64XX_COMMON_CLK if ARM && ARCH_S3C64XX
6e44cdff0SKrzysztof Kozlowski	select S5PV210_COMMON_CLK if ARM && ARCH_S5PV210
7e44cdff0SKrzysztof Kozlowski	select EXYNOS_3250_COMMON_CLK if ARM && SOC_EXYNOS3250
8e44cdff0SKrzysztof Kozlowski	select EXYNOS_4_COMMON_CLK if ARM && ARCH_EXYNOS4
9e44cdff0SKrzysztof Kozlowski	select EXYNOS_5250_COMMON_CLK if ARM && SOC_EXYNOS5250
10e44cdff0SKrzysztof Kozlowski	select EXYNOS_5260_COMMON_CLK if ARM && SOC_EXYNOS5260
11e44cdff0SKrzysztof Kozlowski	select EXYNOS_5410_COMMON_CLK if ARM && SOC_EXYNOS5410
12e44cdff0SKrzysztof Kozlowski	select EXYNOS_5420_COMMON_CLK if ARM && SOC_EXYNOS5420
1385997a7cSKrzysztof Kozlowski	select EXYNOS_ARM64_COMMON_CLK if ARM64 && ARCH_EXYNOS
14*4f346005SAlim Akhtar	select TESLA_FSD_COMMON_CLK if ARM64 && ARCH_TESLA_FSD
151f4f2cfdSPankaj Dubey
16e44cdff0SKrzysztof Kozlowskiconfig S3C64XX_COMMON_CLK
17e44cdff0SKrzysztof Kozlowski	bool "Samsung S3C64xx clock controller support" if COMPILE_TEST
18e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
19e44cdff0SKrzysztof Kozlowski	help
20e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung S3C64xx SoCs.
21e44cdff0SKrzysztof Kozlowski	  Choose Y here only if you build for this SoC.
22e44cdff0SKrzysztof Kozlowski
23e44cdff0SKrzysztof Kozlowskiconfig S5PV210_COMMON_CLK
24e44cdff0SKrzysztof Kozlowski	bool "Samsung S5Pv210 clock controller support" if COMPILE_TEST
25e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
26e44cdff0SKrzysztof Kozlowski	help
27e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung S5Pv210 SoCs.
28e44cdff0SKrzysztof Kozlowski	  Choose Y here only if you build for this SoC.
29e44cdff0SKrzysztof Kozlowski
30e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_3250_COMMON_CLK
31e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos3250 clock controller support" if COMPILE_TEST
32e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
33e44cdff0SKrzysztof Kozlowski	help
34e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
35e44cdff0SKrzysztof Kozlowski	  Exynos3250 SoCs. Choose Y here only if you build for this SoC.
36e44cdff0SKrzysztof Kozlowski
37e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_4_COMMON_CLK
38e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos4 clock controller support" if COMPILE_TEST
39e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
40e44cdff0SKrzysztof Kozlowski	help
41e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
42e44cdff0SKrzysztof Kozlowski	  Exynos4212 and Exynos4412 SoCs. Choose Y here only if you build for
43e44cdff0SKrzysztof Kozlowski	  this SoC.
44e44cdff0SKrzysztof Kozlowski
45e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5250_COMMON_CLK
46e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos5250 clock controller support" if COMPILE_TEST
47e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
48e44cdff0SKrzysztof Kozlowski	help
49e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
50e44cdff0SKrzysztof Kozlowski	  Exynos5250 SoCs. Choose Y here only if you build for this SoC.
51e44cdff0SKrzysztof Kozlowski
52e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5260_COMMON_CLK
53e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos5260 clock controller support" if COMPILE_TEST
54e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
55e44cdff0SKrzysztof Kozlowski	help
56e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
57e44cdff0SKrzysztof Kozlowski	  Exynos5260 SoCs. Choose Y here only if you build for this SoC.
58e44cdff0SKrzysztof Kozlowski
59e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5410_COMMON_CLK
60e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos5410 clock controller support" if COMPILE_TEST
61e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
62e44cdff0SKrzysztof Kozlowski	help
63e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
64e44cdff0SKrzysztof Kozlowski	  Exynos5410 SoCs. Choose Y here only if you build for this SoC.
65e44cdff0SKrzysztof Kozlowski
66e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5420_COMMON_CLK
67e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos5420 clock controller support" if COMPILE_TEST
68e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
69e44cdff0SKrzysztof Kozlowski	help
70e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
719fe667afSKrzysztof Kozlowski	  Exynos5420/Exynos5422/Exynos5800 SoCs. Choose Y here only if you
729fe667afSKrzysztof Kozlowski	  build for this SoC.
73e44cdff0SKrzysztof Kozlowski
7485997a7cSKrzysztof Kozlowskiconfig EXYNOS_ARM64_COMMON_CLK
7585997a7cSKrzysztof Kozlowski	bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
7685997a7cSKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
7785997a7cSKrzysztof Kozlowski
784d252fd5SSylwester Nawrockiconfig EXYNOS_AUDSS_CLK_CON
794d252fd5SSylwester Nawrocki	tristate "Samsung Exynos AUDSS clock controller support"
804d252fd5SSylwester Nawrocki	depends on COMMON_CLK_SAMSUNG
814d252fd5SSylwester Nawrocki	default y if ARCH_EXYNOS
824d252fd5SSylwester Nawrocki	help
834d252fd5SSylwester Nawrocki	  Support for the Audio Subsystem CLKCON clock controller present
849fe667afSKrzysztof Kozlowski	  on some Samsung Exynos SoC variants. Choose M or Y here if you want
859fe667afSKrzysztof Kozlowski	  to use audio devices such as I2S, PCM, etc.
864d252fd5SSylwester Nawrocki
87124f0353SKrzysztof Kozlowskiconfig EXYNOS_CLKOUT
88124f0353SKrzysztof Kozlowski	tristate "Samsung Exynos clock output driver"
89124f0353SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
90124f0353SKrzysztof Kozlowski	default y if ARCH_EXYNOS
91124f0353SKrzysztof Kozlowski	help
929fe667afSKrzysztof Kozlowski	  Support for the clock output (XCLKOUT) present on some of Samsung
939fe667afSKrzysztof Kozlowski	  Exynos SoC variants. Usually the XCLKOUT is used to monitor the
949fe667afSKrzysztof Kozlowski	  status of the certains clocks from SoC, but it could also be tied to
959fe667afSKrzysztof Kozlowski	  other devices as an input clock.
96124f0353SKrzysztof Kozlowski
9785997a7cSKrzysztof Kozlowski# For S3C24XX platforms, select following symbols:
981f4f2cfdSPankaj Dubeyconfig S3C2410_COMMON_CLK
99215cd967SKrzysztof Kozlowski	bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
1001f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
1011f4f2cfdSPankaj Dubey	help
1029fe667afSKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
1039fe667afSKrzysztof Kozlowski	  S3C2410/S3C2440/S3C2442 SoCs. Choose Y here only if you build for
1049fe667afSKrzysztof Kozlowski	  this SoC.
1051f4f2cfdSPankaj Dubey
1061f4f2cfdSPankaj Dubeyconfig S3C2410_COMMON_DCLK
1071f4f2cfdSPankaj Dubey	bool
1081f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
1091f4f2cfdSPankaj Dubey	select REGMAP_MMIO
1101f4f2cfdSPankaj Dubey	help
1119fe667afSKrzysztof Kozlowski	  Support for the dclk clock controller present on the Samsung
1129fe667afSKrzysztof Kozlowski	  S3C2410/S3C2412/S3C2440/S3C2443 SoCs. Choose Y here only if you build
1139fe667afSKrzysztof Kozlowski	  for this SoC.
1141f4f2cfdSPankaj Dubey
1151f4f2cfdSPankaj Dubeyconfig S3C2412_COMMON_CLK
116215cd967SKrzysztof Kozlowski	bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
1171f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
1189fe667afSKrzysztof Kozlowski	help
1199fe667afSKrzysztof Kozlowski	  Support for the clock controller present on the Samsung S3C2412 SoCs.
1209fe667afSKrzysztof Kozlowski	  Choose Y here only if you build for this SoC.
1211f4f2cfdSPankaj Dubey
1221f4f2cfdSPankaj Dubeyconfig S3C2443_COMMON_CLK
123215cd967SKrzysztof Kozlowski	bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
1241f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
1259fe667afSKrzysztof Kozlowski	help
1269fe667afSKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
1279fe667afSKrzysztof Kozlowski	  S3C2416/S3C2443 SoCs. Choose Y here only if you build for this SoC.
128*4f346005SAlim Akhtar
129*4f346005SAlim Akhtarconfig TESLA_FSD_COMMON_CLK
130*4f346005SAlim Akhtar	bool "Tesla FSD clock controller support" if COMPILE_TEST
131*4f346005SAlim Akhtar	depends on COMMON_CLK_SAMSUNG
132*4f346005SAlim Akhtar	help
133*4f346005SAlim Akhtar	  Support for the clock controller present on the Tesla FSD SoC.
134*4f346005SAlim Akhtar	  Choose Y here only if you build for this SoC.
135