diff options
| author | Stefan Dösinger <stefandoesinger@gmail.com> | 2026-09-27 23:13:36 +0300 |
|---|---|---|
| committer | Brian Masney <bmasney@redhat.com> | 2026-10-26 19:45:50 -0400 |
| commit | f29a49c216a8fb90afa5d450011a7a3e716f98ef (patch) | |
| tree | 12d724ec74fcd5d0f0d70a114b898b2d0e403b72 /include/linux/timerqueue.h | |
| parent | 04b24f1dca694aa73a09102c8a19a766207381ed (diff) | |
clk: zte: Add zx PLL support infrastructure
This patch adds code to decode and program PLL settings on ZTE's
zx297520v3 SoC. The PLLs on this SoC are usually programmed to static
values by the boot loader. The only situation where .set_rate matters is
dpll, which is not programmed in some cases. The bootloader always sets
fixed rates though: 624 MHz for mpll, 200 for gpll, 480 for upll.
Parsing the bootloader-programmed values allows the clock driver to fill
the clock tree with appropriately clocked parent clocks instead of
registering fixed clocks with hardcoded rates.
I only tested the code on zx297520v3. From looking at the hardcoded PLL
values in the old zx296702 / zx296718 code I believe that these PLLs use
the same encoding, so the code added by this patch should be reusable
and the file has a relatively generic name pll-zx.c.
Signed-off-by: Stefan Dösinger <stefandoesinger@gmail.com>
Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
