Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 # Recent Exynos platforms should just select COMMON_CLK_SAMSUNG:
0003 config COMMON_CLK_SAMSUNG
0004         bool "Samsung Exynos clock controller support" if COMPILE_TEST
0005         select S3C64XX_COMMON_CLK if ARM && ARCH_S3C64XX
0006         select S5PV210_COMMON_CLK if ARM && ARCH_S5PV210
0007         select EXYNOS_3250_COMMON_CLK if ARM && SOC_EXYNOS3250
0008         select EXYNOS_4_COMMON_CLK if ARM && ARCH_EXYNOS4
0009         select EXYNOS_5250_COMMON_CLK if ARM && SOC_EXYNOS5250
0010         select EXYNOS_5260_COMMON_CLK if ARM && SOC_EXYNOS5260
0011         select EXYNOS_5410_COMMON_CLK if ARM && SOC_EXYNOS5410
0012         select EXYNOS_5420_COMMON_CLK if ARM && SOC_EXYNOS5420
0013         select EXYNOS_ARM64_COMMON_CLK if ARM64 && ARCH_EXYNOS
0014         select TESLA_FSD_COMMON_CLK if ARM64 && ARCH_TESLA_FSD
0015 
0016 config S3C64XX_COMMON_CLK
0017         bool "Samsung S3C64xx clock controller support" if COMPILE_TEST
0018         depends on COMMON_CLK_SAMSUNG
0019         help
0020           Support for the clock controller present on the Samsung S3C64xx SoCs.
0021           Choose Y here only if you build for this SoC.
0022 
0023 config S5PV210_COMMON_CLK
0024         bool "Samsung S5Pv210 clock controller support" if COMPILE_TEST
0025         depends on COMMON_CLK_SAMSUNG
0026         help
0027           Support for the clock controller present on the Samsung S5Pv210 SoCs.
0028           Choose Y here only if you build for this SoC.
0029 
0030 config EXYNOS_3250_COMMON_CLK
0031         bool "Samsung Exynos3250 clock controller support" if COMPILE_TEST
0032         depends on COMMON_CLK_SAMSUNG
0033         help
0034           Support for the clock controller present on the Samsung
0035           Exynos3250 SoCs. Choose Y here only if you build for this SoC.
0036 
0037 config EXYNOS_4_COMMON_CLK
0038         bool "Samsung Exynos4 clock controller support" if COMPILE_TEST
0039         depends on COMMON_CLK_SAMSUNG
0040         help
0041           Support for the clock controller present on the Samsung
0042           Exynos4212 and Exynos4412 SoCs. Choose Y here only if you build for
0043           this SoC.
0044 
0045 config EXYNOS_5250_COMMON_CLK
0046         bool "Samsung Exynos5250 clock controller support" if COMPILE_TEST
0047         depends on COMMON_CLK_SAMSUNG
0048         help
0049           Support for the clock controller present on the Samsung
0050           Exynos5250 SoCs. Choose Y here only if you build for this SoC.
0051 
0052 config EXYNOS_5260_COMMON_CLK
0053         bool "Samsung Exynos5260 clock controller support" if COMPILE_TEST
0054         depends on COMMON_CLK_SAMSUNG
0055         help
0056           Support for the clock controller present on the Samsung
0057           Exynos5260 SoCs. Choose Y here only if you build for this SoC.
0058 
0059 config EXYNOS_5410_COMMON_CLK
0060         bool "Samsung Exynos5410 clock controller support" if COMPILE_TEST
0061         depends on COMMON_CLK_SAMSUNG
0062         help
0063           Support for the clock controller present on the Samsung
0064           Exynos5410 SoCs. Choose Y here only if you build for this SoC.
0065 
0066 config EXYNOS_5420_COMMON_CLK
0067         bool "Samsung Exynos5420 clock controller support" if COMPILE_TEST
0068         depends on COMMON_CLK_SAMSUNG
0069         help
0070           Support for the clock controller present on the Samsung
0071           Exynos5420/Exynos5422/Exynos5800 SoCs. Choose Y here only if you
0072           build for this SoC.
0073 
0074 config EXYNOS_ARM64_COMMON_CLK
0075         bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
0076         depends on COMMON_CLK_SAMSUNG
0077 
0078 config EXYNOS_AUDSS_CLK_CON
0079         tristate "Samsung Exynos AUDSS clock controller support"
0080         depends on COMMON_CLK_SAMSUNG
0081         default y if ARCH_EXYNOS
0082         help
0083           Support for the Audio Subsystem CLKCON clock controller present
0084           on some Samsung Exynos SoC variants. Choose M or Y here if you want
0085           to use audio devices such as I2S, PCM, etc.
0086 
0087 config EXYNOS_CLKOUT
0088         tristate "Samsung Exynos clock output driver"
0089         depends on COMMON_CLK_SAMSUNG
0090         default y if ARCH_EXYNOS
0091         help
0092           Support for the clock output (XCLKOUT) present on some of Samsung
0093           Exynos SoC variants. Usually the XCLKOUT is used to monitor the
0094           status of the certains clocks from SoC, but it could also be tied to
0095           other devices as an input clock.
0096 
0097 # For S3C24XX platforms, select following symbols:
0098 config S3C2410_COMMON_CLK
0099         bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
0100         select COMMON_CLK_SAMSUNG
0101         help
0102           Support for the clock controller present on the Samsung
0103           S3C2410/S3C2440/S3C2442 SoCs. Choose Y here only if you build for
0104           this SoC.
0105 
0106 config S3C2410_COMMON_DCLK
0107         bool
0108         select COMMON_CLK_SAMSUNG
0109         select REGMAP_MMIO
0110         help
0111           Support for the dclk clock controller present on the Samsung
0112           S3C2410/S3C2412/S3C2440/S3C2443 SoCs. Choose Y here only if you build
0113           for this SoC.
0114 
0115 config S3C2412_COMMON_CLK
0116         bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
0117         select COMMON_CLK_SAMSUNG
0118         help
0119           Support for the clock controller present on the Samsung S3C2412 SoCs.
0120           Choose Y here only if you build for this SoC.
0121 
0122 config S3C2443_COMMON_CLK
0123         bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
0124         select COMMON_CLK_SAMSUNG
0125         help
0126           Support for the clock controller present on the Samsung
0127           S3C2416/S3C2443 SoCs. Choose Y here only if you build for this SoC.
0128 
0129 config TESLA_FSD_COMMON_CLK
0130         bool "Tesla FSD clock controller support" if COMPILE_TEST
0131         depends on COMMON_CLK_SAMSUNG
0132         depends on EXYNOS_ARM64_COMMON_CLK
0133         help
0134           Support for the clock controller present on the Tesla FSD SoC.
0135           Choose Y here only if you build for this SoC.