Kconfig 1.1 KB
Newer Older
1 2 3
config SUNXI_CCU
	bool "Clock support for Allwinner SoCs"
	default ARCH_SUNXI
4 5 6 7 8

if SUNXI_CCU

# Base clock types

M
Maxime Ripard 已提交
9 10 11 12
config SUNXI_CCU_DIV
	bool
	select SUNXI_CCU_MUX

13 14 15
config SUNXI_CCU_FRAC
	bool

16 17 18
config SUNXI_CCU_GATE
	bool

19 20 21
config SUNXI_CCU_MUX
	bool

22 23 24
config SUNXI_CCU_PHASE
	bool

25 26
# Multi-factor clocks

27 28 29 30
config SUNXI_CCU_NK
	bool
	select SUNXI_CCU_GATE

31 32 33 34 35
config SUNXI_CCU_NKM
	bool
	select RATIONAL
	select SUNXI_CCU_GATE

36 37 38 39 40
config SUNXI_CCU_NKMP
	bool
	select RATIONAL
	select SUNXI_CCU_GATE

41 42 43 44 45 46
config SUNXI_CCU_NM
	bool
	select RATIONAL
	select SUNXI_CCU_FRAC
	select SUNXI_CCU_GATE

47 48 49 50 51
config SUNXI_CCU_MP
	bool
	select SUNXI_CCU_GATE
	select SUNXI_CCU_MUX

M
Maxime Ripard 已提交
52 53
# SoC Drivers

54 55 56 57 58 59 60 61 62 63
config SUN6I_A31_CCU
	bool "Support for the Allwinner A31/A31s CCU"
	select SUNXI_CCU_DIV
	select SUNXI_CCU_NK
	select SUNXI_CCU_NKM
	select SUNXI_CCU_NM
	select SUNXI_CCU_MP
	select SUNXI_CCU_PHASE
	default MACH_SUN6I

M
Maxime Ripard 已提交
64 65 66 67 68 69 70 71 72
config SUN8I_H3_CCU
	bool "Support for the Allwinner H3 CCU"
	select SUNXI_CCU_DIV
	select SUNXI_CCU_NK
	select SUNXI_CCU_NKM
	select SUNXI_CCU_NKMP
	select SUNXI_CCU_NM
	select SUNXI_CCU_MP
	select SUNXI_CCU_PHASE
73
	default MACH_SUN8I
M
Maxime Ripard 已提交
74

75
endif