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