Kconfig 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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_R9A06G032 if ARCH_R9A06G032
  25. select CLK_SH73A0 if ARCH_SH73A0
  26. if CLK_RENESAS
  27. config CLK_RENESAS_LEGACY
  28. bool "Legacy DT clock support"
  29. depends on CLK_R8A7790 || CLK_R8A7791 || CLK_R8A7792 || CLK_R8A7794
  30. help
  31. Enable backward compatibility with old device trees describing a
  32. hierarchical representation of the various CPG and MSTP clocks.
  33. Say Y if you want your kernel to work with old DTBs.
  34. It is safe to say N if you use the DTS that is supplied with the
  35. current kernel source tree.
  36. # SoC
  37. config CLK_EMEV2
  38. bool "Emma Mobile EV2 clock support" if COMPILE_TEST
  39. config CLK_RZA1
  40. bool "RZ/A1H clock support" if COMPILE_TEST
  41. select CLK_RENESAS_CPG_MSTP
  42. config CLK_R8A73A4
  43. bool "R-Mobile APE6 clock support" if COMPILE_TEST
  44. select CLK_RENESAS_CPG_MSTP
  45. select CLK_RENESAS_DIV6
  46. config CLK_R8A7740
  47. bool "R-Mobile A1 clock support" if COMPILE_TEST
  48. select CLK_RENESAS_CPG_MSTP
  49. select CLK_RENESAS_DIV6
  50. config CLK_R8A7743
  51. bool "RZ/G1M clock support" if COMPILE_TEST
  52. select CLK_RCAR_GEN2_CPG
  53. config CLK_R8A7745
  54. bool "RZ/G1E clock support" if COMPILE_TEST
  55. select CLK_RCAR_GEN2_CPG
  56. config CLK_R8A77470
  57. bool "RZ/G1C clock support" if COMPILE_TEST
  58. select CLK_RCAR_GEN2_CPG
  59. config CLK_R8A7778
  60. bool "R-Car M1A clock support" if COMPILE_TEST
  61. select CLK_RENESAS_CPG_MSTP
  62. config CLK_R8A7779
  63. bool "R-Car H1 clock support" if COMPILE_TEST
  64. select CLK_RENESAS_CPG_MSTP
  65. config CLK_R8A7790
  66. bool "R-Car H2 clock support" if COMPILE_TEST
  67. select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY
  68. select CLK_RCAR_GEN2_CPG
  69. select CLK_RENESAS_DIV6
  70. config CLK_R8A7791
  71. bool "R-Car M2-W/N clock support" if COMPILE_TEST
  72. select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY
  73. select CLK_RCAR_GEN2_CPG
  74. select CLK_RENESAS_DIV6
  75. config CLK_R8A7792
  76. bool "R-Car V2H clock support" if COMPILE_TEST
  77. select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY
  78. select CLK_RCAR_GEN2_CPG
  79. config CLK_R8A7794
  80. bool "R-Car E2 clock support" if COMPILE_TEST
  81. select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY
  82. select CLK_RCAR_GEN2_CPG
  83. select CLK_RENESAS_DIV6
  84. config CLK_R8A7795
  85. bool "R-Car H3 clock support" if COMPILE_TEST
  86. select CLK_RCAR_GEN3_CPG
  87. config CLK_R8A7796
  88. bool "R-Car M3-W clock support" if COMPILE_TEST
  89. select CLK_RCAR_GEN3_CPG
  90. config CLK_R8A77965
  91. bool "R-Car M3-N clock support" if COMPILE_TEST
  92. select CLK_RCAR_GEN3_CPG
  93. config CLK_R8A77970
  94. bool "R-Car V3M clock support" if COMPILE_TEST
  95. select CLK_RCAR_GEN3_CPG
  96. config CLK_R8A77980
  97. bool "R-Car V3H clock support" if COMPILE_TEST
  98. select CLK_RCAR_GEN3_CPG
  99. config CLK_R8A77990
  100. bool "R-Car E3 clock support" if COMPILE_TEST
  101. select CLK_RCAR_GEN3_CPG
  102. config CLK_R8A77995
  103. bool "R-Car D3 clock support" if COMPILE_TEST
  104. select CLK_RCAR_GEN3_CPG
  105. config CLK_R9A06G032
  106. bool "Renesas R9A06G032 clock driver"
  107. help
  108. This is a driver for R9A06G032 clocks
  109. config CLK_SH73A0
  110. bool "SH-Mobile AG5 clock support" if COMPILE_TEST
  111. select CLK_RENESAS_CPG_MSTP
  112. select CLK_RENESAS_DIV6
  113. # Family
  114. config CLK_RCAR_GEN2
  115. bool "R-Car Gen2 legacy clock support" if COMPILE_TEST
  116. select CLK_RENESAS_CPG_MSTP
  117. select CLK_RENESAS_DIV6
  118. config CLK_RCAR_GEN2_CPG
  119. bool "R-Car Gen2 CPG clock support" if COMPILE_TEST
  120. select CLK_RENESAS_CPG_MSSR
  121. config CLK_RCAR_GEN3_CPG
  122. bool "R-Car Gen3 CPG clock support" if COMPILE_TEST
  123. select CLK_RENESAS_CPG_MSSR
  124. config CLK_RCAR_USB2_CLOCK_SEL
  125. bool "Renesas R-Car USB2 clock selector support"
  126. depends on ARCH_RENESAS || COMPILE_TEST
  127. help
  128. This is a driver for R-Car USB2 clock selector
  129. # Generic
  130. config CLK_RENESAS_CPG_MSSR
  131. bool "CPG/MSSR clock support" if COMPILE_TEST
  132. select CLK_RENESAS_DIV6
  133. config CLK_RENESAS_CPG_MSTP
  134. bool "MSTP clock support" if COMPILE_TEST
  135. config CLK_RENESAS_DIV6
  136. bool "DIV6 clock support" if COMPILE_TEST
  137. endif # CLK_RENESAS