All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Vladimir Zapolskiy" <vladimir.zapolskiy@linaro.org>
Cc: linux-clk@vger.kernel.org
Subject: Re: [PATCH 1/2] clk: qcom: Configure SC8280XP Lucid 5LPE PLLs properly
Date: Wed, 25 Nov 2026 21:23:24 +0000	[thread overview]
Message-ID: <sashiko-outbox-234171@kernel.org> (raw)
In-Reply-To: <20261125211315.1437946-2-vladimir.zapolskiy@linaro.org>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] clk: qcom: undeclared CLK_ALPHA_PLL_TYPE_LUCID_5LPE breaks
  SC8280XP build
--

commit af2d395c3773da56bbaeccf0423c38dba914bc64
Author: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>

clk: qcom: Configure SC8280XP Lucid 5LPE PLLs properly

This commit switches the SC8280XP camera, display, and GPU clock
controllers to configure their Lucid 5LPE PLLs with
clk_lucid_5lpe_pll_configure() and use CLK_ALPHA_PLL_TYPE_LUCID_5LPE for
their register offsets.

> diff --git a/drivers/clk/qcom/camcc-sc8280xp.c b/drivers/clk/qcom/camcc-sc8280xp.c
> index b0f1d40d1df5e..d14cb46a19af9 100644
> --- a/drivers/clk/qcom/camcc-sc8280xp.c
> +++ b/drivers/clk/qcom/camcc-sc8280xp.c
> @@ -70,7 +70,7 @@ static struct clk_alpha_pll camcc_pll0 = {
>  	.offset = 0x0,
>  	.vco_table = lucid_vco,
>  	.num_vco = ARRAY_SIZE(lucid_vco),
> -	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_LUCID],
> +	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_LUCID_5LPE],
>  	.clkr = {
>  		.hw.init = &(struct clk_init_data){
>  			.name = "camcc_pll0",

[Severity: High]
Does this fail to build because CLK_ALPHA_PLL_TYPE_LUCID_5LPE is not
defined in drivers/clk/qcom/clk-alpha-pll.h?

The Alpha PLL type enum defines CLK_ALPHA_PLL_TYPE_LUCID (aliased to
CLK_ALPHA_PLL_TYPE_TRION), CLK_ALPHA_PLL_TYPE_LUCID_EVO, and
CLK_ALPHA_PLL_TYPE_LUCID_OLE, but not CLK_ALPHA_PLL_TYPE_LUCID_5LPE.
Replacing CLK_ALPHA_PLL_TYPE_LUCID here and in the remaining PLL and
post-divider definitions across camcc-sc8280xp.c, dispcc-sc8280xp.c, and
gpucc-sc8280xp.c breaks compilation of all three drivers with an
undeclared identifier error.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261125211315.1437946-1-vladimir.zapolskiy@linaro.org?part=1

  reply	other threads:[~2026-11-25 21:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 21:13 [PATCH 0/2] clk: qcom: Configure Lucid 5LPE PLLs properly Vladimir Zapolskiy
2026-11-25 21:13 ` [PATCH 1/2] clk: qcom: Configure SC8280XP " Vladimir Zapolskiy
2026-11-25 21:23   ` sashiko-bot [this message]
2026-11-30 10:58   ` Konrad Dybcio
2026-11-25 21:13 ` [PATCH 2/2] clk: qcom: Configure SM8350 " Vladimir Zapolskiy
2026-11-25 21:21   ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-234171@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=vladimir.zapolskiy@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.