clk: Add K210 clock support
authorSean Anderson <seanga2@gmail.com>
Wed, 24 Jun 2020 10:41:11 +0000 (06:41 -0400)
committerAndes <uboot@andestech.com>
Wed, 1 Jul 2020 07:01:21 +0000 (15:01 +0800)
commitf9c7d4f99f51ac9c1cf513111c21395f93d2dd53
treeba01f5f1a843d36582654975fd4ad3413e4f6e40
parent1a198cf8862b0540894ba6569c55244b1bd3e824
clk: Add K210 clock support

Due to the large number of clocks, I decided to use the CCF. The overall
structure is modeled after the imx code. Clocks parameters are stored in
several arrays, and are then instantiated at run-time. There are some
translation macros (FOOIFY()) which allow for more dense packing.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
CC: Lukasz Majewski <lukma@denx.de>
MAINTAINERS
doc/device-tree-bindings/mfd/kendryte,k210-sysctl.txt [new file with mode: 0644]
drivers/clk/kendryte/Kconfig
drivers/clk/kendryte/Makefile
drivers/clk/kendryte/clk.c [new file with mode: 0644]
include/dt-bindings/clock/k210-sysctl.h [new file with mode: 0644]
include/dt-bindings/mfd/k210-sysctl.h [new file with mode: 0644]
include/kendryte/clk.h [new file with mode: 0644]