2016-06-30 03:05:23 +08:00
|
|
|
config SUNXI_CCU
|
|
|
|
bool "Clock support for Allwinner SoCs"
|
|
|
|
default ARCH_SUNXI
|
2016-06-30 03:05:24 +08:00
|
|
|
|
|
|
|
if SUNXI_CCU
|
|
|
|
|
|
|
|
# Base clock types
|
|
|
|
|
2016-06-30 03:05:28 +08:00
|
|
|
config SUNXI_CCU_DIV
|
|
|
|
bool
|
|
|
|
select SUNXI_CCU_MUX
|
|
|
|
|
2016-06-30 03:05:24 +08:00
|
|
|
config SUNXI_CCU_FRAC
|
|
|
|
bool
|
|
|
|
|
2016-06-30 03:05:25 +08:00
|
|
|
config SUNXI_CCU_GATE
|
|
|
|
bool
|
|
|
|
|
2016-06-30 03:05:26 +08:00
|
|
|
config SUNXI_CCU_MUX
|
|
|
|
bool
|
|
|
|
|
2016-06-30 03:05:27 +08:00
|
|
|
config SUNXI_CCU_PHASE
|
|
|
|
bool
|
|
|
|
|
2016-06-30 03:05:29 +08:00
|
|
|
# Multi-factor clocks
|
|
|
|
|
2016-06-30 03:05:30 +08:00
|
|
|
config SUNXI_CCU_NK
|
|
|
|
bool
|
|
|
|
select SUNXI_CCU_GATE
|
|
|
|
|
2016-06-30 03:05:32 +08:00
|
|
|
config SUNXI_CCU_NKM
|
|
|
|
bool
|
|
|
|
select RATIONAL
|
|
|
|
select SUNXI_CCU_GATE
|
|
|
|
|
2016-06-30 03:05:33 +08:00
|
|
|
config SUNXI_CCU_NKMP
|
|
|
|
bool
|
|
|
|
select RATIONAL
|
|
|
|
select SUNXI_CCU_GATE
|
|
|
|
|
2016-06-30 03:05:31 +08:00
|
|
|
config SUNXI_CCU_NM
|
|
|
|
bool
|
|
|
|
select RATIONAL
|
|
|
|
select SUNXI_CCU_FRAC
|
|
|
|
select SUNXI_CCU_GATE
|
|
|
|
|
2016-06-30 03:05:29 +08:00
|
|
|
config SUNXI_CCU_MP
|
|
|
|
bool
|
|
|
|
select SUNXI_CCU_GATE
|
|
|
|
select SUNXI_CCU_MUX
|
|
|
|
|
2016-06-30 03:05:34 +08:00
|
|
|
# SoC Drivers
|
|
|
|
|
|
|
|
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
|
|
|
|
default ARCH_SUN8I
|
|
|
|
|
2016-06-30 03:05:24 +08:00
|
|
|
endif
|