]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: spacemit: fix sspax_clk
authorTroy Mitchell <troy.mitchell@linux.spacemit.com>
Mon, 11 Aug 2025 13:40:34 +0000 (21:40 +0800)
committerYixun Lan <dlan@gentoo.org>
Sun, 24 Aug 2025 07:42:31 +0000 (15:42 +0800)
commitc536e00d58dc8db3e1e430a8e6830bc22d2a38e3
tree667da05d32d74b8e23abf26422bf88bf8a7bd200
parent7d50d9bf1cd00d6bab0abf3b01d5d261aa6a2b04
clk: spacemit: fix sspax_clk

Hardware Requirement:

BIT[3] of this register must be set if need to select i2s_bclk as
SSPA parent clock, to solve this, introduces a new SSPAx_I2S_BCLK
clock as the virtual gate clock.

Fixes: 1b72c59db0add ("clk: spacemit: Add clock support for SpacemiT K1 SoC")
Suggested-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Haylen Chu <heylenay@4d2.org>
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Link: https://lore.kernel.org/r/20250811-k1-clk-i2s-v5-2-ebadd06e1e91@linux.spacemit.com
Signed-off-by: Yixun Lan <dlan@gentoo.org>
drivers/clk/spacemit/ccu-k1.c