]> Git Repo - linux.git/commitdiff
arm64: dts: qcom: msm8939: revert use of APCS mbox for RPM
authorFabien Parent <[email protected]>
Wed, 4 Sep 2024 18:26:55 +0000 (11:26 -0700)
committerBjorn Andersson <[email protected]>
Wed, 4 Sep 2024 20:36:17 +0000 (15:36 -0500)
Commit 22e4e43484c4 ("arm64: dts: qcom: msm8939: Use mboxes
properties for APCS") broke the boot on msm8939 platforms.

The issue comes from the SMD driver failing to request the mbox
channel because of circular dependencies:
1. rpm -> apcs1_mbox -> rpmcc (RPM_SMD_XO_CLK_SRC) -> rpm.
2. rpm -> apcs1_mbox -> gcc -> rpmcc (RPM_SMD_XO_CLK_SRC) -> rpm
3. rpm -> apcs1_mbox -> apcs2 -> gcc -> rpmcc (RPM_SMD_XO_CLK_SRC) -> rpm

To fix this issue let's switch back to using the deprecated
qcom,ipc property for the RPM node.

Fixes: 22e4e43484c4 ("arm64: dts: qcom: msm8939: Use mboxes properties for APCS")
Signed-off-by: Fabien Parent <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
arch/arm64/boot/dts/qcom/msm8939.dtsi

index 46d9480cd46456045f8b7ea71a87799e23200d5a..39405713329ba1498477e3916e274db24adacc38 100644 (file)
 
                smd-edge {
                        interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
-                       mboxes = <&apcs1_mbox 0>;
+                       qcom,ipc = <&apcs1_mbox 8 0>;
                        qcom,smd-edge = <15>;
 
                        rpm_requests: rpm-requests {
This page took 0.064943 seconds and 4 git commands to generate.