From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Marijn Suijten <marijn.suijten@somainline.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] arm64: dts: qcom: sm8550: Add missing RPMhPD OPP levels
Date: Wed, 17 May 2023 15:25:53 +0200 [thread overview]
Message-ID: <d6bc4b56-3a0c-44f4-2e21-ff07c69100a6@linaro.org> (raw)
In-Reply-To: <CAA8EJppaZSXeRP661g65WtadZAuJo1T8=Yk8AfX6n4Jg04BvZA@mail.gmail.com>
On 17.05.2023 15:25, Dmitry Baryshkov wrote:
> On Wed, 17 May 2023 at 16:20, Konrad Dybcio <konrad.dybcio@linaro.org> wrote:
>>
>> We need more granularity for things like the GPU. Add the missing levels.
>>
>> This unfortunately requires some re-indexing, resulting in an ugly diff.
>>
>> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
>> ---
>> arch/arm64/boot/dts/qcom/sm8550.dtsi | 36 ++++++++++++++++++++++++++++--------
>> 1 file changed, 28 insertions(+), 8 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi
>> index 6e9bad8f6f33..0c987dd4e4e5 100644
>> --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi
>> @@ -3616,35 +3616,55 @@ rpmhpd_opp_min_svs: opp2 {
>> opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
>> };
>>
>> - rpmhpd_opp_low_svs: opp3 {
>> + rpmhpd_opp_lov_svs_d2: opp3 {
>> + opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D2>;
>> + };
>>
>
> Maybe we should stop using the indices for OPP entries and switch to
> encoding levels instead?
I think we should just retire this and register a hardcoded OPP table
in the .c driver.
Konrad
>
next prev parent reply other threads:[~2023-05-17 13:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-17 13:19 [PATCH 0/3] More RPMhPD levels + sm8550 Konrad Dybcio
2023-05-17 13:19 ` [PATCH 1/3] dt-bindings: power: qcom,rpmpd: add missing RPMH levels Konrad Dybcio
2023-05-17 19:53 ` Krzysztof Kozlowski
2023-05-17 13:19 ` [PATCH 2/3] dt-bindings: power: qcom,rpmpd: Format RPMh levels better Konrad Dybcio
2023-05-17 19:53 ` Krzysztof Kozlowski
2023-05-17 13:19 ` [PATCH 3/3] arm64: dts: qcom: sm8550: Add missing RPMhPD OPP levels Konrad Dybcio
2023-05-17 13:25 ` Dmitry Baryshkov
2023-05-17 13:25 ` Konrad Dybcio [this message]
2023-05-17 13:28 ` Konrad Dybcio
2023-05-17 17:36 ` [PATCH 0/3] More RPMhPD levels + sm8550 Conor Dooley
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=d6bc4b56-3a0c-44f4-2e21-ff07c69100a6@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marijn.suijten@somainline.org \
--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;
as well as URLs for NNTP newsgroup(s).