diff options
author | Sean Anderson <seanga2@gmail.com> | 2020-06-24 06:41:09 -0400 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2020-07-01 15:01:21 +0800 |
commit | 019ef9a3f32642abbf924931ecc9487300e74530 (patch) | |
tree | 4a592a78ca596120cabdb2de8838df947568a9a9 /drivers/clk/kendryte/Kconfig | |
parent | 675d79073cc347ba72567668da69aebd1d1915fa (diff) |
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>
Diffstat (limited to 'drivers/clk/kendryte/Kconfig')
-rw-r--r-- | drivers/clk/kendryte/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/clk/kendryte/Kconfig b/drivers/clk/kendryte/Kconfig new file mode 100644 index 0000000000..7b69c8afaf --- /dev/null +++ b/drivers/clk/kendryte/Kconfig @@ -0,0 +1,12 @@ +config CLK_K210 + bool "Clock support for Kendryte K210" + depends on CLK && CLK_CCF + help + This enables support clock driver for Kendryte K210 platforms. + +config CLK_K210_SET_RATE + bool "Enable setting the Kendryte K210 PLL rate" + depends on CLK_K210 + help + Add functionality to calculate new rates for K210 PLLs. Enabling this + feature adds around 1K to U-Boot's final size. |