]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commita7743704ade2eeb64a4c84f84c2ed624cb010e51
treeba01f5f1a843d36582654975fd4ad3413e4f6e40
parenta3fc1e25492b73cbc3e747540178004660930ef0
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]