From: Viresh Kumar <viresh.kumar@linaro.org>
To: Stephen Boyd <sboyd@codeaurora.org>
Cc: Kevin Hilman <khilman@baylibre.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
Rob Herring <robh@kernel.org>, Rafael Wysocki <rjw@rjwysocki.net>,
"linaro-kernel@lists.linaro.org" <linaro-kernel@lists.linaro.org>,
"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
Lina Iyer <lina.iyer@linaro.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Nayak Rajendra <rnayak@codeaurora.org>
Subject: Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state binding
Date: Tue, 29 Nov 2016 12:27:26 +0530 [thread overview]
Message-ID: <20161129065726.GG3288@vireshk-i7> (raw)
In-Reply-To: <4f815e31-22d0-fef7-953c-257fa2bbcb9d@codeaurora.org>
On 28-11-16, 10:27, Stephen Boyd wrote:
> On 11/23/2016 08:40 PM, Viresh Kumar wrote:
> > But even in these cases we wouldn't be using the voltage values within the
> > kernel as we will be giving only a performance state to the M3 core, right?
>
> Nope. In these cases we need to set a certain voltage and we do that by
> requesting it via the M3 core.
Don't we need something like this then ?
parent: power-controller@12340000 {
compatible = "foo,power-controller";
reg = <0x12340000 0x1000>;
#power-domain-cells = <0>;
domain-performance-states = <&perf_state0>;
};
perf_state0: performance_states {
pstate1: pstate@1 {
index = <1>;
/* Optional */
microvolt = <970000 975000 985000>;
};
pstate2: pstate@2 {
index = <2>;
/* Optional */
microvolt = <970000 975000 985000>;
};
pstate3: pstate@3 {
index = <3>;
/* Optional */
microvolt = <970000 975000 985000>;
};
}
cpus {
cpu@0 {
...
power-domain = <&parent>;
operating-points-v2 = <&cpu0_opp_table>;
};
};
cpu0_opp_table: opp_table0 {
compatible = "operating-points-v2";
opp-shared;
opp@1000000000 {
opp-hz = /bits/ 64 <1000000000>;
domain-performance-state = <&pstate1>;
};
opp@1100000000 {
opp-hz = /bits/ 64 <1100000000>;
domain-performance-state = <&pstate2>;
};
opp@1200000000 {
opp-hz = /bits/ 64 <1200000000>;
domain-performance-state = <&pstate3>;
};
};
--
viresh
next prev parent reply other threads:[~2016-11-29 6:57 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-18 9:23 [PATCH 0/2] PM / Domains / OPP: Introduce domain-performance-state binding Viresh Kumar
2016-11-18 9:23 ` [PATCH 1/2] PM / Domains: " Viresh Kumar
2016-11-21 15:07 ` Rob Herring
2016-11-22 3:17 ` Viresh Kumar
2016-11-22 3:17 ` Viresh Kumar
2016-11-22 18:12 ` Kevin Hilman
2016-11-22 18:34 ` Vincent Guittot
[not found] ` <CAKfTPtDR6Y5UgaqJ+D5T0yBeFRSYWm6OT1+r4ZABrtqtvF2D0w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-11-23 3:22 ` Viresh Kumar
2016-11-23 3:22 ` Viresh Kumar
2016-11-23 15:51 ` Kevin Hilman
2016-11-23 15:51 ` Kevin Hilman
[not found] ` <m2wpfuw5wq.fsf-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2016-11-23 15:55 ` Vincent Guittot
2016-11-23 15:55 ` Vincent Guittot
2016-11-23 22:30 ` Kevin Hilman
2016-11-23 22:30 ` Kevin Hilman
[not found] ` <m2fumhx21h.fsf-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2016-11-24 2:03 ` Stephen Boyd
2016-11-24 2:03 ` Stephen Boyd
2016-11-24 4:40 ` Viresh Kumar
2016-11-28 18:27 ` Stephen Boyd
2016-11-29 6:57 ` Viresh Kumar [this message]
2016-11-30 1:08 ` Stephen Boyd
2016-12-02 10:47 ` Viresh Kumar
[not found] ` <cover.1479459752.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-11-18 9:23 ` [PATCH 2/2] PM / OPP: Introduce domain-performance-state binding to OPP nodes Viresh Kumar
2016-11-18 9:23 ` Viresh Kumar
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=20161129065726.GG3288@vireshk-i7 \
--to=viresh.kumar@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=khilman@baylibre.com \
--cc=lina.iyer@linaro.org \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=rjw@rjwysocki.net \
--cc=rnayak@codeaurora.org \
--cc=robh@kernel.org \
--cc=sboyd@codeaurora.org \
--cc=ulf.hansson@linaro.org \
--cc=vincent.guittot@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.