diff options
author | Icenowy Zheng <uwu@icenowy.me> | 2025-08-16 17:11:11 +0800 |
---|---|---|
committer | Drew Fustini <fustini@kernel.org> | 2025-08-18 14:58:23 -0700 |
commit | 56a48c1833aa1ede82cc3833d73750597eccfdb0 (patch) | |
tree | a579fb6d40592f63f3999a78eb3916cd9432a8a4 /rust/kernel/workqueue.rs | |
parent | c51a37ffea3813374a8f7955abbba6da25357388 (diff) |
clk: thead: add support for enabling/disabling PLLs
The 2nd control word of T-Head TH1520 PLLs contains a bit to put the VCO
into reset state, which means disabling the PLL.
Some PLLs are put to disabled state by the bootloader, and the clock
driver should be able to enable them.
Add support for enabling/disabling PLLs. PLLs other than DPU ones are
set CLK_IS_CRITICAL to prevent killing the system -- they're meant to
drive CPU or system buses (even the GMAC/Video ones are driving arbitrary
buses).
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Reviewed-by: Drew Fustini <fustini@kernel.org>
Signed-off-by: Drew Fustini <fustini@kernel.org>
Diffstat (limited to 'rust/kernel/workqueue.rs')
0 files changed, 0 insertions, 0 deletions