forked from OERV-BSP/u-boot
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>
20 lines
380 B
Plaintext
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
|