OSDN Git Service

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)
committerAndy Gross <andy.gross@linaro.org>
Mon, 1 Jan 2018 05:50:11 +0000 (23:50 -0600)
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>
arch/arm64/boot/dts/qcom/msm8916.dtsi

index 09ac5c4..b84c0ca 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>;