Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. depends on OF
  6. select S3C64XX_COMMON_CLK if ARM && ARCH_S3C64XX
  7. select S5PV210_COMMON_CLK if ARM && ARCH_S5PV210
  8. select EXYNOS_3250_COMMON_CLK if ARM && SOC_EXYNOS3250
  9. select EXYNOS_4_COMMON_CLK if ARM && ARCH_EXYNOS4
  10. select EXYNOS_5250_COMMON_CLK if ARM && SOC_EXYNOS5250
  11. select EXYNOS_5260_COMMON_CLK if ARM && SOC_EXYNOS5260
  12. select EXYNOS_5410_COMMON_CLK if ARM && SOC_EXYNOS5410
  13. select EXYNOS_5420_COMMON_CLK if ARM && SOC_EXYNOS5420
  14. select EXYNOS_ARM64_COMMON_CLK if ARM64 && ARCH_EXYNOS
  15. select TESLA_FSD_COMMON_CLK if ARM64 && ARCH_TESLA_FSD
  16. config S3C64XX_COMMON_CLK
  17. bool "Samsung S3C64xx clock controller support" if COMPILE_TEST
  18. depends on COMMON_CLK_SAMSUNG
  19. help
  20. Support for the clock controller present on the Samsung S3C64xx SoCs.
  21. Choose Y here only if you build for this SoC.
  22. config S5PV210_COMMON_CLK
  23. bool "Samsung S5Pv210 clock controller support" if COMPILE_TEST
  24. depends on COMMON_CLK_SAMSUNG
  25. help
  26. Support for the clock controller present on the Samsung S5Pv210 SoCs.
  27. Choose Y here only if you build for this SoC.
  28. config EXYNOS_3250_COMMON_CLK
  29. bool "Samsung Exynos3250 clock controller support" if COMPILE_TEST
  30. depends on COMMON_CLK_SAMSUNG
  31. help
  32. Support for the clock controller present on the Samsung
  33. Exynos3250 SoCs. Choose Y here only if you build for this SoC.
  34. config EXYNOS_4_COMMON_CLK
  35. bool "Samsung Exynos4 clock controller support" if COMPILE_TEST
  36. depends on COMMON_CLK_SAMSUNG
  37. help
  38. Support for the clock controller present on the Samsung
  39. Exynos4212 and Exynos4412 SoCs. Choose Y here only if you build for
  40. this SoC.
  41. config EXYNOS_5250_COMMON_CLK
  42. bool "Samsung Exynos5250 clock controller support" if COMPILE_TEST
  43. depends on COMMON_CLK_SAMSUNG
  44. help
  45. Support for the clock controller present on the Samsung
  46. Exynos5250 SoCs. Choose Y here only if you build for this SoC.
  47. config EXYNOS_5260_COMMON_CLK
  48. bool "Samsung Exynos5260 clock controller support" if COMPILE_TEST
  49. depends on COMMON_CLK_SAMSUNG
  50. help
  51. Support for the clock controller present on the Samsung
  52. Exynos5260 SoCs. Choose Y here only if you build for this SoC.
  53. config EXYNOS_5410_COMMON_CLK
  54. bool "Samsung Exynos5410 clock controller support" if COMPILE_TEST
  55. depends on COMMON_CLK_SAMSUNG
  56. help
  57. Support for the clock controller present on the Samsung
  58. Exynos5410 SoCs. Choose Y here only if you build for this SoC.
  59. config EXYNOS_5420_COMMON_CLK
  60. bool "Samsung Exynos5420 clock controller support" if COMPILE_TEST
  61. depends on COMMON_CLK_SAMSUNG
  62. help
  63. Support for the clock controller present on the Samsung
  64. Exynos5420/Exynos5422/Exynos5800 SoCs. Choose Y here only if you
  65. build for this SoC.
  66. config EXYNOS_ARM64_COMMON_CLK
  67. bool "Samsung Exynos ARMv8-family clock controller support" if COMPILE_TEST
  68. depends on COMMON_CLK_SAMSUNG
  69. config EXYNOS_AUDSS_CLK_CON
  70. tristate "Samsung Exynos AUDSS clock controller support"
  71. depends on COMMON_CLK_SAMSUNG
  72. default y if ARCH_EXYNOS
  73. help
  74. Support for the Audio Subsystem CLKCON clock controller present
  75. on some Samsung Exynos SoC variants. Choose M or Y here if you want
  76. to use audio devices such as I2S, PCM, etc.
  77. config EXYNOS_CLKOUT
  78. tristate "Samsung Exynos clock output driver"
  79. depends on COMMON_CLK_SAMSUNG
  80. default y if ARCH_EXYNOS
  81. help
  82. Support for the clock output (XCLKOUT) present on some of Samsung
  83. Exynos SoC variants. Usually the XCLKOUT is used to monitor the
  84. status of the certains clocks from SoC, but it could also be tied to
  85. other devices as an input clock.
  86. config TESLA_FSD_COMMON_CLK
  87. bool "Tesla FSD clock controller support" if COMPILE_TEST
  88. depends on COMMON_CLK_SAMSUNG
  89. depends on EXYNOS_ARM64_COMMON_CLK
  90. help
  91. Support for the clock controller present on the Tesla FSD SoC.
  92. Choose Y here only if you build for this SoC.