2016-06-29 19:05:23 +00:00
|
|
|
config SUNXI_CCU
|
|
|
|
bool "Clock support for Allwinner SoCs"
|
|
|
|
default ARCH_SUNXI
|
2016-06-29 19:05:24 +00:00
|
|
|
|
|
|
|
if SUNXI_CCU
|
|
|
|
|
|
|
|
# Base clock types
|
|
|
|
|
2016-06-29 19:05:28 +00:00
|
|
|
config SUNXI_CCU_DIV
|
|
|
|
bool
|
|
|
|
select SUNXI_CCU_MUX
|
|
|
|
|
2016-06-29 19:05:24 +00:00
|
|
|
config SUNXI_CCU_FRAC
|
|
|
|
bool
|
|
|
|
|
2016-06-29 19:05:25 +00:00
|
|
|
config SUNXI_CCU_GATE
|
|
|
|
bool
|
|
|
|
|
2016-06-29 19:05:26 +00:00
|
|
|
config SUNXI_CCU_MUX
|
|
|
|
bool
|
|
|
|
|
2016-06-29 19:05:27 +00:00
|
|
|
config SUNXI_CCU_PHASE
|
|
|
|
bool
|
|
|
|
|
2016-06-29 19:05:29 +00:00
|
|
|
# Multi-factor clocks
|
|
|
|
|
2016-06-29 19:05:30 +00:00
|
|
|
config SUNXI_CCU_NK
|
|
|
|
bool
|
|
|
|
select SUNXI_CCU_GATE
|
|
|
|
|
2016-06-29 19:05:32 +00:00
|
|
|
config SUNXI_CCU_NKM
|
|
|
|
bool
|
|
|
|
select RATIONAL
|
|
|
|
select SUNXI_CCU_GATE
|
|
|
|
|
2016-06-29 19:05:31 +00:00
|
|
|
config SUNXI_CCU_NM
|
|
|
|
bool
|
|
|
|
select RATIONAL
|
|
|
|
select SUNXI_CCU_FRAC
|
|
|
|
select SUNXI_CCU_GATE
|
|
|
|
|
2016-06-29 19:05:29 +00:00
|
|
|
config SUNXI_CCU_MP
|
|
|
|
bool
|
|
|
|
select SUNXI_CCU_GATE
|
|
|
|
select SUNXI_CCU_MUX
|
|
|
|
|
2016-06-29 19:05:24 +00:00
|
|
|
endif
|