[PATCH v3 0/7] clk: thead: Add support for TH1520 AP_SUBSYS clock controller

Stephen Boyd sboyd at kernel.org
Mon Jul 15 12:10:32 PDT 2024


Quoting Drew Fustini (2024-07-11 09:56:18)
> This series adds support for the AP sub-system clock controller in the
> T-Head TH1520 [1]. Yangtao Li originally submitted this series in May
> 2023 [2]. Jisheng made additional improvements and then passed on the
> work in progress to me.
> 
> Link: https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/TH1520%20System%20User%20Manual.pdf [1]
> Link: https://lore.kernel.org/all/20230515054402.27633-1-frank.li@vivo.com/ [2]
> 
> Changes in v3:
>  - dt-binding patch has been applied to clk-next by Stephen but I'm
>    keeping it in the series for completeness.
>  - move dt-bindings include after linux includes in driver
>  - change rate to u64 in th1520_pll_vco_recalc_rate()
>  - replace do_div() with normal division operation in both
>    th1520_pll_vco_recalc_rate() and th1520_pll_postdiv_recalc_rate()
>  - add static to ccu_mux structs: c910_i0_clk, c910_clk, uart_sclk

This didn't happen, so I just did it myself.



More information about the linux-riscv mailing list