[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAA8EJpq5XLQ8WXVxr+3=DZ58URpfqM2phcWVhukpmc_HnRsRfQ@mail.gmail.com>
Date: Wed, 24 Jul 2024 10:13:23 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Varadarajan Narayanan <quic_varada@...cinc.com>
Cc: Konrad Dybcio <konrad.dybcio@...aro.org>, vireshk@...nel.org, nm@...com,
sboyd@...nel.org, robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
angelogioacchino.delregno@...labora.com, andersson@...nel.org,
mturquette@...libre.com, ilia.lin@...nel.org, rafael@...nel.org,
ulf.hansson@...aro.org, quic_sibis@...cinc.com, quic_rjendra@...cinc.com,
quic_rohiagar@...cinc.com, abel.vesa@...aro.org, otto.pflueger@...cue.de,
danila@...xyga.com, quic_ipkumar@...cinc.com, luca@...tu.xyz,
stephan.gerhold@...nkonzept.com, nks@...wful.org, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org
Subject: Re: [PATCH v4 05/10] pmdomain: qcom: rpmpd: Add IPQ9574 power domains
On Wed, 24 Jul 2024 at 07:27, Varadarajan Narayanan
<quic_varada@...cinc.com> wrote:
>
> On Tue, Jul 09, 2024 at 11:52:19AM +0200, Konrad Dybcio wrote:
> > On 3.07.2024 11:16 AM, Varadarajan Narayanan wrote:
> > > From: Praveenkumar I <quic_ipkumar@...cinc.com>
> > >
> > > Add the APC power domain definitions used in IPQ9574.
> > >
> > > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
> > > Signed-off-by: Praveenkumar I <quic_ipkumar@...cinc.com>
> > > Signed-off-by: Varadarajan Narayanan <quic_varada@...cinc.com>
> > > ---
> > > v4: Add Reviewed-by: Dmitry Baryshkov
> > > v3: Fix patch author
> > > v2: Fix Signed-off-by order
> > > ---
> > > drivers/pmdomain/qcom/rpmpd.c | 19 +++++++++++++++++++
> > > 1 file changed, 19 insertions(+)
> > >
> > > diff --git a/drivers/pmdomain/qcom/rpmpd.c b/drivers/pmdomain/qcom/rpmpd.c
> > > index 5e6280b4cf70..947d6a9c3897 100644
> > > --- a/drivers/pmdomain/qcom/rpmpd.c
> > > +++ b/drivers/pmdomain/qcom/rpmpd.c
> > > @@ -38,6 +38,7 @@ static struct qcom_smd_rpm *rpmpd_smd_rpm;
> > > #define KEY_FLOOR_CORNER 0x636676 /* vfc */
> > > #define KEY_FLOOR_LEVEL 0x6c6676 /* vfl */
> > > #define KEY_LEVEL 0x6c766c76 /* vlvl */
> > > +#define RPM_KEY_UV 0x00007675 /* "uv" */
> >
> > The "uv" key is handled in qcom_smd-regulator.c.. I'm assuming on this
> > platform, it accepts level idx instead of the regulator properties
> > and this is intentional?
>
> IPQ9574 RPM accepts regulator properties (uv) and not the level idx.
> Hence added the "uv" key in the rpmpd.c
Does it expect the actual voltage? If so, then it is not a power
domain and it should be modelled as a regulator instead.
--
With best wishes
Dmitry
Powered by blists - more mailing lists