]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: qcom: camcc-sm7150: Fix PLL config of PLL2
authorLuca Weiss <luca.weiss@fairphone.com>
Tue, 21 Oct 2025 18:08:55 +0000 (20:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:02:35 +0000 (14:02 +0100)
commit37b8870d96d4daa639f19b7aba5d85e96f3ff16b
tree011a23257e19454064c5d7d7aeeac1197362dcb3
parent680df1f60e027ca06f380b297e25666988f70ae7
clk: qcom: camcc-sm7150: Fix PLL config of PLL2

[ Upstream commit 415aad75c7e5cdb72e0672dc1159be1a99535ecd ]

The 'Agera' PLLs (with clk_agera_pll_configure) do not take some of the
parameters that are provided in the vendor driver. Instead the upstream
configuration should provide the final user_ctl value that is written to
the USER_CTL register.

Fix the config so that the PLL is configured correctly.

Fixes: 9f0532da4226 ("clk: qcom: Add Camera Clock Controller driver for SM7150")
Suggested-by: Taniya Das <taniya.das@oss.qualcomm.com>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251021-agera-pll-fixups-v1-2-8c1d8aff4afc@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/camcc-sm7150.c