Kconfig 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. config SUNXI_CCU
  2. bool "Clock support for Allwinner SoCs"
  3. depends on ARCH_SUNXI || COMPILE_TEST
  4. default ARCH_SUNXI
  5. if SUNXI_CCU
  6. # Base clock types
  7. config SUNXI_CCU_DIV
  8. bool
  9. select SUNXI_CCU_MUX
  10. config SUNXI_CCU_FRAC
  11. bool
  12. config SUNXI_CCU_GATE
  13. bool
  14. config SUNXI_CCU_MUX
  15. bool
  16. config SUNXI_CCU_MULT
  17. bool
  18. select SUNXI_CCU_MUX
  19. config SUNXI_CCU_PHASE
  20. bool
  21. # Multi-factor clocks
  22. config SUNXI_CCU_NK
  23. bool
  24. select SUNXI_CCU_GATE
  25. config SUNXI_CCU_NKM
  26. bool
  27. select SUNXI_CCU_GATE
  28. config SUNXI_CCU_NKMP
  29. bool
  30. select SUNXI_CCU_GATE
  31. config SUNXI_CCU_NM
  32. bool
  33. select SUNXI_CCU_FRAC
  34. select SUNXI_CCU_GATE
  35. config SUNXI_CCU_MP
  36. bool
  37. select SUNXI_CCU_GATE
  38. select SUNXI_CCU_MUX
  39. # SoC Drivers
  40. config SUN50I_A64_CCU
  41. bool "Support for the Allwinner A64 CCU"
  42. select SUNXI_CCU_DIV
  43. select SUNXI_CCU_NK
  44. select SUNXI_CCU_NKM
  45. select SUNXI_CCU_NKMP
  46. select SUNXI_CCU_NM
  47. select SUNXI_CCU_MP
  48. select SUNXI_CCU_PHASE
  49. default ARM64 && ARCH_SUNXI
  50. config SUN6I_A31_CCU
  51. bool "Support for the Allwinner A31/A31s CCU"
  52. select SUNXI_CCU_DIV
  53. select SUNXI_CCU_NK
  54. select SUNXI_CCU_NKM
  55. select SUNXI_CCU_NM
  56. select SUNXI_CCU_MP
  57. select SUNXI_CCU_PHASE
  58. default MACH_SUN6I
  59. config SUN8I_A23_CCU
  60. bool "Support for the Allwinner A23 CCU"
  61. select SUNXI_CCU_DIV
  62. select SUNXI_CCU_MULT
  63. select SUNXI_CCU_NK
  64. select SUNXI_CCU_NKM
  65. select SUNXI_CCU_NKMP
  66. select SUNXI_CCU_NM
  67. select SUNXI_CCU_MP
  68. select SUNXI_CCU_PHASE
  69. default MACH_SUN8I
  70. config SUN8I_A33_CCU
  71. bool "Support for the Allwinner A33 CCU"
  72. select SUNXI_CCU_DIV
  73. select SUNXI_CCU_MULT
  74. select SUNXI_CCU_NK
  75. select SUNXI_CCU_NKM
  76. select SUNXI_CCU_NKMP
  77. select SUNXI_CCU_NM
  78. select SUNXI_CCU_MP
  79. select SUNXI_CCU_PHASE
  80. default MACH_SUN8I
  81. config SUN8I_H3_CCU
  82. bool "Support for the Allwinner H3 CCU"
  83. select SUNXI_CCU_DIV
  84. select SUNXI_CCU_NK
  85. select SUNXI_CCU_NKM
  86. select SUNXI_CCU_NKMP
  87. select SUNXI_CCU_NM
  88. select SUNXI_CCU_MP
  89. select SUNXI_CCU_PHASE
  90. default MACH_SUN8I
  91. endif