linux/drivers/clk/spacemit
Troy Mitchell d558af8ee0 clk: spacemit: k3: add CPU PLL rate tables
The K3 CPU PLL rate tables currently describe only one rate per PLL,
although the hardware supports a wider range.

PLL3 and PLL4 support rates from 1.05 to 2.4 GHz, while PLL5 and PLL8
support rates from 1.05 to 2 GHz. Populate the tables with every
supported rate in 50 MHz steps.

Fixes: e371a77255 ("clk: spacemit: k3: add the clock tree")
Cc: stable@vger.kernel.org # 7.0+
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Tested-by: Anirudh Srinivasan <asrinivasan@oss.tenstorrent.com>
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Reviewed-by: Yixun Lan <dlan@kernel.org>
Link: https://patch.msgid.link/20260907-k3-pll5-pll8-1800mhz-v5-1-5cc96d716b0a@linux.spacemit.com
Signed-off-by: Yixun Lan <dlan@kernel.org>
History 2026-09-15 00:09:55 +00:00
..
ccu-k1.c clk: spacemit: add platform SoC prefix to reset name 2026-01-09 10:00:52 +08:00
ccu-k3.c clk: spacemit: k3: add CPU PLL rate tables 2026-09-15 00:09:55 +00:00
ccu_common.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ccu_common.h clk: spacemit: ccu_pll: add plla type clock 2026-01-09 10:29:10 +08:00
ccu_ddn.c clk: spacemit: Respect Kconfig setting when building modules 2025-12-23 10:28:28 +08:00
ccu_ddn.h clk: spacemit: introduce pre-div for ddn clock 2025-09-19 22:54:44 -07:00
ccu_mix.c clk: spacemit: ccu_mix: fix inverted condition in ccu_mix_trigger_fc() 2026-03-24 06:42:29 +00:00
ccu_mix.h clk: spacemit: ccu_mix: add inverted enable gate clock 2026-01-09 10:27:53 +08:00
ccu_pll.c clk: spacemit: ccu_pll: add plla type clock 2026-01-09 10:29:10 +08:00
ccu_pll.h clk: spacemit: ccu_pll: add plla type clock 2026-01-09 10:29:10 +08:00
Kconfig clk: spacemit: k3: add the clock tree 2026-01-09 10:48:17 +08:00
Makefile clk: spacemit: k3: add the clock tree 2026-01-09 10:48:17 +08:00