From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lina Iyer Subject: Re: [PATCH v6 2/5] arm: dts: qcom: Add SPM device bindings for 8974 Date: Wed, 24 Sep 2014 07:49:39 -0600 Message-ID: <20140924134939.GA422@ilina-mac> References: <1411516281-58328-1-git-send-email-lina.iyer@linaro.org> <1411516281-58328-3-git-send-email-lina.iyer@linaro.org> <5422621E.2050509@smartplayin.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Return-path: Content-Disposition: inline In-Reply-To: <5422621E.2050509@smartplayin.com> Sender: linux-pm-owner@vger.kernel.org To: Pramod Gurav Cc: galak@codeaurora.org, sboyd@codeaurora.org, daniel.lezcano@linaro.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, khilman@linaro.org, msivasub@codeaurora.org, lorenzo.pieralisi@arm.com, linux-pm@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org On Wed, Sep 24 2014 at 00:14 -0600, Pramod Gurav wrote: >Hi Lina, > >On Wednesday 24 September 2014 05:21 AM, Lina Iyer wrote: >> Add SPM device bindings for QCOM 8974 based cpus. SPM is the sub-system >> power manager and controls the logic around the cores (cpu and L2). >> >> Each core has an instance of SPM and controls only that core. Each cpu >> SPM is configured to support WFI and SPC (standalone-power collapse). >> >> Signed-off-by: Lina Iyer >> --- >> arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 69 ++++++++++++++++++++++++++++++++++ >> arch/arm/boot/dts/qcom-msm8974.dtsi | 10 +++-- >> 2 files changed, 75 insertions(+), 4 deletions(-) >> create mode 100644 arch/arm/boot/dts/qcom-msm8974-pm.dtsi > > > >> +}; >> diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi >> index 69dca2a..0580bc2 100644 >> --- a/arch/arm/boot/dts/qcom-msm8974.dtsi >> +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi >> @@ -14,7 +14,7 @@ >> #size-cells = <0>; >> interrupts = <1 9 0xf04>; >> >> - cpu@0 { >> + CPU0: cpu@0 { >Lina, Stephen boyd has sent some DT change for krait-cpufreq which also >renames this node to "cpu0: cpu@0". If you both could sync up and agree >on a common naming('cpu0' with caps or not caps) for this node. > Sure. Will work with Stephen on that. >Best Regards >Pramod > >> compatible = "qcom,krait"; >> enable-method = "qcom,kpss-acc-v2"; >> device_type = "cpu"; >> @@ -23,7 +23,7 @@ >> qcom,acc = <&acc0>; >> }; >> >> - cpu@1 { >> + CPU1: cpu@1 { >Ditto >> compatible = "qcom,krait"; >> enable-method = "qcom,kpss-acc-v2"; >> device_type = "cpu"; >> @@ -32,7 +32,7 @@ >> qcom,acc = <&acc1>; >> }; >> >> - cpu@2 { >> + CPU2: cpu@2 { >Ditto >> compatible = "qcom,krait"; >> enable-method = "qcom,kpss-acc-v2"; >> device_type = "cpu"; >> @@ -41,7 +41,7 @@ >> qcom,acc = <&acc2>; >> }; >> >> - cpu@3 { >> + CPU3: cpu@3 { >Ditto >> compatible = "qcom,krait"; >> enable-method = "qcom,kpss-acc-v2"; >> device_type = "cpu"; >> @@ -238,3 +238,5 @@ >> }; >> }; >> }; >> + >> +#include "qcom-msm8974-pm.dtsi" >> From mboxrd@z Thu Jan 1 00:00:00 1970 From: lina.iyer@linaro.org (Lina Iyer) Date: Wed, 24 Sep 2014 07:49:39 -0600 Subject: [PATCH v6 2/5] arm: dts: qcom: Add SPM device bindings for 8974 In-Reply-To: <5422621E.2050509@smartplayin.com> References: <1411516281-58328-1-git-send-email-lina.iyer@linaro.org> <1411516281-58328-3-git-send-email-lina.iyer@linaro.org> <5422621E.2050509@smartplayin.com> Message-ID: <20140924134939.GA422@ilina-mac> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Sep 24 2014 at 00:14 -0600, Pramod Gurav wrote: >Hi Lina, > >On Wednesday 24 September 2014 05:21 AM, Lina Iyer wrote: >> Add SPM device bindings for QCOM 8974 based cpus. SPM is the sub-system >> power manager and controls the logic around the cores (cpu and L2). >> >> Each core has an instance of SPM and controls only that core. Each cpu >> SPM is configured to support WFI and SPC (standalone-power collapse). >> >> Signed-off-by: Lina Iyer >> --- >> arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 69 ++++++++++++++++++++++++++++++++++ >> arch/arm/boot/dts/qcom-msm8974.dtsi | 10 +++-- >> 2 files changed, 75 insertions(+), 4 deletions(-) >> create mode 100644 arch/arm/boot/dts/qcom-msm8974-pm.dtsi > > > >> +}; >> diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi >> index 69dca2a..0580bc2 100644 >> --- a/arch/arm/boot/dts/qcom-msm8974.dtsi >> +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi >> @@ -14,7 +14,7 @@ >> #size-cells = <0>; >> interrupts = <1 9 0xf04>; >> >> - cpu at 0 { >> + CPU0: cpu at 0 { >Lina, Stephen boyd has sent some DT change for krait-cpufreq which also >renames this node to "cpu0: cpu at 0". If you both could sync up and agree >on a common naming('cpu0' with caps or not caps) for this node. > Sure. Will work with Stephen on that. >Best Regards >Pramod > >> compatible = "qcom,krait"; >> enable-method = "qcom,kpss-acc-v2"; >> device_type = "cpu"; >> @@ -23,7 +23,7 @@ >> qcom,acc = <&acc0>; >> }; >> >> - cpu at 1 { >> + CPU1: cpu at 1 { >Ditto >> compatible = "qcom,krait"; >> enable-method = "qcom,kpss-acc-v2"; >> device_type = "cpu"; >> @@ -32,7 +32,7 @@ >> qcom,acc = <&acc1>; >> }; >> >> - cpu at 2 { >> + CPU2: cpu at 2 { >Ditto >> compatible = "qcom,krait"; >> enable-method = "qcom,kpss-acc-v2"; >> device_type = "cpu"; >> @@ -41,7 +41,7 @@ >> qcom,acc = <&acc2>; >> }; >> >> - cpu at 3 { >> + CPU3: cpu at 3 { >Ditto >> compatible = "qcom,krait"; >> enable-method = "qcom,kpss-acc-v2"; >> device_type = "cpu"; >> @@ -238,3 +238,5 @@ >> }; >> }; >> }; >> + >> +#include "qcom-msm8974-pm.dtsi" >>