Kconfig 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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_R8A7778 if ARCH_R8A7778
  11. select CLK_R8A7779 if ARCH_R8A7779
  12. select CLK_R8A7790 if ARCH_R8A7790
  13. select CLK_R8A7791 if ARCH_R8A7791 || ARCH_R8A7793
  14. select CLK_R8A7792 if ARCH_R8A7792
  15. select CLK_R8A7794 if ARCH_R8A7794
  16. select CLK_R8A7795 if ARCH_R8A7795
  17. select CLK_R8A7796 if ARCH_R8A7796
  18. select CLK_R8A77995 if ARCH_R8A77995
  19. select CLK_SH73A0 if ARCH_SH73A0
  20. if CLK_RENESAS
  21. config CLK_RENESAS_LEGACY
  22. bool "Legacy DT clock support"
  23. depends on CLK_R8A7790 || CLK_R8A7791 || CLK_R8A7792 || CLK_R8A7794
  24. default y
  25. help
  26. Enable backward compatibility with old device trees describing a
  27. hierarchical representation of the various CPG and MSTP clocks.
  28. Say Y if you want your kernel to work with old DTBs.
  29. # SoC
  30. config CLK_EMEV2
  31. bool "Emma Mobile EV2 clock support" if COMPILE_TEST
  32. config CLK_RZA1
  33. bool "RZ/A1H clock support" if COMPILE_TEST
  34. select CLK_RENESAS_CPG_MSTP
  35. config CLK_R8A73A4
  36. bool "R-Mobile APE6 clock support" if COMPILE_TEST
  37. select CLK_RENESAS_CPG_MSTP
  38. select CLK_RENESAS_DIV6
  39. config CLK_R8A7740
  40. bool "R-Mobile A1 clock support" if COMPILE_TEST
  41. select CLK_RENESAS_CPG_MSTP
  42. select CLK_RENESAS_DIV6
  43. config CLK_R8A7743
  44. bool "RZ/G1M clock support" if COMPILE_TEST
  45. select CLK_RCAR_GEN2_CPG
  46. config CLK_R8A7745
  47. bool "RZ/G1E clock support" if COMPILE_TEST
  48. select CLK_RCAR_GEN2_CPG
  49. config CLK_R8A7778
  50. bool "R-Car M1A clock support" if COMPILE_TEST
  51. select CLK_RENESAS_CPG_MSTP
  52. config CLK_R8A7779
  53. bool "R-Car H1 clock support" if COMPILE_TEST
  54. select CLK_RENESAS_CPG_MSTP
  55. config CLK_R8A7790
  56. bool "R-Car H2 clock support" if COMPILE_TEST
  57. select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY
  58. select CLK_RCAR_GEN2_CPG
  59. select CLK_RENESAS_DIV6
  60. config CLK_R8A7791
  61. bool "R-Car M2-W/N clock support" if COMPILE_TEST
  62. select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY
  63. select CLK_RCAR_GEN2_CPG
  64. select CLK_RENESAS_DIV6
  65. config CLK_R8A7792
  66. bool "R-Car V2H clock support" if COMPILE_TEST
  67. select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY
  68. select CLK_RCAR_GEN2_CPG
  69. config CLK_R8A7794
  70. bool "R-Car E2 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_R8A7795
  75. bool "R-Car H3 clock support" if COMPILE_TEST
  76. select CLK_RCAR_GEN3_CPG
  77. config CLK_R8A7796
  78. bool "R-Car M3-W clock support" if COMPILE_TEST
  79. select CLK_RCAR_GEN3_CPG
  80. config CLK_R8A77995
  81. bool "R-Car D3 clock support" if COMPILE_TEST
  82. select CLK_RCAR_GEN3_CPG
  83. config CLK_SH73A0
  84. bool "SH-Mobile AG5 clock support" if COMPILE_TEST
  85. select CLK_RENESAS_CPG_MSTP
  86. select CLK_RENESAS_DIV6
  87. # Family
  88. config CLK_RCAR_GEN2
  89. bool "R-Car Gen2 legacy clock support" if COMPILE_TEST
  90. select CLK_RENESAS_CPG_MSTP
  91. select CLK_RENESAS_DIV6
  92. config CLK_RCAR_GEN2_CPG
  93. bool "R-Car Gen2 CPG clock support" if COMPILE_TEST
  94. select CLK_RENESAS_CPG_MSSR
  95. config CLK_RCAR_GEN3_CPG
  96. bool "R-Car Gen3 CPG clock support" if COMPILE_TEST
  97. select CLK_RENESAS_CPG_MSSR
  98. config CLK_RCAR_USB2_CLOCK_SEL
  99. bool "Renesas R-Car USB2 clock selector support"
  100. depends on ARCH_RENESAS || COMPILE_TEST
  101. help
  102. This is a driver for R-Car USB2 clock selector
  103. # Generic
  104. config CLK_RENESAS_CPG_MSSR
  105. bool "CPG/MSSR clock support" if COMPILE_TEST
  106. select CLK_RENESAS_DIV6
  107. config CLK_RENESAS_CPG_MSTP
  108. bool "MSTP clock support" if COMPILE_TEST
  109. config CLK_RENESAS_DIV6
  110. bool "DIV6 clock support" if COMPILE_TEST
  111. endif # CLK_RENESAS