Kconfig 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. config CLK_RENESAS
  2. bool "Renesas SoC clock support" if COMPILE_TEST && !ARCH_RENESAS
  3. default y if ARCH_RENESAS
  4. select CLK_EMEV2 if ARCH_EMEV2
  5. select CLK_RZA1 if ARCH_R7S72100
  6. select CLK_R8A73A4 if ARCH_R8A73A4
  7. select CLK_R8A7740 if ARCH_R8A7740
  8. select CLK_R8A7743 if ARCH_R8A7743
  9. select CLK_R8A7745 if ARCH_R8A7745
  10. select CLK_R8A77470 if ARCH_R8A77470
  11. select CLK_R8A7778 if ARCH_R8A7778
  12. select CLK_R8A7779 if ARCH_R8A7779
  13. select CLK_R8A7790 if ARCH_R8A7790
  14. select CLK_R8A7791 if ARCH_R8A7791 || ARCH_R8A7793
  15. select CLK_R8A7792 if ARCH_R8A7792
  16. select CLK_R8A7794 if ARCH_R8A7794
  17. select CLK_R8A7795 if ARCH_R8A7795
  18. select CLK_R8A7796 if ARCH_R8A7796
  19. select CLK_R8A77965 if ARCH_R8A77965
  20. select CLK_R8A77970 if ARCH_R8A77970
  21. select CLK_R8A77980 if ARCH_R8A77980
  22. select CLK_R8A77990 if ARCH_R8A77990
  23. select CLK_R8A77995 if ARCH_R8A77995
  24. select CLK_SH73A0 if ARCH_SH73A0
  25. if CLK_RENESAS
  26. config CLK_RENESAS_LEGACY
  27. bool "Legacy DT clock support"
  28. depends on CLK_R8A7790 || CLK_R8A7791 || CLK_R8A7792 || CLK_R8A7794
  29. help
  30. Enable backward compatibility with old device trees describing a
  31. hierarchical representation of the various CPG and MSTP clocks.
  32. Say Y if you want your kernel to work with old DTBs.
  33. It is safe to say N if you use the DTS that is supplied with the
  34. current kernel source tree.
  35. # SoC
  36. config CLK_EMEV2
  37. bool "Emma Mobile EV2 clock support" if COMPILE_TEST
  38. config CLK_RZA1
  39. bool "RZ/A1H clock support" if COMPILE_TEST
  40. select CLK_RENESAS_CPG_MSTP
  41. config CLK_R8A73A4
  42. bool "R-Mobile APE6 clock support" if COMPILE_TEST
  43. select CLK_RENESAS_CPG_MSTP
  44. select CLK_RENESAS_DIV6
  45. config CLK_R8A7740
  46. bool "R-Mobile A1 clock support" if COMPILE_TEST
  47. select CLK_RENESAS_CPG_MSTP
  48. select CLK_RENESAS_DIV6
  49. config CLK_R8A7743
  50. bool "RZ/G1M clock support" if COMPILE_TEST
  51. select CLK_RCAR_GEN2_CPG
  52. config CLK_R8A7745
  53. bool "RZ/G1E clock support" if COMPILE_TEST
  54. select CLK_RCAR_GEN2_CPG
  55. config CLK_R8A77470
  56. bool "RZ/G1C clock support" if COMPILE_TEST
  57. select CLK_RCAR_GEN2_CPG
  58. config CLK_R8A7778
  59. bool "R-Car M1A clock support" if COMPILE_TEST
  60. select CLK_RENESAS_CPG_MSTP
  61. config CLK_R8A7779
  62. bool "R-Car H1 clock support" if COMPILE_TEST
  63. select CLK_RENESAS_CPG_MSTP
  64. config CLK_R8A7790
  65. bool "R-Car H2 clock support" if COMPILE_TEST
  66. select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY
  67. select CLK_RCAR_GEN2_CPG
  68. select CLK_RENESAS_DIV6
  69. config CLK_R8A7791
  70. bool "R-Car M2-W/N clock support" if COMPILE_TEST
  71. select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY
  72. select CLK_RCAR_GEN2_CPG
  73. select CLK_RENESAS_DIV6
  74. config CLK_R8A7792
  75. bool "R-Car V2H clock support" if COMPILE_TEST
  76. select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY
  77. select CLK_RCAR_GEN2_CPG
  78. config CLK_R8A7794
  79. bool "R-Car E2 clock support" if COMPILE_TEST
  80. select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY
  81. select CLK_RCAR_GEN2_CPG
  82. select CLK_RENESAS_DIV6
  83. config CLK_R8A7795
  84. bool "R-Car H3 clock support" if COMPILE_TEST
  85. select CLK_RCAR_GEN3_CPG
  86. config CLK_R8A7796
  87. bool "R-Car M3-W clock support" if COMPILE_TEST
  88. select CLK_RCAR_GEN3_CPG
  89. config CLK_R8A77965
  90. bool "R-Car M3-N clock support" if COMPILE_TEST
  91. select CLK_RCAR_GEN3_CPG
  92. config CLK_R8A77970
  93. bool "R-Car V3M clock support" if COMPILE_TEST
  94. select CLK_RCAR_GEN3_CPG
  95. config CLK_R8A77980
  96. bool "R-Car V3H clock support" if COMPILE_TEST
  97. select CLK_RCAR_GEN3_CPG
  98. config CLK_R8A77990
  99. bool "R-Car E3 clock support" if COMPILE_TEST
  100. select CLK_RCAR_GEN3_CPG
  101. config CLK_R8A77995
  102. bool "R-Car D3 clock support" if COMPILE_TEST
  103. select CLK_RCAR_GEN3_CPG
  104. config CLK_SH73A0
  105. bool "SH-Mobile AG5 clock support" if COMPILE_TEST
  106. select CLK_RENESAS_CPG_MSTP
  107. select CLK_RENESAS_DIV6
  108. # Family
  109. config CLK_RCAR_GEN2
  110. bool "R-Car Gen2 legacy clock support" if COMPILE_TEST
  111. select CLK_RENESAS_CPG_MSTP
  112. select CLK_RENESAS_DIV6
  113. config CLK_RCAR_GEN2_CPG
  114. bool "R-Car Gen2 CPG clock support" if COMPILE_TEST
  115. select CLK_RENESAS_CPG_MSSR
  116. config CLK_RCAR_GEN3_CPG
  117. bool "R-Car Gen3 CPG clock support" if COMPILE_TEST
  118. select CLK_RENESAS_CPG_MSSR
  119. config CLK_RCAR_USB2_CLOCK_SEL
  120. bool "Renesas R-Car USB2 clock selector support"
  121. depends on ARCH_RENESAS || COMPILE_TEST
  122. help
  123. This is a driver for R-Car USB2 clock selector
  124. # Generic
  125. config CLK_RENESAS_CPG_MSSR
  126. bool "CPG/MSSR clock support" if COMPILE_TEST
  127. select CLK_RENESAS_DIV6
  128. config CLK_RENESAS_CPG_MSTP
  129. bool "MSTP clock support" if COMPILE_TEST
  130. config CLK_RENESAS_DIV6
  131. bool "DIV6 clock support" if COMPILE_TEST
  132. endif # CLK_RENESAS