Re: [PATCH 09/12] arm64: dts: qcom: sm8150: Use QMP binding to control load state

2021-04-17 Thread Stephen Boyd
Quoting Sibi Sankar (2021-04-16 05:03:55)
> Use the Qualcomm Mailbox Protocol (QMP) binding to control the load
> state resources on SM8150 SoCs and drop deprecated power-domains exposed
> by AOSS QMP node.
> 
> Signed-off-by: Sibi Sankar 
> ---

Reviewed-by: Stephen Boyd 


[PATCH 09/12] arm64: dts: qcom: sm8150: Use QMP binding to control load state

2021-04-16 Thread Sibi Sankar
Use the Qualcomm Mailbox Protocol (QMP) binding to control the load
state resources on SM8150 SoCs and drop deprecated power-domains exposed
by AOSS QMP node.

Signed-off-by: Sibi Sankar 
---
 arch/arm64/boot/dts/qcom/sm8150.dtsi | 28 ++--
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi 
b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index 51235a9521c2..19f6bc268b9d 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -5,7 +5,6 @@
  */
 
 #include 
-#include 
 #include 
 #include 
 #include 
@@ -1040,13 +1039,14 @@
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
 
-   power-domains = <&aoss_qmp AOSS_QMP_LS_SLPI>,
-   <&rpmhpd 3>,
+   power-domains = <&rpmhpd 3>,
<&rpmhpd 2>;
-   power-domain-names = "load_state", "lcx", "lmx";
+   power-domain-names = "lcx", "lmx";
 
memory-region = <&slpi_mem>;
 
+   qcom,qmp = <&aoss_qmp>;
+
qcom,smem-states = <&slpi_smp2p_out 0>;
qcom,smem-state-names = "stop";
 
@@ -1486,13 +1486,14 @@
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
 
-   power-domains = <&aoss_qmp AOSS_QMP_LS_MODEM>,
-   <&rpmhpd 7>,
+   power-domains = <&rpmhpd 7>,
<&rpmhpd 0>;
-   power-domain-names = "load_state", "cx", "mss";
+   power-domain-names = "cx", "mss";
 
memory-region = <&mpss_mem>;
 
+   qcom,qmp = <&aoss_qmp>;
+
qcom,smem-states = <&modem_smp2p_out 0>;
qcom,smem-state-names = "stop";
 
@@ -2110,12 +2111,12 @@
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
 
-   power-domains = <&aoss_qmp AOSS_QMP_LS_CDSP>,
-   <&rpmhpd 7>;
-   power-domain-names = "load_state", "cx";
+   power-domains = <&rpmhpd 7>;
 
memory-region = <&cdsp_mem>;
 
+   qcom,qmp = <&aoss_qmp>;
+
qcom,smem-states = <&cdsp_smp2p_out 0>;
qcom,smem-state-names = "stop";
 
@@ -2339,7 +2340,6 @@
mboxes = <&apss_shared 0>;
 
#clock-cells = <0>;
-   #power-domain-cells = <1>;
};
 
tsens0: thermal-sensor@c263000 {
@@ -2486,12 +2486,12 @@
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
 
-   power-domains = <&aoss_qmp AOSS_QMP_LS_LPASS>,
-   <&rpmhpd 7>;
-   power-domain-names = "load_state", "cx";
+   power-domains = <&rpmhpd 7>;
 
memory-region = <&adsp_mem>;
 
+   qcom,qmp = <&aoss_qmp>;
+
qcom,smem-states = <&adsp_smp2p_out 0>;
qcom,smem-state-names = "stop";
 
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project