From: Lina Iyer <lina.iyer@linaro.org>
To: ulf.hansson@linaro.org, khilman@kernel.org, rjw@rjwysocki.net,
linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Cc: andy.gross@linaro.org, linux-arm-msm@vger.kernel.org,
sboyd@codeaurora.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 14/14] ARM64: dts: Define CPU power domain for MSM8916
Date: Mon, 1 Aug 2016 08:53:03 -0600 [thread overview]
Message-ID: <20160801145303.GH1369@linaro.org> (raw)
In-Reply-To: <1469829385-11511-15-git-send-email-lina.iyer@linaro.org>
On Fri, Jul 29 2016 at 15:57 -0600, Lina Iyer wrote:
>Define power domain and the power states for the domain as defined by
>the PSCI firmware. The 8916 firmware supports OS initiated method of
>powering off the CPU clusters.
>
>Cc: <devicetree@vger.kernel.org>
>Signed-off-by: Lina Iyer <lina.iyer@linaro.org>
>---
> arch/arm64/boot/dts/qcom/msm8916.dtsi | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
>diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
>index 3029773..d122fa1 100644
>--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
>+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
>@@ -64,6 +64,7 @@
> next-level-cache = <&L2_0>;
> enable-method = "psci";
> cpu-idle-states = <&CPU_SPC>;
>+ power-domains = <&CPU_PD>;
> };
>
> CPU1: cpu@1 {
>@@ -73,6 +74,7 @@
> next-level-cache = <&L2_0>;
> enable-method = "psci";
> cpu-idle-states = <&CPU_SPC>;
>+ power-domains = <&CPU_PD>;
> };
>
> CPU2: cpu@2 {
>@@ -82,6 +84,7 @@
> next-level-cache = <&L2_0>;
> enable-method = "psci";
> cpu-idle-states = <&CPU_SPC>;
>+ power-domains = <&CPU_PD>;
> };
>
> CPU3: cpu@3 {
>@@ -91,6 +94,7 @@
> next-level-cache = <&L2_0>;
> enable-method = "psci";
> cpu-idle-states = <&CPU_SPC>;
>+ power-domains = <&CPU_PD>;
> };
>
> L2_0: l2-cache {
>@@ -110,6 +114,29 @@
> };
> };
>
>+ CPU_PD: cpu-pd@0 {
>+ #power-domain-cells = <0>;
>+ domain-idle-states = <&CLUSTER_RET>, <&CLUSTER_PWR_DWN>;
>+ };
>+
>+ cpu-domain-states {
I think, these state nodes should be a child of the psci node.
Mark, do you think, that makes sense?
-- Lina
>+ CLUSTER_RET: domain_ret {
>+ compatible = "arm,idle-state";
>+ arm,psci-suspend-param = <0x1000010>;
>+ entry-latency-us = <500>;
>+ exit-latency-us = <500>;
>+ residency-us = <2000>;
>+ };
>+
>+ CLUSTER_PWR_DWN: domain_gdhs {
>+ compatible = "arm,idle-state";
>+ arm,psci-suspend-param = <0x1000030>;
>+ entry-latency-us = <2000>;
>+ exit-latency-us = <2000>;
>+ residency-us = <6000>;
>+ };
>+ };
>+
> psci {
> compatible = "arm,psci-1.0";
> method = "smc";
>--
>2.7.4
>
prev parent reply other threads:[~2016-08-01 14:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1469829385-11511-1-git-send-email-lina.iyer@linaro.org>
2016-07-29 21:56 ` [PATCH v2 02/14] dt/bindings: update binding for PM domain idle states Lina Iyer
2016-08-01 16:30 ` Rob Herring
2016-08-01 21:00 ` Lina Iyer
2016-08-04 15:24 ` Brendan Jackman
2016-08-04 16:28 ` Lina Iyer
2016-08-04 18:15 ` Brendan Jackman
2016-08-04 19:02 ` Lina Iyer
2016-08-04 21:23 ` Lina Iyer
2016-08-04 15:29 ` Brendan Jackman
2016-07-29 21:56 ` [PATCH v2 13/14] ARM64: dts: Add PSCI cpuidle support for MSM8916 Lina Iyer
2016-07-29 21:56 ` [PATCH v2 14/14] ARM64: dts: Define CPU power domain " Lina Iyer
2016-08-01 14:53 ` Lina Iyer [this message]
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=20160801145303.GH1369@linaro.org \
--to=lina.iyer@linaro.org \
--cc=andy.gross@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=khilman@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=sboyd@codeaurora.org \
--cc=ulf.hansson@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 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).