mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-06 13:14:27 +00:00
019ef9a3f3
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>
12 lines
381 B
Text
12 lines
381 B
Text
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.
|