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 5*2aac2d8bSArnd Bergmann depends on OF 6e44cdff0SKrzysztof Kozlowski select S3C64XX_COMMON_CLK if ARM && ARCH_S3C64XX 7e44cdff0SKrzysztof Kozlowski select S5PV210_COMMON_CLK if ARM && ARCH_S5PV210 8e44cdff0SKrzysztof Kozlowski select EXYNOS_3250_COMMON_CLK if ARM && SOC_EXYNOS3250 9e44cdff0SKrzysztof Kozlowski select EXYNOS_4_COMMON_CLK if ARM && ARCH_EXYNOS4 10e44cdff0SKrzysztof Kozlowski select EXYNOS_5250_COMMON_CLK if ARM && SOC_EXYNOS5250 11e44cdff0SKrzysztof Kozlowski select EXYNOS_5260_COMMON_CLK if ARM && SOC_EXYNOS5260 12e44cdff0SKrzysztof Kozlowski select EXYNOS_5410_COMMON_CLK if ARM && SOC_EXYNOS5410 13e44cdff0SKrzysztof Kozlowski select EXYNOS_5420_COMMON_CLK if ARM && SOC_EXYNOS5420 1485997a7cSKrzysztof Kozlowski select EXYNOS_ARM64_COMMON_CLK if ARM64 && ARCH_EXYNOS 154f346005SAlim Akhtar select TESLA_FSD_COMMON_CLK if ARM64 && ARCH_TESLA_FSD 161f4f2cfdSPankaj Dubey 17e44cdff0SKrzysztof Kozlowskiconfig S3C64XX_COMMON_CLK 18e44cdff0SKrzysztof Kozlowski bool "Samsung S3C64xx clock controller support" if COMPILE_TEST 19e44cdff0SKrzysztof Kozlowski depends on COMMON_CLK_SAMSUNG 20e44cdff0SKrzysztof Kozlowski help 21e44cdff0SKrzysztof Kozlowski Support for the clock controller present on the Samsung S3C64xx SoCs. 22e44cdff0SKrzysztof Kozlowski Choose Y here only if you build for this SoC. 23e44cdff0SKrzysztof Kozlowski 24e44cdff0SKrzysztof Kozlowskiconfig S5PV210_COMMON_CLK 25e44cdff0SKrzysztof Kozlowski bool "Samsung S5Pv210 clock controller support" if COMPILE_TEST 26e44cdff0SKrzysztof Kozlowski depends on COMMON_CLK_SAMSUNG 27e44cdff0SKrzysztof Kozlowski help 28e44cdff0SKrzysztof Kozlowski Support for the clock controller present on the Samsung S5Pv210 SoCs. 29e44cdff0SKrzysztof Kozlowski Choose Y here only if you build for this SoC. 30e44cdff0SKrzysztof Kozlowski 31e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_3250_COMMON_CLK 32e44cdff0SKrzysztof Kozlowski bool "Samsung Exynos3250 clock controller support" if COMPILE_TEST 33e44cdff0SKrzysztof Kozlowski depends on COMMON_CLK_SAMSUNG 34e44cdff0SKrzysztof Kozlowski help 35e44cdff0SKrzysztof Kozlowski Support for the clock controller present on the Samsung 36e44cdff0SKrzysztof Kozlowski Exynos3250 SoCs. Choose Y here only if you build for this SoC. 37e44cdff0SKrzysztof Kozlowski 38e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_4_COMMON_CLK 39e44cdff0SKrzysztof Kozlowski bool "Samsung Exynos4 clock controller support" if COMPILE_TEST 40e44cdff0SKrzysztof Kozlowski depends on COMMON_CLK_SAMSUNG 41e44cdff0SKrzysztof Kozlowski help 42e44cdff0SKrzysztof Kozlowski Support for the clock controller present on the Samsung 43e44cdff0SKrzysztof Kozlowski Exynos4212 and Exynos4412 SoCs. Choose Y here only if you build for 44e44cdff0SKrzysztof Kozlowski this SoC. 45e44cdff0SKrzysztof Kozlowski 46e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5250_COMMON_CLK 47e44cdff0SKrzysztof Kozlowski bool "Samsung Exynos5250 clock controller support" if COMPILE_TEST 48e44cdff0SKrzysztof Kozlowski depends on COMMON_CLK_SAMSUNG 49e44cdff0SKrzysztof Kozlowski help 50e44cdff0SKrzysztof Kozlowski Support for the clock controller present on the Samsung 51e44cdff0SKrzysztof Kozlowski Exynos5250 SoCs. Choose Y here only if you build for this SoC. 52e44cdff0SKrzysztof Kozlowski 53e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5260_COMMON_CLK 54e44cdff0SKrzysztof Kozlowski bool "Samsung Exynos5260 clock controller support" if COMPILE_TEST 55e44cdff0SKrzysztof Kozlowski depends on COMMON_CLK_SAMSUNG 56e44cdff0SKrzysztof Kozlowski help 57e44cdff0SKrzysztof Kozlowski Support for the clock controller present on the Samsung 58e44cdff0SKrzysztof Kozlowski Exynos5260 SoCs. Choose Y here only if you build for this SoC. 59e44cdff0SKrzysztof Kozlowski 60e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5410_COMMON_CLK 61e44cdff0SKrzysztof Kozlowski bool "Samsung Exynos5410 clock controller support" if COMPILE_TEST 62e44cdff0SKrzysztof Kozlowski depends on COMMON_CLK_SAMSUNG 63e44cdff0SKrzysztof Kozlowski help 64e44cdff0SKrzysztof Kozlowski Support for the clock controller present on the Samsung 65e44cdff0SKrzysztof Kozlowski Exynos5410 SoCs. Choose Y here only if you build for this SoC. 66e44cdff0SKrzysztof Kozlowski 67e44cdff0SKrzysztof Kozlowskiconfig EXYNOS_5420_COMMON_CLK 68e44cdff0SKrzysztof Kozlowski bool "Samsung Exynos5420 clock controller support" if COMPILE_TEST 69e44cdff0SKrzysztof Kozlowski depends on COMMON_CLK_SAMSUNG 70e44cdff0SKrzysztof Kozlowski help 71e44cdff0SKrzysztof Kozlowski Support for the clock controller present on the Samsung 729fe667afSKrzysztof Kozlowski Exynos5420/Exynos5422/Exynos5800 SoCs. Choose Y here only if you 739fe667afSKrzysztof Kozlowski build for this SoC. 74e44cdff0SKrzysztof Kozlowski 7585997a7cSKrzysztof Kozlowskiconfig EXYNOS_ARM64_COMMON_CLK 7685997a7cSKrzysztof Kozlowski bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST 7785997a7cSKrzysztof Kozlowski depends on COMMON_CLK_SAMSUNG 7885997a7cSKrzysztof Kozlowski 794d252fd5SSylwester Nawrockiconfig EXYNOS_AUDSS_CLK_CON 804d252fd5SSylwester Nawrocki tristate "Samsung Exynos AUDSS clock controller support" 814d252fd5SSylwester Nawrocki depends on COMMON_CLK_SAMSUNG 824d252fd5SSylwester Nawrocki default y if ARCH_EXYNOS 834d252fd5SSylwester Nawrocki help 844d252fd5SSylwester Nawrocki Support for the Audio Subsystem CLKCON clock controller present 859fe667afSKrzysztof Kozlowski on some Samsung Exynos SoC variants. Choose M or Y here if you want 869fe667afSKrzysztof Kozlowski to use audio devices such as I2S, PCM, etc. 874d252fd5SSylwester Nawrocki 88124f0353SKrzysztof Kozlowskiconfig EXYNOS_CLKOUT 89124f0353SKrzysztof Kozlowski tristate "Samsung Exynos clock output driver" 90124f0353SKrzysztof Kozlowski depends on COMMON_CLK_SAMSUNG 91124f0353SKrzysztof Kozlowski default y if ARCH_EXYNOS 92124f0353SKrzysztof Kozlowski help 939fe667afSKrzysztof Kozlowski Support for the clock output (XCLKOUT) present on some of Samsung 949fe667afSKrzysztof Kozlowski Exynos SoC variants. Usually the XCLKOUT is used to monitor the 959fe667afSKrzysztof Kozlowski status of the certains clocks from SoC, but it could also be tied to 969fe667afSKrzysztof Kozlowski other devices as an input clock. 97124f0353SKrzysztof Kozlowski 984f346005SAlim Akhtarconfig TESLA_FSD_COMMON_CLK 994f346005SAlim Akhtar bool "Tesla FSD clock controller support" if COMPILE_TEST 1004f346005SAlim Akhtar depends on COMMON_CLK_SAMSUNG 1010b59bc00SKrzysztof Kozlowski depends on EXYNOS_ARM64_COMMON_CLK 1024f346005SAlim Akhtar help 1034f346005SAlim Akhtar Support for the clock controller present on the Tesla FSD SoC. 1044f346005SAlim Akhtar Choose Y here only if you build for this SoC. 105