diff options
| author | Yao Zi <ziyao@disroot.org> | 2025-11-20 13:14:11 +0000 |
|---|---|---|
| committer | Drew Fustini <fustini@kernel.org> | 2025-12-18 11:15:11 -0800 |
| commit | 892abfbed71e8e0fc5d6ccee1e975904805c6327 (patch) | |
| tree | d9dcc9df27abfe65e7f8ded29e34c7d586a037c7 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 5f352125f8a0bc906dff8419a2377903012d7f35 (diff) | |
clk: thead: th1520-ap: Poll for PLL lock and wait for stability
All PLLs found on TH1520 SoC take 21250ns at maximum to lock, and their
lock status is indicated by register PLL_STS (offset 0x80 inside AP
clock controller). We should poll the register to ensure the PLL
actually locks after enabling it.
Furthermore, a 30us delay is added after enabling the PLL, after which
the PLL could be considered stable as stated by vendor clock code.
Fixes: 56a48c1833aa ("clk: thead: add support for enabling/disabling PLLs")
Reviewed-by: Drew Fustini <fustini@kernel.org>
Signed-off-by: Yao Zi <ziyao@disroot.org>
Signed-off-by: Drew Fustini <fustini@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
