xref: /openbmc/linux/drivers/clk/samsung/Kconfig (revision 4d252fd5)
185997a7cSKrzysztof Kozlowski# Recent Exynos platforms should just select COMMON_CLK_SAMSUNG:
24ce9b85eSPankaj Dubeyconfig COMMON_CLK_SAMSUNG
3215cd967SKrzysztof Kozlowski	bool "Samsung Exynos clock controller support" if COMPILE_TEST
485997a7cSKrzysztof Kozlowski	# Clocks on ARM64 SoCs (e.g. Exynos5433, Exynos7) are chosen by
585997a7cSKrzysztof Kozlowski	# EXYNOS_ARM64_COMMON_CLK to avoid building them on ARMv7:
685997a7cSKrzysztof Kozlowski	select EXYNOS_ARM64_COMMON_CLK if ARM64 && ARCH_EXYNOS
71f4f2cfdSPankaj Dubey
885997a7cSKrzysztof Kozlowskiconfig EXYNOS_ARM64_COMMON_CLK
985997a7cSKrzysztof Kozlowski	bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
1085997a7cSKrzysztof Kozlowski	depends on COMMON_CLK_SAMSUNG
1185997a7cSKrzysztof Kozlowski
124d252fd5SSylwester Nawrockiconfig EXYNOS_AUDSS_CLK_CON
134d252fd5SSylwester Nawrocki	tristate "Samsung Exynos AUDSS clock controller support"
144d252fd5SSylwester Nawrocki	depends on COMMON_CLK_SAMSUNG
154d252fd5SSylwester Nawrocki	default y if ARCH_EXYNOS
164d252fd5SSylwester Nawrocki	help
174d252fd5SSylwester Nawrocki	  Support for the Audio Subsystem CLKCON clock controller present
184d252fd5SSylwester Nawrocki	  on some Exynos SoC variants. Choose M or Y here if you want to
194d252fd5SSylwester Nawrocki	  use audio devices such as I2S, PCM, etc.
204d252fd5SSylwester Nawrocki
2185997a7cSKrzysztof Kozlowski# For S3C24XX platforms, select following symbols:
221f4f2cfdSPankaj Dubeyconfig S3C2410_COMMON_CLK
23215cd967SKrzysztof Kozlowski	bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
241f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
251f4f2cfdSPankaj Dubey	help
261f4f2cfdSPankaj Dubey	  Build the s3c2410 clock driver based on the common clock framework.
271f4f2cfdSPankaj Dubey
281f4f2cfdSPankaj Dubeyconfig S3C2410_COMMON_DCLK
291f4f2cfdSPankaj Dubey	bool
301f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
311f4f2cfdSPankaj Dubey	select REGMAP_MMIO
321f4f2cfdSPankaj Dubey	help
331f4f2cfdSPankaj Dubey	  Temporary symbol to build the dclk driver based on the common clock
341f4f2cfdSPankaj Dubey	  framework.
351f4f2cfdSPankaj Dubey
361f4f2cfdSPankaj Dubeyconfig S3C2412_COMMON_CLK
37215cd967SKrzysztof Kozlowski	bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
381f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
391f4f2cfdSPankaj Dubey
401f4f2cfdSPankaj Dubeyconfig S3C2443_COMMON_CLK
41215cd967SKrzysztof Kozlowski	bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
421f4f2cfdSPankaj Dubey	select COMMON_CLK_SAMSUNG
43