From: Maulik Shah <mkshah@codeaurora.org> To: Rob Herring <robh@kernel.org> Cc: swboyd@chromium.org, agross@kernel.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, bjorn.andersson@linaro.org, evgreen@chromium.org, dianders@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, ulf.hansson@linaro.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2 3/6] dt-bindings: soc: qcom: Add RSC power domain specifier Date: Tue, 3 Sep 2019 14:14:17 +0530 Message-ID: <6002b812-b575-85c7-41a4-2b9a200b4ff3@codeaurora.org> (raw) In-Reply-To: <20190827223252.GA26039@bogus> On 8/28/2019 4:02 AM, Rob Herring wrote: > On Fri, Aug 23, 2019 at 01:47:00PM +0530, Maulik Shah wrote: >> In addition to transmitting resource state requests to the remote >> processor, the RSC is responsible for powering off/lowering the >> requirements from CPUs subsystem for the associated hardware like >> buses, clocks, and regulators when all CPUs and cluster is powered down. >> >> The power domain is configured to a low power state and when all the >> CPUs are powered down, the RSC can lower resource state requirements >> and power down the rails that power the CPUs. >> >> Add PM domain specifier property for RSC controller. >> >> Cc: devicetree@vger.kernel.org >> Signed-off-by: Maulik Shah <mkshah@codeaurora.org> >> Reviewed-by: Stephen Boyd <swboyd@chromium.org> >> --- >> Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt b/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt >> index 9b86d1eff219..d0ab6e9b6745 100644 >> --- a/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt >> +++ b/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt >> @@ -83,6 +83,13 @@ Properties: >> Value type: <string> >> Definition: Name for the RSC. The name would be used in trace logs. >> >> +- #power-domain-cells: >> + Usage: optional >> + Value type: <u32> >> + Definition: Number of cells in power domain specifier. Optional for >> + controllers that may be in 'solver' state where they can >> + be in autonomous mode executing low power modes. > What's the value? It's always 0? yes. its value is always 0. i will update definition to mention this in next version. >> + >> Drivers that want to use the RSC to communicate with RPMH must specify their >> bindings as child nodes of the RSC controllers they wish to communicate with. >> >> @@ -112,6 +119,7 @@ TCS-OFFSET: 0xD00 >> <SLEEP_TCS 3>, >> <WAKE_TCS 3>, >> <CONTROL_TCS 1>; >> + #power-domain-cells = <0>; >> }; >> >> Example 2: >> -- >> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation. >> -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
next prev parent reply index Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-08-23 8:16 [PATCH v2 0/6] Add RSC power domain support Maulik Shah 2019-08-23 8:16 ` [PATCH v2 1/6] drivers: qcom: rpmh: fix macro to accept NULL argument Maulik Shah 2019-08-23 8:16 ` [PATCH v2 2/6] drivers: qcom: rpmh: remove rpmh_flush export Maulik Shah 2019-08-23 8:17 ` [PATCH v2 3/6] dt-bindings: soc: qcom: Add RSC power domain specifier Maulik Shah 2019-08-27 22:32 ` Rob Herring 2019-09-03 8:44 ` Maulik Shah [this message] 2019-08-23 8:17 ` [PATCH v2 4/6] drivers: qcom: rpmh-rsc: Add RSC power domain support Maulik Shah 2019-09-05 17:32 ` Stephen Boyd 2020-02-03 13:11 ` Maulik Shah 2019-08-23 8:17 ` [PATCH v2 5/6] arm64: dts: Convert to the hierarchical CPU topology layout for sdm845 Maulik Shah 2019-08-23 8:17 ` [PATCH v2 6/6] arm64: dts: Add rsc power domain " Maulik Shah 2019-09-05 17:33 ` Stephen Boyd 2020-01-21 19:05 ` [PATCH v2 0/6] Add RSC power domain support Matthias Kaehlcke 2020-01-25 15:36 ` Maulik Shah
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=6002b812-b575-85c7-41a4-2b9a200b4ff3@codeaurora.org \ --to=mkshah@codeaurora.org \ --cc=agross@kernel.org \ --cc=bjorn.andersson@linaro.org \ --cc=david.brown@linaro.org \ --cc=devicetree@vger.kernel.org \ --cc=dianders@chromium.org \ --cc=evgreen@chromium.org \ --cc=ilina@codeaurora.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-pm@vger.kernel.org \ --cc=lsrao@codeaurora.org \ --cc=rnayak@codeaurora.org \ --cc=robh@kernel.org \ --cc=swboyd@chromium.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
Linux-PM Archive on lore.kernel.org Archives are clonable: git clone --mirror https://lore.kernel.org/linux-pm/0 linux-pm/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 linux-pm linux-pm/ https://lore.kernel.org/linux-pm \ linux-pm@vger.kernel.org public-inbox-index linux-pm Example config snippet for mirrors Newsgroup available over NNTP: nntp://nntp.lore.kernel.org/org.kernel.vger.linux-pm AGPL code for this site: git clone https://public-inbox.org/public-inbox.git