Files
u-boot/drivers/clk/thead/Kconfig
Yao Zi e6bfa6fc94 clk: thead: Port clock controller driver of TH1520 SoC
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@disroot.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2025-05-21 16:49:57 +08:00

20 lines
380 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright (c) 2025, Yao Zi <ziyao@disroot.org>
config CLK_THEAD
bool "Clock support for T-Head SoCs"
depends on CLK
if CLK_THEAD
config CLK_THEAD_TH1520_AP
bool "T-Head TH1520 AP clock support"
select CLK_CCF
default THEAD_TH1520
help
This enables support clock driver for T-Head TH1520 Application
processor.
endif