Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

config CONFIG_SUNXI_CCU
	bool "Clock support for Allwinner SoCs"
	depends on CONFIG_ARCH_SUNXI || CONFIG_COMPILE_TEST
	default CONFIG_ARCH_SUNXI

if CONFIG_SUNXI_CCU

# Base clock types

config CONFIG_SUNXI_CCU_DIV
	bool
	select CONFIG_SUNXI_CCU_MUX

config CONFIG_SUNXI_CCU_FRAC
	bool

config CONFIG_SUNXI_CCU_GATE
	bool

config CONFIG_SUNXI_CCU_MUX
	bool

config CONFIG_SUNXI_CCU_MULT
	bool
	select CONFIG_SUNXI_CCU_MUX

config CONFIG_SUNXI_CCU_PHASE
	bool

# Multi-factor clocks

config CONFIG_SUNXI_CCU_NK
	bool
	select CONFIG_SUNXI_CCU_GATE

config CONFIG_SUNXI_CCU_NKM
	bool
	select CONFIG_SUNXI_CCU_GATE

config CONFIG_SUNXI_CCU_NKMP
	bool
	select CONFIG_SUNXI_CCU_GATE

config CONFIG_SUNXI_CCU_NM
	bool
	select CONFIG_SUNXI_CCU_FRAC
	select CONFIG_SUNXI_CCU_GATE

config CONFIG_SUNXI_CCU_MP
	bool
	select CONFIG_SUNXI_CCU_GATE
	select CONFIG_SUNXI_CCU_MUX

# SoC Drivers

config CONFIG_SUN50I_A64_CCU
	bool "Support for the Allwinner A64 CCU"
	select CONFIG_SUNXI_CCU_DIV
	select CONFIG_SUNXI_CCU_NK
	select CONFIG_SUNXI_CCU_NKM
	select CONFIG_SUNXI_CCU_NKMP
	select CONFIG_SUNXI_CCU_NM
	select CONFIG_SUNXI_CCU_MP
	select CONFIG_SUNXI_CCU_PHASE
	default CONFIG_ARM64 && CONFIG_ARCH_SUNXI

config CONFIG_SUN6I_A31_CCU
	bool "Support for the Allwinner A31/A31s CCU"
	select CONFIG_SUNXI_CCU_DIV
	select CONFIG_SUNXI_CCU_NK
	select CONFIG_SUNXI_CCU_NKM
	select CONFIG_SUNXI_CCU_NM
	select CONFIG_SUNXI_CCU_MP
	select CONFIG_SUNXI_CCU_PHASE
	default CONFIG_MACH_SUN6I

config CONFIG_SUN8I_A23_CCU
	bool "Support for the Allwinner A23 CCU"
	select CONFIG_SUNXI_CCU_DIV
	select CONFIG_SUNXI_CCU_MULT
	select CONFIG_SUNXI_CCU_NK
	select CONFIG_SUNXI_CCU_NKM
	select CONFIG_SUNXI_CCU_NKMP
	select CONFIG_SUNXI_CCU_NM
	select CONFIG_SUNXI_CCU_MP
	select CONFIG_SUNXI_CCU_PHASE
	default CONFIG_MACH_SUN8I

config CONFIG_SUN8I_A33_CCU
	bool "Support for the Allwinner A33 CCU"
	select CONFIG_SUNXI_CCU_DIV
	select CONFIG_SUNXI_CCU_MULT
	select CONFIG_SUNXI_CCU_NK
	select CONFIG_SUNXI_CCU_NKM
	select CONFIG_SUNXI_CCU_NKMP
	select CONFIG_SUNXI_CCU_NM
	select CONFIG_SUNXI_CCU_MP
	select CONFIG_SUNXI_CCU_PHASE
	default CONFIG_MACH_SUN8I

config CONFIG_SUN8I_H3_CCU
	bool "Support for the Allwinner H3 CCU"
	select CONFIG_SUNXI_CCU_DIV
	select CONFIG_SUNXI_CCU_NK
	select CONFIG_SUNXI_CCU_NKM
	select CONFIG_SUNXI_CCU_NKMP
	select CONFIG_SUNXI_CCU_NM
	select CONFIG_SUNXI_CCU_MP
	select CONFIG_SUNXI_CCU_PHASE
	default CONFIG_MACH_SUN8I

endif