diff mbox series

[v8,5/5] arm64: dts: qcom: sc7280: Enable SoC sleep stats

Message ID 1621596371-26482-6-git-send-email-mkshah@codeaurora.org
State Superseded
Headers show
Series [v8,1/5] dt-bindings: Introduce SoC sleep stats bindings | expand

Commit Message

Maulik Shah May 21, 2021, 11:26 a.m. UTC
Add device node for SoC sleep stats driver which provides various
low power mode stats.

Also update the reg size of aoss_qmp device to 0x400.

Cc: devicetree@vger.kernel.org
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/sc7280.dtsi | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Stephen Boyd May 26, 2021, 11:30 p.m. UTC | #1
Quoting Maulik Shah (2021-05-21 04:26:11)
> Add device node for SoC sleep stats driver which provides various

> low power mode stats.

>

> Also update the reg size of aoss_qmp device to 0x400.

>

> Cc: devicetree@vger.kernel.org

> Signed-off-by: Maulik Shah <mkshah@codeaurora.org>

> ---

>  arch/arm64/boot/dts/qcom/sc7280.dtsi | 7 ++++++-

>  1 file changed, 6 insertions(+), 1 deletion(-)


Same question as in sc7180.

>

> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi

> index 2cc4785..47afca8 100644

> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi

> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi

> @@ -827,7 +827,7 @@

>

>                 aoss_qmp: power-controller@c300000 {

>                         compatible = "qcom,sc7280-aoss-qmp";

> -                       reg = <0 0x0c300000 0 0x100000>;

> +                       reg = <0 0x0c300000 0 0x400>;

>                         interrupts-extended = <&ipcc IPCC_CLIENT_AOP

>                                                      IPCC_MPROC_SIGNAL_GLINK_QMP

>                                                      IRQ_TYPE_EDGE_RISING>;

> @@ -838,6 +838,11 @@

>                         #power-domain-cells = <1>;

>                 };

>

> +               rpmh-sleep-stats@c3f0000 {

> +                       compatible = "qcom,rpmh-sleep-stats";

> +                       reg = <0 0x0c3f0000 0 0x400>;

> +               };

> +

>                 spmi_bus: spmi@c440000 {

>                         compatible = "qcom,spmi-pmic-arb";

>                         reg = <0 0x0c440000 0 0x1100>,

> --

> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member

> of Code Aurora Forum, hosted by The Linux Foundation

>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 2cc4785..47afca8 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -827,7 +827,7 @@ 
 
 		aoss_qmp: power-controller@c300000 {
 			compatible = "qcom,sc7280-aoss-qmp";
-			reg = <0 0x0c300000 0 0x100000>;
+			reg = <0 0x0c300000 0 0x400>;
 			interrupts-extended = <&ipcc IPCC_CLIENT_AOP
 						     IPCC_MPROC_SIGNAL_GLINK_QMP
 						     IRQ_TYPE_EDGE_RISING>;
@@ -838,6 +838,11 @@ 
 			#power-domain-cells = <1>;
 		};
 
+		rpmh-sleep-stats@c3f0000 {
+			compatible = "qcom,rpmh-sleep-stats";
+			reg = <0 0x0c3f0000 0 0x400>;
+		};
+
 		spmi_bus: spmi@c440000 {
 			compatible = "qcom,spmi-pmic-arb";
 			reg = <0 0x0c440000 0 0x1100>,