2024-04-24 16:34:53

by Luca Weiss

[permalink] [raw]
Subject: [PATCH 3/7] arm64: dts: qcom: msm8916: 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/msm8916.dtsi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index cedff4166bfb..46bb322ae133 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -308,7 +308,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 {
@@ -360,7 +360,7 @@ smp2p-hexagon {

interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>;

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

qcom,local-pid = <0>;
qcom,remote-pid = <1>;
@@ -385,7 +385,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>;
@@ -1978,7 +1978,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 = "hexagon";
@@ -2459,7 +2459,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:14:57

by Konrad Dybcio

[permalink] [raw]
Subject: Re: [PATCH 3/7] arm64: dts: qcom: msm8916: 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