arm64: dts: msm8916: Correct ipc references for smsm
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 1 Dec 2017 05:27:32 +0000 (21:27 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Feb 2018 14:42:17 +0000 (15:42 +0100)
commit 566bd8902e7fa20bd412ed753e09e89c1c96939c upstream.

SMSM is not symmetrical, the incoming bits from WCNSS are available at
index 6, but the outgoing host id for WCNSS is 3. Further more, upstream
references the base of APCS (in contrast to downstream), so the register
offset of 8 must be included.

Fixes: 1fb47e0a9ba4 ("arm64: dts: qcom: msm8916: Add smsm and smp2p nodes")
Cc: stable@vger.kernel.org
Reported-by: Ramon Fried <rfried@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/qcom/msm8916.dtsi

index dc38175..8e5421a 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
-               qcom,ipc-1 = <&apcs 0 13>;
-               qcom,ipc-6 = <&apcs 0 19>;
+               qcom,ipc-1 = <&apcs 8 13>;
+               qcom,ipc-3 = <&apcs 8 19>;
 
                apps_smsm: apps@0 {
                        reg = <0>;