[PATCH 0/2] Fix Agera PLL config of CAMCC for SM6350 & SM7150

Luca Weiss posted 2 patches 3 months, 2 weeks ago
drivers/clk/qcom/camcc-sm6350.c | 6 +-----
drivers/clk/qcom/camcc-sm7150.c | 6 +-----
2 files changed, 2 insertions(+), 10 deletions(-)
[PATCH 0/2] Fix Agera PLL config of CAMCC for SM6350 & SM7150
Posted by Luca Weiss 3 months, 2 weeks ago
On SM6350 I noticed that CAMCC_MCLK* refuses to turn on (being stuck on
off). The cause seems that PLL2 (of type Agera) is not configured
correctly due to the implementation in clk-alpha-pll.c differing between
downstream (e.g. msm-4.19) and upstream, and therefore the USER_CTL
value is not configured.

While looking around, it looks like camcc-sm7150.c has exactly the same
issue, so fix that one as well.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Luca Weiss (2):
      clk: qcom: camcc-sm6350: Fix PLL config of PLL2
      clk: qcom: camcc-sm7150: Fix PLL config of PLL2

 drivers/clk/qcom/camcc-sm6350.c | 6 +-----
 drivers/clk/qcom/camcc-sm7150.c | 6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)
---
base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
change-id: 20251021-agera-pll-fixups-dad6b12c715a

Best regards,
-- 
Luca Weiss <luca.weiss@fairphone.com>
Re: [PATCH 0/2] Fix Agera PLL config of CAMCC for SM6350 & SM7150
Posted by Bjorn Andersson 3 months, 2 weeks ago
On Tue, 21 Oct 2025 20:08:53 +0200, Luca Weiss wrote:
> On SM6350 I noticed that CAMCC_MCLK* refuses to turn on (being stuck on
> off). The cause seems that PLL2 (of type Agera) is not configured
> correctly due to the implementation in clk-alpha-pll.c differing between
> downstream (e.g. msm-4.19) and upstream, and therefore the USER_CTL
> value is not configured.
> 
> While looking around, it looks like camcc-sm7150.c has exactly the same
> issue, so fix that one as well.
> 
> [...]

Applied, thanks!

[1/2] clk: qcom: camcc-sm6350: Fix PLL config of PLL2
      commit: ab0e13141d679fdffdd3463a272c5c1b10be1794
[2/2] clk: qcom: camcc-sm7150: Fix PLL config of PLL2
      commit: 415aad75c7e5cdb72e0672dc1159be1a99535ecd

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>