[PATCH] arm64: dts: msm8996: Transition smp2p and smd to mailbox

2018-08-27 Thread Bjorn Andersson
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 
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 13 -
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi 
b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index cd3865e7a270..21057f957468 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -409,11 +409,6 @@
interrupts = ;
};
 
-   apcs: syscon@982 {
-   compatible = "syscon";
-   reg = <0x982 0x1000>;
-   };
-
apcs_glb: mailbox@982 {
compatible = "qcom,msm8996-apcs-hmss-global";
reg = <0x982 0x1000>;
@@ -1140,7 +1135,7 @@
interrupts = ;
 
label = "lpass";
-   qcom,ipc = < 16 8>;
+   mboxes = <_glb 8>;
qcom,smd-edge = <1>;
qcom,remote-pid = <2>;
};
@@ -1152,7 +1147,7 @@
 
interrupts = <0 158 IRQ_TYPE_EDGE_RISING>;
 
-   qcom,ipc = < 16 10>;
+   mboxes = <_glb 10>;
 
qcom,local-pid = <0>;
qcom,remote-pid = <2>;
@@ -1176,7 +1171,7 @@
 
interrupts = ;
 
-   qcom,ipc = < 16 14>;
+   mboxes = <_glb 14>;
 
qcom,local-pid = <0>;
qcom,remote-pid = <1>;
@@ -1200,7 +1195,7 @@
 
interrupts = ;
 
-   qcom,ipc = < 16 26>;
+   mboxes = <_glb 26>;
 
qcom,local-pid = <0>;
qcom,remote-pid = <3>;
-- 
2.18.0



[PATCH] arm64: dts: msm8996: Transition smp2p and smd to mailbox

2018-08-27 Thread Bjorn Andersson
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 
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 13 -
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi 
b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index cd3865e7a270..21057f957468 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -409,11 +409,6 @@
interrupts = ;
};
 
-   apcs: syscon@982 {
-   compatible = "syscon";
-   reg = <0x982 0x1000>;
-   };
-
apcs_glb: mailbox@982 {
compatible = "qcom,msm8996-apcs-hmss-global";
reg = <0x982 0x1000>;
@@ -1140,7 +1135,7 @@
interrupts = ;
 
label = "lpass";
-   qcom,ipc = < 16 8>;
+   mboxes = <_glb 8>;
qcom,smd-edge = <1>;
qcom,remote-pid = <2>;
};
@@ -1152,7 +1147,7 @@
 
interrupts = <0 158 IRQ_TYPE_EDGE_RISING>;
 
-   qcom,ipc = < 16 10>;
+   mboxes = <_glb 10>;
 
qcom,local-pid = <0>;
qcom,remote-pid = <2>;
@@ -1176,7 +1171,7 @@
 
interrupts = ;
 
-   qcom,ipc = < 16 14>;
+   mboxes = <_glb 14>;
 
qcom,local-pid = <0>;
qcom,remote-pid = <1>;
@@ -1200,7 +1195,7 @@
 
interrupts = ;
 
-   qcom,ipc = < 16 26>;
+   mboxes = <_glb 26>;
 
qcom,local-pid = <0>;
qcom,remote-pid = <3>;
-- 
2.18.0