2024-04-24 16:26:15

by Luca Weiss

[permalink] [raw]
Subject: [PATCH 5/7] arm64: dts: qcom: msm8953: Use mboxes properties for APCS

Instead of passing the syscon to the various nodes, use the mbox
interface using the mboxes property.

Signed-off-by: Luca Weiss <[email protected]>
---
arch/arm64/boot/dts/qcom/msm8953.dtsi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi
index f1011bb641c6..650ad75923f8 100644
--- a/arch/arm64/boot/dts/qcom/msm8953.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi
@@ -195,7 +195,7 @@ rpm: remoteproc {

smd-edge {
interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
- qcom,ipc = <&apcs 8 0>;
+ mboxes = <&apcs 0>;
qcom,smd-edge = <15>;

rpm_requests: rpm-requests {
@@ -361,7 +361,7 @@ smp2p-modem {

interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>;

- qcom,ipc = <&apcs 8 14>;
+ mboxes = <&apcs 14>;

qcom,local-pid = <0>;
qcom,remote-pid = <1>;
@@ -386,7 +386,7 @@ smp2p-wcnss {

interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>;

- qcom,ipc = <&apcs 8 18>;
+ mboxes = <&apcs 18>;

qcom,local-pid = <0>;
qcom,remote-pid = <4>;
@@ -1267,7 +1267,7 @@ smd-edge {
interrupts = <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>;

qcom,smd-edge = <0>;
- qcom,ipc = <&apcs 8 12>;
+ mboxes = <&apcs 12>;
qcom,remote-pid = <1>;

label = "modem";
@@ -1734,7 +1734,7 @@ wcnss_iris: iris {
smd-edge {
interrupts = <GIC_SPI 142 IRQ_TYPE_EDGE_RISING>;

- qcom,ipc = <&apcs 8 17>;
+ mboxes = <&apcs 17>;
qcom,smd-edge = <6>;
qcom,remote-pid = <4>;


--
2.44.0



2024-04-24 20:15:36

by Konrad Dybcio

[permalink] [raw]
Subject: Re: [PATCH 5/7] arm64: dts: qcom: msm8953: Use mboxes properties for APCS



On 4/24/24 18:23, Luca Weiss wrote:
> Instead of passing the syscon to the various nodes, use the mbox
> interface using the mboxes property.
>
> Signed-off-by: Luca Weiss <[email protected]>
> ---

Reviewed-by: Konrad Dybcio <[email protected]>

Konrad