]> git.baikalelectronics.ru Git - uboot.git/commit
clk: Add K210 pll support
authorSean Anderson <seanga2@gmail.com>
Wed, 24 Jun 2020 10:41:09 +0000 (06:41 -0400)
committerAndes <uboot@andestech.com>
Wed, 1 Jul 2020 07:01:21 +0000 (15:01 +0800)
commit173c6c65cdec2d1fe1d9c9d97e20c27a35f67e41
tree4a592a78ca596120cabdb2de8838df947568a9a9
parent73c9ac31e445c895484720ca985fdfc5cd706649
clk: Add K210 pll support

This pll code is primarily based on the code from the kendryte standalone
sdk in lib/drivers/sysctl.c. k210_pll_calc_config is roughly analogous to
the algorithm used to set the pll frequency, but it has been completely
rewritten to be fixed-point based.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
CC: Lukasz Majewski <lukma@denx.de>
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/kendryte/Kconfig [new file with mode: 0644]
drivers/clk/kendryte/Makefile [new file with mode: 0644]
drivers/clk/kendryte/pll.c [new file with mode: 0644]
include/kendryte/pll.h [new file with mode: 0644]
include/test/export.h [new file with mode: 0644]
test/dm/Makefile
test/dm/k210_pll.c [new file with mode: 0644]