Re: [PATCH 5/7] ARM: dts: qcom: msm8226: Add CPU frequency scaling support

From: Luca Weiss
Date: Thu Jun 20 2024 - 17:27:41 EST


On Donnerstag, 20. Juni 2024 22:54:37 MESZ Dmitry Baryshkov wrote:
> On Wed, Jun 19, 2024 at 11:02:49PM GMT, Luca Weiss wrote:
> > Add a node for the a7pll with its frequencies. With this we can use the
> > apcs-kpss-global driver for the apcs node and use the apcs to scale the
> > CPU frequency according to the opp-table.
> >
> > At the same time unfortunately we need to provide the gcc node xo_board
> > instead of the XO via rpmcc since otherwise we'll have a circular
> > dependency between apcs, gcc and the rpm.
>
> But it should be fine, isn't it? Clock controllers can handle orphaned
> clocks.
>
> The xo_board is really a hack and should eventually be removed.

I can check again what happened but pretty sure there were some issues with
this still being rpmcc.

But there were also some clock issues with apcs-as-syscon usage (that's
the main reason for my influx of patches regarding this topic), so maybe
with the apcs one solved that one's also fine.

I'll check again!

>
> >
> > Signed-off-by: Luca Weiss <luca@xxxxxxxxxxxx>
> > ---
>
>