xref: /openbmc/linux/drivers/clk/samsung/Kconfig (revision 9fe667af)
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
141f4f2cfdSPankaj Dubey
15e44cdff0SKrzysztof Kozlowskiconfig S3C64XX_COMMON_CLK
16e44cdff0SKrzysztof Kozlowski	bool "Samsung S3C64xx clock controller support" if COMPILE_TEST
17e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
18e44cdff0SKrzysztof Kozlowski	help
19e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung S3C64xx SoCs.
20e44cdff0SKrzysztof Kozlowski	  Choose Y here only if you build for this SoC.
21e44cdff0SKrzysztof Kozlowski
22e44cdff0SKrzysztof Kozlowskiconfig S5PV210_COMMON_CLK
23e44cdff0SKrzysztof Kozlowski	bool "Samsung S5Pv210 clock controller support" if COMPILE_TEST
24e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
25e44cdff0SKrzysztof Kozlowski	help
26e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung S5Pv210 SoCs.
27e44cdff0SKrzysztof Kozlowski	  Choose Y here only if you build for this SoC.
28e44cdff0SKrzysztof Kozlowski
29e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_3250_COMMON_CLK
30e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos3250 clock controller support" if COMPILE_TEST
31e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
32e44cdff0SKrzysztof Kozlowski	help
33e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
34e44cdff0SKrzysztof Kozlowski	  Exynos3250 SoCs. Choose Y here only if you build for this SoC.
35e44cdff0SKrzysztof Kozlowski
36e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_4_COMMON_CLK
37e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos4 clock controller support" if COMPILE_TEST
38e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
39e44cdff0SKrzysztof Kozlowski	help
40e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
41e44cdff0SKrzysztof Kozlowski	  Exynos4212 and Exynos4412 SoCs. Choose Y here only if you build for
42e44cdff0SKrzysztof Kozlowski	  this SoC.
43e44cdff0SKrzysztof Kozlowski
44e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5250_COMMON_CLK
45e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos5250 clock controller support" if COMPILE_TEST
46e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
47e44cdff0SKrzysztof Kozlowski	help
48e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
49e44cdff0SKrzysztof Kozlowski	  Exynos5250 SoCs. Choose Y here only if you build for this SoC.
50e44cdff0SKrzysztof Kozlowski
51e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5260_COMMON_CLK
52e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos5260 clock controller support" if COMPILE_TEST
53e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
54e44cdff0SKrzysztof Kozlowski	help
55e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
56e44cdff0SKrzysztof Kozlowski	  Exynos5260 SoCs. Choose Y here only if you build for this SoC.
57e44cdff0SKrzysztof Kozlowski
58e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5410_COMMON_CLK
59e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos5410 clock controller support" if COMPILE_TEST
60e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
61e44cdff0SKrzysztof Kozlowski	help
62e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
63e44cdff0SKrzysztof Kozlowski	  Exynos5410 SoCs. Choose Y here only if you build for this SoC.
64e44cdff0SKrzysztof Kozlowski
65e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5420_COMMON_CLK
66e44cdff0SKrzysztof Kozlowski	bool "Samsung Exynos5420 clock controller support" if COMPILE_TEST
67e44cdff0SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
68e44cdff0SKrzysztof Kozlowski	help
69e44cdff0SKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
70*9fe667afSKrzysztof Kozlowski	  Exynos5420/Exynos5422/Exynos5800 SoCs. Choose Y here only if you
71*9fe667afSKrzysztof Kozlowski	  build for this SoC.
72e44cdff0SKrzysztof Kozlowski
7385997a7cSKrzysztof Kozlowskiconfig EXYNOS_ARM64_COMMON_CLK
7485997a7cSKrzysztof Kozlowski	bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
7585997a7cSKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
7685997a7cSKrzysztof Kozlowski
774d252fd5SSylwester Nawrockiconfig EXYNOS_AUDSS_CLK_CON
784d252fd5SSylwester Nawrocki	tristate "Samsung Exynos AUDSS clock controller support"
794d252fd5SSylwester Nawrocki	depends on COMMON_CLK_SAMSUNG
804d252fd5SSylwester Nawrocki	default y if ARCH_EXYNOS
814d252fd5SSylwester Nawrocki	help
824d252fd5SSylwester Nawrocki	  Support for the Audio Subsystem CLKCON clock controller present
83*9fe667afSKrzysztof Kozlowski	  on some Samsung Exynos SoC variants. Choose M or Y here if you want
84*9fe667afSKrzysztof Kozlowski	  to use audio devices such as I2S, PCM, etc.
854d252fd5SSylwester Nawrocki
86124f0353SKrzysztof Kozlowskiconfig EXYNOS_CLKOUT
87124f0353SKrzysztof Kozlowski	tristate "Samsung Exynos clock output driver"
88124f0353SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
89124f0353SKrzysztof Kozlowski	default y if ARCH_EXYNOS
90124f0353SKrzysztof Kozlowski	help
91*9fe667afSKrzysztof Kozlowski	  Support for the clock output (XCLKOUT) present on some of Samsung
92*9fe667afSKrzysztof Kozlowski	  Exynos SoC variants. Usually the XCLKOUT is used to monitor the
93*9fe667afSKrzysztof Kozlowski	  status of the certains clocks from SoC, but it could also be tied to
94*9fe667afSKrzysztof Kozlowski	  other devices as an input clock.
95124f0353SKrzysztof Kozlowski
9685997a7cSKrzysztof Kozlowski# For S3C24XX platforms, select following symbols:
971f4f2cfdSPankaj Dubeyconfig S3C2410_COMMON_CLK
98215cd967SKrzysztof Kozlowski	bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
991f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
1001f4f2cfdSPankaj Dubey	help
101*9fe667afSKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
102*9fe667afSKrzysztof Kozlowski	  S3C2410/S3C2440/S3C2442 SoCs. Choose Y here only if you build for
103*9fe667afSKrzysztof Kozlowski	  this SoC.
1041f4f2cfdSPankaj Dubey
1051f4f2cfdSPankaj Dubeyconfig S3C2410_COMMON_DCLK
1061f4f2cfdSPankaj Dubey	bool
1071f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
1081f4f2cfdSPankaj Dubey	select REGMAP_MMIO
1091f4f2cfdSPankaj Dubey	help
110*9fe667afSKrzysztof Kozlowski	  Support for the dclk clock controller present on the Samsung
111*9fe667afSKrzysztof Kozlowski	  S3C2410/S3C2412/S3C2440/S3C2443 SoCs. Choose Y here only if you build
112*9fe667afSKrzysztof Kozlowski	  for this SoC.
1131f4f2cfdSPankaj Dubey
1141f4f2cfdSPankaj Dubeyconfig S3C2412_COMMON_CLK
115215cd967SKrzysztof Kozlowski	bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
1161f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
117*9fe667afSKrzysztof Kozlowski	help
118*9fe667afSKrzysztof Kozlowski	  Support for the clock controller present on the Samsung S3C2412 SoCs.
119*9fe667afSKrzysztof Kozlowski	  Choose Y here only if you build for this SoC.
1201f4f2cfdSPankaj Dubey
1211f4f2cfdSPankaj Dubeyconfig S3C2443_COMMON_CLK
122215cd967SKrzysztof Kozlowski	bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
1231f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
124*9fe667afSKrzysztof Kozlowski	help
125*9fe667afSKrzysztof Kozlowski	  Support for the clock controller present on the Samsung
126*9fe667afSKrzysztof Kozlowski	  S3C2416/S3C2443 SoCs. Choose Y here only if you build for this SoC.
127