Kconfig 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. # Recent Exynos platforms should just select COMMON_CLK_SAMSUNG:
  3. config COMMON_CLK_SAMSUNG
  4. bool "Samsung Exynos clock controller support" if COMPILE_TEST
  5. select S3C64XX_COMMON_CLK if ARM && ARCH_S3C64XX
  6. select S5PV210_COMMON_CLK if ARM && ARCH_S5PV210
  7. select EXYNOS_3250_COMMON_CLK if ARM && SOC_EXYNOS3250
  8. select EXYNOS_4_COMMON_CLK if ARM && ARCH_EXYNOS4
  9. select EXYNOS_5250_COMMON_CLK if ARM && SOC_EXYNOS5250
  10. select EXYNOS_5260_COMMON_CLK if ARM && SOC_EXYNOS5260
  11. select EXYNOS_5410_COMMON_CLK if ARM && SOC_EXYNOS5410
  12. select EXYNOS_5420_COMMON_CLK if ARM && SOC_EXYNOS5420
  13. select EXYNOS_ARM64_COMMON_CLK if ARM64 && ARCH_EXYNOS
  14. select TESLA_FSD_COMMON_CLK if ARM64 && ARCH_TESLA_FSD
  15. config S3C64XX_COMMON_CLK
  16. bool "Samsung S3C64xx clock controller support" if COMPILE_TEST
  17. depends on COMMON_CLK_SAMSUNG
  18. help
  19. Support for the clock controller present on the Samsung S3C64xx SoCs.
  20. Choose Y here only if you build for this SoC.
  21. config S5PV210_COMMON_CLK
  22. bool "Samsung S5Pv210 clock controller support" if COMPILE_TEST
  23. depends on COMMON_CLK_SAMSUNG
  24. help
  25. Support for the clock controller present on the Samsung S5Pv210 SoCs.
  26. Choose Y here only if you build for this SoC.
  27. config EXYNOS_3250_COMMON_CLK
  28. bool "Samsung Exynos3250 clock controller support" if COMPILE_TEST
  29. depends on COMMON_CLK_SAMSUNG
  30. help
  31. Support for the clock controller present on the Samsung
  32. Exynos3250 SoCs. Choose Y here only if you build for this SoC.
  33. config EXYNOS_4_COMMON_CLK
  34. bool "Samsung Exynos4 clock controller support" if COMPILE_TEST
  35. depends on COMMON_CLK_SAMSUNG
  36. help
  37. Support for the clock controller present on the Samsung
  38. Exynos4212 and Exynos4412 SoCs. Choose Y here only if you build for
  39. this SoC.
  40. config EXYNOS_5250_COMMON_CLK
  41. bool "Samsung Exynos5250 clock controller support" if COMPILE_TEST
  42. depends on COMMON_CLK_SAMSUNG
  43. help
  44. Support for the clock controller present on the Samsung
  45. Exynos5250 SoCs. Choose Y here only if you build for this SoC.
  46. config EXYNOS_5260_COMMON_CLK
  47. bool "Samsung Exynos5260 clock controller support" if COMPILE_TEST
  48. depends on COMMON_CLK_SAMSUNG
  49. help
  50. Support for the clock controller present on the Samsung
  51. Exynos5260 SoCs. Choose Y here only if you build for this SoC.
  52. config EXYNOS_5410_COMMON_CLK
  53. bool "Samsung Exynos5410 clock controller support" if COMPILE_TEST
  54. depends on COMMON_CLK_SAMSUNG
  55. help
  56. Support for the clock controller present on the Samsung
  57. Exynos5410 SoCs. Choose Y here only if you build for this SoC.
  58. config EXYNOS_5420_COMMON_CLK
  59. bool "Samsung Exynos5420 clock controller support" if COMPILE_TEST
  60. depends on COMMON_CLK_SAMSUNG
  61. help
  62. Support for the clock controller present on the Samsung
  63. Exynos5420/Exynos5422/Exynos5800 SoCs. Choose Y here only if you
  64. build for this SoC.
  65. config EXYNOS_ARM64_COMMON_CLK
  66. bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
  67. depends on COMMON_CLK_SAMSUNG
  68. config EXYNOS_AUDSS_CLK_CON
  69. tristate "Samsung Exynos AUDSS clock controller support"
  70. depends on COMMON_CLK_SAMSUNG
  71. default y if ARCH_EXYNOS
  72. help
  73. Support for the Audio Subsystem CLKCON clock controller present
  74. on some Samsung Exynos SoC variants. Choose M or Y here if you want
  75. to use audio devices such as I2S, PCM, etc.
  76. config EXYNOS_CLKOUT
  77. tristate "Samsung Exynos clock output driver"
  78. depends on COMMON_CLK_SAMSUNG
  79. default y if ARCH_EXYNOS
  80. help
  81. Support for the clock output (XCLKOUT) present on some of Samsung
  82. Exynos SoC variants. Usually the XCLKOUT is used to monitor the
  83. status of the certains clocks from SoC, but it could also be tied to
  84. other devices as an input clock.
  85. # For S3C24XX platforms, select following symbols:
  86. config S3C2410_COMMON_CLK
  87. bool "Samsung S3C2410 clock controller support" if COMPILE_TEST
  88. select COMMON_CLK_SAMSUNG
  89. help
  90. Support for the clock controller present on the Samsung
  91. S3C2410/S3C2440/S3C2442 SoCs. Choose Y here only if you build for
  92. this SoC.
  93. config S3C2410_COMMON_DCLK
  94. bool
  95. select COMMON_CLK_SAMSUNG
  96. select REGMAP_MMIO
  97. help
  98. Support for the dclk clock controller present on the Samsung
  99. S3C2410/S3C2412/S3C2440/S3C2443 SoCs. Choose Y here only if you build
  100. for this SoC.
  101. config S3C2412_COMMON_CLK
  102. bool "Samsung S3C2412 clock controller support" if COMPILE_TEST
  103. select COMMON_CLK_SAMSUNG
  104. help
  105. Support for the clock controller present on the Samsung S3C2412 SoCs.
  106. Choose Y here only if you build for this SoC.
  107. config S3C2443_COMMON_CLK
  108. bool "Samsung S3C2443 clock controller support" if COMPILE_TEST
  109. select COMMON_CLK_SAMSUNG
  110. help
  111. Support for the clock controller present on the Samsung
  112. S3C2416/S3C2443 SoCs. Choose Y here only if you build for this SoC.
  113. config TESLA_FSD_COMMON_CLK
  114. bool "Tesla FSD clock controller support" if COMPILE_TEST
  115. depends on COMMON_CLK_SAMSUNG
  116. depends on EXYNOS_ARM64_COMMON_CLK
  117. help
  118. Support for the clock controller present on the Tesla FSD SoC.
  119. Choose Y here only if you build for this SoC.