]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: qcom: msm8976: Use mboxes properties for APCS
authorLuca Weiss <luca@z3ntu.xyz>
Wed, 24 Apr 2024 16:23:59 +0000 (18:23 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 4 Jun 2024 20:20:52 +0000 (15:20 -0500)
Instead of passing the syscon to the various nodes, use the mbox
interface using the mboxes property.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240424-apcs-mboxes-v1-6-6556c47cb501@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/msm8976.dtsi

index 861c24cc255688a532797e40bc6ec0e6bd9d4641..9b0f6d1f08be939ed273c6dfeda39ec1f5797793 100644 (file)
 
                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 {
        smp2p-hexagon {
                compatible = "qcom,smp2p";
                interrupts = <GIC_SPI 291 IRQ_TYPE_EDGE_RISING>;
-               qcom,ipc = <&apcs 8 10>;
+               mboxes = <&apcs 10>;
 
                qcom,local-pid = <0>;
                qcom,remote-pid = <2>;
        smp2p-modem {
                compatible = "qcom,smp2p";
                interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>;
-               qcom,ipc = <&apcs 8 14>;
+               mboxes = <&apcs 14>;
 
                qcom,local-pid = <0>;
                qcom,remote-pid = <1>;
        smp2p-wcnss {
                compatible = "qcom,smp2p";
                interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>;
-               qcom,ipc = <&apcs 8 18>;
+               mboxes = <&apcs 18>;
 
                qcom,local-pid = <0>;
                qcom,remote-pid = <4>;