Commit d9d327f6 authored by Sibi Sankar's avatar Sibi Sankar Committed by Bjorn Andersson

arm64: dts: qcom: sm8150: Use QMP property to control load state

Use the Qualcomm Mailbox Protocol (QMP) property to control the load
state resources on SM8150 SoCs and drop deprecated power-domains exposed
by AOSS QMP node.
Signed-off-by: default avatarSibi Sankar <sibis@codeaurora.org>
Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1631800770-371-9-git-send-email-sibis@codeaurora.org
parent db8e45a8
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include <dt-bindings/dma/qcom-gpi.h> #include <dt-bindings/dma/qcom-gpi.h>
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-aoss-qmp.h>
#include <dt-bindings/power/qcom-rpmpd.h> #include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/soc/qcom,rpmh-rsc.h> #include <dt-bindings/soc/qcom,rpmh-rsc.h>
#include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/clock/qcom,rpmh.h>
...@@ -1729,13 +1728,14 @@ remoteproc_slpi: remoteproc@2400000 { ...@@ -1729,13 +1728,14 @@ remoteproc_slpi: remoteproc@2400000 {
clocks = <&rpmhcc RPMH_CXO_CLK>; clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo"; clock-names = "xo";
power-domains = <&aoss_qmp AOSS_QMP_LS_SLPI>, power-domains = <&rpmhpd 3>,
<&rpmhpd 3>,
<&rpmhpd 2>; <&rpmhpd 2>;
power-domain-names = "load_state", "lcx", "lmx"; power-domain-names = "lcx", "lmx";
memory-region = <&slpi_mem>; memory-region = <&slpi_mem>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&slpi_smp2p_out 0>; qcom,smem-states = <&slpi_smp2p_out 0>;
qcom,smem-state-names = "stop"; qcom,smem-state-names = "stop";
...@@ -2319,13 +2319,14 @@ remoteproc_mpss: remoteproc@4080000 { ...@@ -2319,13 +2319,14 @@ remoteproc_mpss: remoteproc@4080000 {
clocks = <&rpmhcc RPMH_CXO_CLK>; clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo"; clock-names = "xo";
power-domains = <&aoss_qmp AOSS_QMP_LS_MODEM>, power-domains = <&rpmhpd 7>,
<&rpmhpd 7>,
<&rpmhpd 0>; <&rpmhpd 0>;
power-domain-names = "load_state", "cx", "mss"; power-domain-names = "cx", "mss";
memory-region = <&mpss_mem>; memory-region = <&mpss_mem>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&modem_smp2p_out 0>; qcom,smem-states = <&modem_smp2p_out 0>;
qcom,smem-state-names = "stop"; qcom,smem-state-names = "stop";
...@@ -2945,12 +2946,12 @@ remoteproc_cdsp: remoteproc@8300000 { ...@@ -2945,12 +2946,12 @@ remoteproc_cdsp: remoteproc@8300000 {
clocks = <&rpmhcc RPMH_CXO_CLK>; clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo"; clock-names = "xo";
power-domains = <&aoss_qmp AOSS_QMP_LS_CDSP>, power-domains = <&rpmhpd 7>;
<&rpmhpd 7>;
power-domain-names = "load_state", "cx";
memory-region = <&cdsp_mem>; memory-region = <&cdsp_mem>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&cdsp_smp2p_out 0>; qcom,smem-states = <&cdsp_smp2p_out 0>;
qcom,smem-state-names = "stop"; qcom,smem-state-names = "stop";
...@@ -3174,7 +3175,6 @@ aoss_qmp: power-controller@c300000 { ...@@ -3174,7 +3175,6 @@ aoss_qmp: power-controller@c300000 {
mboxes = <&apss_shared 0>; mboxes = <&apss_shared 0>;
#clock-cells = <0>; #clock-cells = <0>;
#power-domain-cells = <1>;
}; };
tsens0: thermal-sensor@c263000 { tsens0: thermal-sensor@c263000 {
...@@ -3321,12 +3321,12 @@ remoteproc_adsp: remoteproc@17300000 { ...@@ -3321,12 +3321,12 @@ remoteproc_adsp: remoteproc@17300000 {
clocks = <&rpmhcc RPMH_CXO_CLK>; clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo"; clock-names = "xo";
power-domains = <&aoss_qmp AOSS_QMP_LS_LPASS>, power-domains = <&rpmhpd 7>;
<&rpmhpd 7>;
power-domain-names = "load_state", "cx";
memory-region = <&adsp_mem>; memory-region = <&adsp_mem>;
qcom,qmp = <&aoss_qmp>;
qcom,smem-states = <&adsp_smp2p_out 0>; qcom,smem-states = <&adsp_smp2p_out 0>;
qcom,smem-state-names = "stop"; qcom,smem-state-names = "stop";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment