Kconfig 1.7 KB

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