xref: /openbmc/linux/drivers/clk/samsung/Kconfig (revision 124f0353)
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
585997a7cSKrzysztof Kozlowski	# Clocks on ARM64 SoCs (e.g. Exynos5433, Exynos7) are chosen by
685997a7cSKrzysztof Kozlowski	# EXYNOS_ARM64_COMMON_CLK to avoid building them on ARMv7:
785997a7cSKrzysztof Kozlowski	select EXYNOS_ARM64_COMMON_CLK if ARM64 && ARCH_EXYNOS
81f4f2cfdSPankaj Dubey
985997a7cSKrzysztof Kozlowskiconfig EXYNOS_ARM64_COMMON_CLK
1085997a7cSKrzysztof Kozlowski	bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
1185997a7cSKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
1285997a7cSKrzysztof Kozlowski
134d252fd5SSylwester Nawrockiconfig EXYNOS_AUDSS_CLK_CON
144d252fd5SSylwester Nawrocki	tristate "Samsung Exynos AUDSS clock controller support"
154d252fd5SSylwester Nawrocki	depends on COMMON_CLK_SAMSUNG
164d252fd5SSylwester Nawrocki	default y if ARCH_EXYNOS
174d252fd5SSylwester Nawrocki	help
184d252fd5SSylwester Nawrocki	  Support for the Audio Subsystem CLKCON clock controller present
194d252fd5SSylwester Nawrocki	  on some Exynos SoC variants. Choose M or Y here if you want to
204d252fd5SSylwester Nawrocki	  use audio devices such as I2S, PCM, etc.
214d252fd5SSylwester Nawrocki
22*124f0353SKrzysztof Kozlowskiconfig EXYNOS_CLKOUT
23*124f0353SKrzysztof Kozlowski	tristate "Samsung Exynos clock output driver"
24*124f0353SKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
25*124f0353SKrzysztof Kozlowski	default y if ARCH_EXYNOS
26*124f0353SKrzysztof Kozlowski	help
27*124f0353SKrzysztof Kozlowski	  Support for the clock output (XCLKOUT) present on some of Exynos SoC
28*124f0353SKrzysztof Kozlowski	  variants. Usually the XCLKOUT is used to monitor the status of the
29*124f0353SKrzysztof Kozlowski	  certains clocks from SoC, but it could also be tied to other devices
30*124f0353SKrzysztof Kozlowski	  as an input clock.
31*124f0353SKrzysztof Kozlowski
3285997a7cSKrzysztof Kozlowski# For S3C24XX platforms, select following symbols:
331f4f2cfdSPankaj Dubeyconfig S3C2410_COMMON_CLK
34215cd967SKrzysztof Kozlowski	bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
351f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
361f4f2cfdSPankaj Dubey	help
371f4f2cfdSPankaj Dubey	  Build the s3c2410 clock driver based on the common clock framework.
381f4f2cfdSPankaj Dubey
391f4f2cfdSPankaj Dubeyconfig S3C2410_COMMON_DCLK
401f4f2cfdSPankaj Dubey	bool
411f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
421f4f2cfdSPankaj Dubey	select REGMAP_MMIO
431f4f2cfdSPankaj Dubey	help
441f4f2cfdSPankaj Dubey	  Temporary symbol to build the dclk driver based on the common clock
451f4f2cfdSPankaj Dubey	  framework.
461f4f2cfdSPankaj Dubey
471f4f2cfdSPankaj Dubeyconfig S3C2412_COMMON_CLK
48215cd967SKrzysztof Kozlowski	bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
491f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
501f4f2cfdSPankaj Dubey
511f4f2cfdSPankaj Dubeyconfig S3C2443_COMMON_CLK
52215cd967SKrzysztof Kozlowski	bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
531f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
54