[PATCH 4/7] clk: thead: th1520-ap: Support setting PLL rates
Drew Fustini
fustini at kernel.org
Wed Nov 26 07:46:58 PST 2025
On Thu, Nov 20, 2025 at 01:14:13PM +0000, Yao Zi wrote:
> TH1520 ships several PLLs that could operate in either integer or
> fractional mode. However, the TRM only lists a few configuration whose
> stability is considered guaranteed.
>
> Add a table-lookup rate determination logic to support PLL rate setting,
> and fill up frequency-configuration tables for AP-subsystem PLLs.
>
> Signed-off-by: Yao Zi <ziyao at disroot.org>
> ---
> drivers/clk/thead/clk-th1520-ap.c | 142 ++++++++++++++++++++++++++++++
> 1 file changed, 142 insertions(+)
Reviewed-by: Drew Fustini <fustini at kernel.org>
More information about the linux-riscv
mailing list