]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arm64: dts: msm8996: Transition smp2p and smd to mailbox
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 28 Aug 2018 05:37:05 +0000 (22:37 -0700)
committerAndy Gross <andy.gross@linaro.org>
Thu, 13 Sep 2018 19:39:05 +0000 (14:39 -0500)
The smd and smp2p drivers now support accessing the APCS GLOBAL IPC
register through the mailbox framework, so migrate the msm8996 dts to
use this and remove the syscon based APCS node.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/msm8996.dtsi

index b4d635bb81acc148beb4cb791d585ab76d8c9ab5..b29fe80d72883f60133b33ce4edc3338779c118f 100644 (file)
                        interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
                };
 
-               apcs: syscon@9820000 {
-                       compatible = "syscon";
-                       reg = <0x9820000 0x1000>;
-               };
-
                apcs_glb: mailbox@9820000 {
                        compatible = "qcom,msm8996-apcs-hmss-global";
                        reg = <0x9820000 0x1000>;
                        interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
 
                        label = "lpass";
-                       qcom,ipc = <&apcs 16 8>;
+                       mboxes = <&apcs_glb 8>;
                        qcom,smd-edge = <1>;
                        qcom,remote-pid = <2>;
                };
 
                interrupts = <0 158 IRQ_TYPE_EDGE_RISING>;
 
-               qcom,ipc = <&apcs 16 10>;
+               mboxes = <&apcs_glb 10>;
 
                qcom,local-pid = <0>;
                qcom,remote-pid = <2>;
 
                interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
 
-               qcom,ipc = <&apcs 16 14>;
+               mboxes = <&apcs_glb 14>;
 
                qcom,local-pid = <0>;
                qcom,remote-pid = <1>;
 
                interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
 
-               qcom,ipc = <&apcs 16 26>;
+               mboxes = <&apcs_glb 26>;
 
                qcom,local-pid = <0>;
                qcom,remote-pid = <3>;