From: Rohit Agarwal <quic_rohiagar@quicinc.com>
To: Konrad Dybcio <konrad.dybcio@linaro.org>,
Pavan Kondeti <quic_pkondeti@quicinc.com>
Cc: <agross@kernel.org>, <andersson@kernel.org>, <robh+dt@kernel.org>,
<krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>,
<linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/3] dt-bindings: power: rpmpd: Add Generic RPM(h) PD indexes
Date: Thu, 6 Jul 2023 20:45:11 +0530 [thread overview]
Message-ID: <2d0b3769-ca87-3e18-160d-604c24fac52d@quicinc.com> (raw)
In-Reply-To: <b7376555-3ffd-3587-bc91-6c407c43e72e@linaro.org>
On 7/6/2023 8:30 PM, Konrad Dybcio wrote:
> On 6.07.2023 16:47, Rohit Agarwal wrote:
>> On 7/6/2023 8:00 PM, Pavan Kondeti wrote:
>>> On Thu, Jul 06, 2023 at 06:19:51PM +0530, Rohit Agarwal wrote:
>>>> Add Generic RPM(h) Power Domain indexes that can be used
>>>> for all the Qualcomm SoC henceforth.
>>>>
>>>> Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com>
>>>> Suggested-by: Konrad Dybcio <konrad.dybcio@linaro.org>
>>> Does it make sense to give this link [1] so that we know what is
>>> Konrad's suggestion and the discussion around it?
>>>
>>> [1]
>>> https://lore.kernel.org/all/0d468d08-6410-e424-b4f3-5245cdb0334a@linaro.org/
>> Yes, could be given in the cover letter.
>>>> ---
> [...]
>
>>>> +#define RPMPD_VDDMD 22
>>>> +#define RPMPD_VDDMD_AO 23
>>>> +#define RPMPD_LPICX_VFL 24
>>>> +#define RPMPD_LPIMX_VFL 25
>>>> +
>>> How did you come up with this list? A union of all SoCs supported by
>>> RPMh driver?
>> Yes, union of all the SoCs and arranged based on frequencies of usage.
> The latter part is very thoughtful, thanks for taking that into account.
>
> That said (and I really don't wanna be picky here, I'm just coming up with
> ideas a bit later than I'd like to).. Perhaps this patch should be limited
> to RPMhPD [1] and the definitions could be moved to a new binding, so:
So should we not update anything in this old binding and completely move
to the new bindings?
rpmhpd.h?
Not even rpmpd_* bindings?
Thanks,
Rohit.
> include/dt-bindings/power/qcom,rpmhpd.h
> // this way we don't have to add RPMHPD_
> #define CX 0
Ok, will remove this as well.
> which would result in us being able to do:
>
> #include ....rpmhpd.h
> [...]
> power-domains = <&rpmhpd CX>;
>
> in the device tree
>
> which is even more concise!
Yes
Thanks,
Rohit.
>
> [1] The old RPM SMD platforms have some duplications in the names..
> No point in duplicating that. The oldest entries remember 2013 so
> it's easy to see how we had some dirt build up there.
>
> Konrad
>> Thanks,
>> Rohit.
>>>> /* SA8775P Power Domain Indexes */
>>>> #define SA8775P_CX 0
>>>> #define SA8775P_CX_AO 1
>>>> --
>>>> 2.7.4
>>>>
>>> Thanks,
>>> Pavan
next prev parent reply other threads:[~2023-07-06 15:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-06 12:49 [PATCH 0/3] Add support of rpmhpd for SDX75 Rohit Agarwal
2023-07-06 12:49 ` [PATCH 1/3] dt-bindings: power: rpmpd: Add Generic RPM(h) PD indexes Rohit Agarwal
2023-07-06 14:30 ` Pavan Kondeti
2023-07-06 14:47 ` Rohit Agarwal
2023-07-06 15:00 ` Konrad Dybcio
2023-07-06 15:15 ` Rohit Agarwal [this message]
2023-07-06 15:22 ` Konrad Dybcio
2023-07-06 15:28 ` Rohit Agarwal
2023-07-06 14:36 ` Krzysztof Kozlowski
2023-07-06 14:42 ` Rohit Agarwal
2023-07-06 12:49 ` [PATCH 2/3] dt-bindings: power: Add compatible for sdx75 Rohit Agarwal
2023-07-06 12:49 ` [PATCH 3/3] soc: qcom: rpmhpd: Add SDX75 power domains Rohit Agarwal
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=2d0b3769-ca87-3e18-160d-604c24fac52d@quicinc.com \
--to=quic_rohiagar@quicinc.com \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=quic_pkondeti@quicinc.com \
--cc=robh+dt@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®