Kconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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 RATIONAL
  28. select SUNXI_CCU_GATE
  29. config SUNXI_CCU_NKMP
  30. bool
  31. select RATIONAL
  32. select SUNXI_CCU_GATE
  33. config SUNXI_CCU_NM
  34. bool
  35. select RATIONAL
  36. select SUNXI_CCU_FRAC
  37. select SUNXI_CCU_GATE
  38. config SUNXI_CCU_MP
  39. bool
  40. select SUNXI_CCU_GATE
  41. select SUNXI_CCU_MUX
  42. # SoC Drivers
  43. config SUN6I_A31_CCU
  44. bool "Support for the Allwinner A31/A31s CCU"
  45. select SUNXI_CCU_DIV
  46. select SUNXI_CCU_NK
  47. select SUNXI_CCU_NKM
  48. select SUNXI_CCU_NM
  49. select SUNXI_CCU_MP
  50. select SUNXI_CCU_PHASE
  51. default MACH_SUN6I
  52. config SUN8I_A23_CCU
  53. bool "Support for the Allwinner A23 CCU"
  54. select SUNXI_CCU_DIV
  55. select SUNXI_CCU_MULT
  56. select SUNXI_CCU_NK
  57. select SUNXI_CCU_NKM
  58. select SUNXI_CCU_NKMP
  59. select SUNXI_CCU_NM
  60. select SUNXI_CCU_MP
  61. select SUNXI_CCU_PHASE
  62. default MACH_SUN8I
  63. config SUN8I_A33_CCU
  64. bool "Support for the Allwinner A33 CCU"
  65. select SUNXI_CCU_DIV
  66. select SUNXI_CCU_MULT
  67. select SUNXI_CCU_NK
  68. select SUNXI_CCU_NKM
  69. select SUNXI_CCU_NKMP
  70. select SUNXI_CCU_NM
  71. select SUNXI_CCU_MP
  72. select SUNXI_CCU_PHASE
  73. default MACH_SUN8I
  74. config SUN8I_H3_CCU
  75. bool "Support for the Allwinner H3 CCU"
  76. select SUNXI_CCU_DIV
  77. select SUNXI_CCU_NK
  78. select SUNXI_CCU_NKM
  79. select SUNXI_CCU_NKMP
  80. select SUNXI_CCU_NM
  81. select SUNXI_CCU_MP
  82. select SUNXI_CCU_PHASE
  83. default MACH_SUN8I
  84. endif