]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add clkng driver for Allwinner SoC
authorEmmanuel Vadot <manu@FreeBSD.org>
Sun, 26 Feb 2017 16:00:20 +0000 (16:00 +0000)
committerEmmanuel Vadot <manu@FreeBSD.org>
Sun, 26 Feb 2017 16:00:20 +0000 (16:00 +0000)
commitf5d1d20574d2296aa1973317b2819b58068f61f3
treec6a9b2d3034ee065d9f63f50767643caa960ae2e
parent2d4a5bcccb8c188be88465a659278344ed36c49d
Add clkng driver for Allwinner SoC

Since Linux 4.9-4.10 DTS doesn't have clocks under /clocks but only a ccu node.
Currently only H3 is supported with almost the same state as HEAD.
(video pll aren't supported for now but we don't support video).
This driver and clocks will also be used for other SoC (A64, A31, H5, H2 etc ...)

Reviewed by: jmcneill
Differential Revision: https://reviews.freebsd.org/D9517
13 files changed:
sys/arm/allwinner/clkng/aw_ccung.c [new file with mode: 0644]
sys/arm/allwinner/clkng/aw_ccung.h [new file with mode: 0644]
sys/arm/allwinner/clkng/aw_clk.h [new file with mode: 0644]
sys/arm/allwinner/clkng/aw_clk_nkmp.c [new file with mode: 0644]
sys/arm/allwinner/clkng/aw_clk_nkmp.h [new file with mode: 0644]
sys/arm/allwinner/clkng/aw_clk_nm.c [new file with mode: 0644]
sys/arm/allwinner/clkng/aw_clk_nm.h [new file with mode: 0644]
sys/arm/allwinner/clkng/aw_clk_prediv_mux.c [new file with mode: 0644]
sys/arm/allwinner/clkng/aw_clk_prediv_mux.h [new file with mode: 0644]
sys/arm/allwinner/clkng/ccu_h3.c [new file with mode: 0644]
sys/arm/allwinner/clkng/ccu_h3.h [new file with mode: 0644]
sys/arm/allwinner/files.allwinner
sys/arm/allwinner/h3/files.h3