xref: /openbmc/linux/drivers/clk/samsung/Kconfig (revision ec8f24b7)
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
2285997a7cSKrzysztof Kozlowski# For S3C24XX platforms, select following symbols:
231f4f2cfdSPankaj Dubeyconfig S3C2410_COMMON_CLK
24215cd967SKrzysztof Kozlowski	bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
251f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
261f4f2cfdSPankaj Dubey	help
271f4f2cfdSPankaj Dubey	  Build the s3c2410 clock driver based on the common clock framework.
281f4f2cfdSPankaj Dubey
291f4f2cfdSPankaj Dubeyconfig S3C2410_COMMON_DCLK
301f4f2cfdSPankaj Dubey	bool
311f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
321f4f2cfdSPankaj Dubey	select REGMAP_MMIO
331f4f2cfdSPankaj Dubey	help
341f4f2cfdSPankaj Dubey	  Temporary symbol to build the dclk driver based on the common clock
351f4f2cfdSPankaj Dubey	  framework.
361f4f2cfdSPankaj Dubey
371f4f2cfdSPankaj Dubeyconfig S3C2412_COMMON_CLK
38215cd967SKrzysztof Kozlowski	bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
391f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
401f4f2cfdSPankaj Dubey
411f4f2cfdSPankaj Dubeyconfig S3C2443_COMMON_CLK
42215cd967SKrzysztof Kozlowski	bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
431f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
44