]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: mediatek: mt8183: Correct parent of CLK_INFRA_SSPM_32K_SELF
authorChen-Yu Tsai <wenst@chromium.org>
Mon, 19 Feb 2024 10:51:24 +0000 (18:51 +0800)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:50 +0000 (18:19 -0400)
commit56b8f242ebaf8e44def4a66067135417431b42f2
tree333d3c5523a862ea60386673437dae2305258b7d
parentde3340533bd68a7b3d6be1841b8eb3fa6c762fe6
clk: mediatek: mt8183: Correct parent of CLK_INFRA_SSPM_32K_SELF

[ Upstream commit a65083fa663a335008e34f65e184041174a9dc7e ]

CLK_INFRA_SSPM_32K_SELF has the "f_f26m_ck" clock assigned as its parent.
This is inconsistent as the clock is part of a group that are all gates
without dividers, and this makes the kernel think it runs at 26 MHz.

After clarification from MediaTek engineers, the correct parent is
actually the system 32 KHz clock.

Fixes: 1eb8d61ac5c9 ("clk: mediatek: mt8183: Add back SSPM related clocks")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20240219105125.956278-1-wenst@chromium.org
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/mediatek/clk-mt8183.c