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