1config SUNXI_CCU 2 bool "Clock support for Allwinner SoCs" 3 depends on ARCH_SUNXI || COMPILE_TEST 4 default ARCH_SUNXI 5 6if SUNXI_CCU 7 8# Base clock types 9 10config SUNXI_CCU_DIV 11 bool 12 select SUNXI_CCU_MUX 13 14config SUNXI_CCU_FRAC 15 bool 16 17config SUNXI_CCU_GATE 18 bool 19 20config SUNXI_CCU_MUX 21 bool 22 23config SUNXI_CCU_MULT 24 bool 25 select SUNXI_CCU_MUX 26 27config SUNXI_CCU_PHASE 28 bool 29 30# Multi-factor clocks 31 32config SUNXI_CCU_NK 33 bool 34 select SUNXI_CCU_GATE 35 36config SUNXI_CCU_NKM 37 bool 38 select SUNXI_CCU_GATE 39 40config SUNXI_CCU_NKMP 41 bool 42 select SUNXI_CCU_GATE 43 44config SUNXI_CCU_NM 45 bool 46 select SUNXI_CCU_FRAC 47 select SUNXI_CCU_GATE 48 49config SUNXI_CCU_MP 50 bool 51 select SUNXI_CCU_GATE 52 select SUNXI_CCU_MUX 53 54# SoC Drivers 55 56config SUN50I_A64_CCU 57 bool "Support for the Allwinner A64 CCU" 58 select SUNXI_CCU_DIV 59 select SUNXI_CCU_NK 60 select SUNXI_CCU_NKM 61 select SUNXI_CCU_NKMP 62 select SUNXI_CCU_NM 63 select SUNXI_CCU_MP 64 select SUNXI_CCU_PHASE 65 default ARM64 && ARCH_SUNXI 66 67config SUN5I_CCU 68 bool "Support for the Allwinner sun5i family CCM" 69 select SUNXI_CCU_DIV 70 select SUNXI_CCU_NK 71 select SUNXI_CCU_NKM 72 select SUNXI_CCU_NM 73 select SUNXI_CCU_MP 74 select SUNXI_CCU_PHASE 75 default MACH_SUN5I 76 77config SUN6I_A31_CCU 78 bool "Support for the Allwinner A31/A31s CCU" 79 select SUNXI_CCU_DIV 80 select SUNXI_CCU_NK 81 select SUNXI_CCU_NKM 82 select SUNXI_CCU_NM 83 select SUNXI_CCU_MP 84 select SUNXI_CCU_PHASE 85 default MACH_SUN6I 86 87config SUN8I_A23_CCU 88 bool "Support for the Allwinner A23 CCU" 89 select SUNXI_CCU_DIV 90 select SUNXI_CCU_MULT 91 select SUNXI_CCU_NK 92 select SUNXI_CCU_NKM 93 select SUNXI_CCU_NKMP 94 select SUNXI_CCU_NM 95 select SUNXI_CCU_MP 96 select SUNXI_CCU_PHASE 97 default MACH_SUN8I 98 99config SUN8I_A33_CCU 100 bool "Support for the Allwinner A33 CCU" 101 select SUNXI_CCU_DIV 102 select SUNXI_CCU_MULT 103 select SUNXI_CCU_NK 104 select SUNXI_CCU_NKM 105 select SUNXI_CCU_NKMP 106 select SUNXI_CCU_NM 107 select SUNXI_CCU_MP 108 select SUNXI_CCU_PHASE 109 default MACH_SUN8I 110 111config SUN8I_H3_CCU 112 bool "Support for the Allwinner H3 CCU" 113 select SUNXI_CCU_DIV 114 select SUNXI_CCU_NK 115 select SUNXI_CCU_NKM 116 select SUNXI_CCU_NKMP 117 select SUNXI_CCU_NM 118 select SUNXI_CCU_MP 119 select SUNXI_CCU_PHASE 120 default MACH_SUN8I 121 122config SUN8I_V3S_CCU 123 bool "Support for the Allwinner V3s CCU" 124 select SUNXI_CCU_DIV 125 select SUNXI_CCU_NK 126 select SUNXI_CCU_NKM 127 select SUNXI_CCU_NKMP 128 select SUNXI_CCU_NM 129 select SUNXI_CCU_MP 130 select SUNXI_CCU_PHASE 131 default MACH_SUN8I 132 133config SUN9I_A80_CCU 134 bool "Support for the Allwinner A80 CCU" 135 select SUNXI_CCU_DIV 136 select SUNXI_CCU_GATE 137 select SUNXI_CCU_NKMP 138 select SUNXI_CCU_NM 139 select SUNXI_CCU_MP 140 select SUNXI_CCU_PHASE 141 default MACH_SUN9I 142 143endif 144