Re: [PATCH 6/6] clk: qcom: rpmh: add RPMh clocks for Seca

From: Bartosz Golaszewski

Date: Mon Nov 30 2026 - 03:42:36 EST


On Mon, Nov 30, 2026 at 11:55:23AM +0530, Jagadeesh Kona wrote:
>
>
> On 11/27/2026 5:11 PM, Bartosz Golaszewski wrote:
> > Add the RPMh clocks present on the Qualcomm Seca SoC.
> >
> > Co-developed-by: Tyler Baker <tyler.baker@xxxxxxxxxxxxxxxx>
> > Signed-off-by: Tyler Baker <tyler.baker@xxxxxxxxxxxxxxxx>
> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
> > ---
> > drivers/clk/qcom/clk-rpmh.c | 16 ++++++++++++++++
> > 1 file changed, 16 insertions(+)
> >
> > diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c
> > index 68640e5904a6484a37d48124f9d253d15c9602e7..178f39ca3aef8bfffcde2b7065884d1408eb24e1 100644
> > --- a/drivers/clk/qcom/clk-rpmh.c
> > +++ b/drivers/clk/qcom/clk-rpmh.c
> > @@ -994,6 +994,21 @@ static const struct clk_rpmh_desc clk_rpmh_nord = {
> > .num_clks = ARRAY_SIZE(nord_rpmh_clocks),
> > };
> >
> > +static struct clk_hw *seca_rpmh_clocks[] = {
> > + [RPMH_CXO_CLK] = &clk_rpmh_bi_tcxo_div1.hw,
> > + [RPMH_CXO_CLK_A] = &clk_rpmh_bi_tcxo_div1_ao.hw,
> > + [RPMH_LN_BB_CLK2] = &clk_rpmh_ln_bb_clk2_a1.hw,
> > + [RPMH_LN_BB_CLK2_A] = &clk_rpmh_ln_bb_clk2_a1_ao.hw,
> > + [RPMH_LN_BB_CLK3] = &clk_rpmh_ln_bb_clk3_a1.hw,
> > + [RPMH_LN_BB_CLK3_A] = &clk_rpmh_ln_bb_clk3_a1_ao.hw,
> > + [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw,
> > +};
> > +
> > +static const struct clk_rpmh_desc clk_rpmh_seca = {
> > + .clks = seca_rpmh_clocks,
> > + .num_clks = ARRAY_SIZE(seca_rpmh_clocks),
> > +};
> > +
>
> I see the clocks list is same as nord, so can we please use nord as the fallback
> compatible for seca, similar to how maili reuses the hawi clocks and this change
> can be dropped.
>

I think a separate compatible without a fallback is better, if aything
we can reuse nord_rpmh_clocks list for this compatible?

Bart