[PATCH 2/4] clk: thead: Port clock controller driver of TH1520 SoC

Leo Liang ycliang at andestech.com
Wed May 21 10:43:19 CEST 2025


On Fri, May 16, 2025 at 03:05:23AM +0000, Yao Zi wrote:
> The driver is adapted from Linux kernel's version of clk-th1520-ap.c,
> with only output clocks for external sensors, which are barely useful in
> bootloaders, removed.
> 
> Same as the mainline driver, it currently lacks of ability to enable and
> reconfigure PLLs, which could be implemented later.
> 
> Signed-off-by: Yao Zi <ziyao at disroot.org>
> ---
>  drivers/clk/Kconfig               |    1 +
>  drivers/clk/Makefile              |    1 +
>  drivers/clk/thead/Kconfig         |   19 +
>  drivers/clk/thead/Makefile        |    5 +
>  drivers/clk/thead/clk-th1520-ap.c | 1031 +++++++++++++++++++++++++++++
>  5 files changed, 1057 insertions(+)
>  create mode 100644 drivers/clk/thead/Kconfig
>  create mode 100644 drivers/clk/thead/Makefile
>  create mode 100644 drivers/clk/thead/clk-th1520-ap.c

Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list