From: Stephan Gerhold <stephan@gerhold.net>
To: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
robdclark@gmail.com, quic_abhinavk@quicinc.com,
dmitry.baryshkov@linaro.org, sean@poorly.run, airlied@linux.ie,
daniel@ffwll.ch, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org,
linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
bjorn.andersson@linaro.org, quic_mkrishn@quicinc.com,
swboyd@chromium.org, freedreno@lists.freedesktop.org
Subject: Re: [Freedreno] [PATCH 3/7] dt-bindings: msm: dsi: Fix power-domains constraint
Date: Thu, 30 Jun 2022 22:18:13 +0200 [thread overview]
Message-ID: <Yr4E+AsXRBZuYCpx@gerhold.net> (raw)
In-Reply-To: <054043a5-3643-aa5b-4204-8cacb7b3ae9a@linaro.org>
On Thu, Jun 30, 2022 at 08:49:03PM +0100, Bryan O'Donoghue wrote:
> On 30/06/2022 20:01, Krzysztof Kozlowski wrote:
> > On 30/06/2022 14:08, Bryan O'Donoghue wrote:
> > > The existing msm8916.dtsi does not depend on nor require power-domains.
> > > Drop from the list of required.
> >
> > That's not good reason. The bindings are about hardware so the question
> > is whether being a part of power domain or toggling power domain on/off
> > is considered required for the DSI.
>
> AFAIK no but, I will check this again and if it is definitely not required,
> I'll churn the commit log to describe it better.
>
The power domain in the DSI node is used together with the OPP table to
vote for performance states depending on the clock frequency of the byte
clock. In the downstream kernel this is part of the clock driver.
In mainline this needs to be done in the consumer driver.
The MSM8916 port was never really optimized for power usage. With
incomplete interconnect support etc the power domains tend to be at
maximum state most of the time, so it does not cause any issues if you
forget to vote for performance states in some places.
In general, the situation on MSM8916/MSM8939 is not really any different
from newer SoCs. The downstream MSM8916 gcc driver contains:
static struct rcg_clk byte0_clk_src = {
/* ... */
.c = {
/* ... */
VDD_DIG_FMAX_MAP2(LOW, 94400000, NOMINAL, 188500000),
},
};
which should be ideally translated into an OPP table with
power-domains = <&rpmpd MSM8916_VDDCX>; similar to newer SoCs.
(I'm not saying that "power-domains" should be required, just that it
could be added for MSM8916/MSM8939 if someone wants to properly
power-optimize them...)
Thanks,
Stephan
next prev parent reply other threads:[~2022-06-30 20:18 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-30 12:08 [PATCH 0/7] msm8916/msm8939 DSI controller and DSI PHY bindings fixes Bryan O'Donoghue
2022-06-30 12:08 ` [PATCH 1/7] dt-bindings: msm: dsi: Fix phy-name binding Bryan O'Donoghue
2022-06-30 17:06 ` Dmitry Baryshkov
2022-06-30 18:59 ` Krzysztof Kozlowski
2022-07-01 19:57 ` Rob Herring
2022-07-01 20:08 ` Rob Herring
2022-06-30 12:08 ` [PATCH 2/7] dt-bindings: msm: dsi: Fix operating-points-v2 constraint Bryan O'Donoghue
2022-06-30 17:07 ` Dmitry Baryshkov
2022-06-30 19:00 ` Krzysztof Kozlowski
2022-06-30 12:08 ` [PATCH 3/7] dt-bindings: msm: dsi: Fix power-domains constraint Bryan O'Donoghue
2022-06-30 17:15 ` Dmitry Baryshkov
2022-06-30 19:01 ` Krzysztof Kozlowski
2022-06-30 19:49 ` Bryan O'Donoghue
2022-06-30 20:18 ` Stephan Gerhold [this message]
2022-06-30 12:08 ` [PATCH 4/7] dt-bindings: msm: dsi: Add vdd* descriptions back in Bryan O'Donoghue
2022-06-30 17:16 ` Dmitry Baryshkov
2022-06-30 17:30 ` Bryan O'Donoghue
2022-06-30 19:03 ` Krzysztof Kozlowski
2022-06-30 19:02 ` Krzysztof Kozlowski
2022-06-30 12:08 ` [PATCH 5/7] dt-bindings: msm: dsi: Fix clock declarations Bryan O'Donoghue
2022-06-30 17:21 ` Dmitry Baryshkov
2022-06-30 19:04 ` Krzysztof Kozlowski
2022-06-30 12:08 ` [PATCH 6/7] dt-bindings: msm: dsi: Add missing clocks to 28nm DSI PHY YAML Bryan O'Donoghue
2022-06-30 17:20 ` Dmitry Baryshkov
2022-06-30 19:05 ` Krzysztof Kozlowski
2022-07-06 12:57 ` Dmitry Baryshkov
2022-06-30 12:08 ` [PATCH 7/7] dt-bindings: msm: dsi: Add missing qcom,dsi-phy-regulator-ldo-mode Bryan O'Donoghue
2022-06-30 17:18 ` Dmitry Baryshkov
2022-06-30 19:07 ` Krzysztof Kozlowski
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=Yr4E+AsXRBZuYCpx@gerhold.net \
--to=stephan@gerhold.net \
--cc=airlied@linux.ie \
--cc=bjorn.andersson@linaro.org \
--cc=bryan.odonoghue@linaro.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=quic_abhinavk@quicinc.com \
--cc=quic_mkrishn@quicinc.com \
--cc=robdclark@gmail.com \
--cc=robh+dt@kernel.org \
--cc=sean@poorly.run \
--cc=swboyd@chromium.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