Skip to content

Commit 76270a1

Browse files
André Apitzschandersson
authored andcommitted
arm64: dts: qcom: msm8976: Make blsp_dma controlled-remotely
The blsp_dma controller is shared between the different subsystems, which is why it is already initialized by the firmware. We should not reinitialize it from Linux to avoid potential other users of the DMA engine to misbehave. In mainline this can be described using the "qcom,controlled-remotely" property. In the downstream/vendor kernel from Qualcomm there is an opposite "qcom,managed-locally" property. This property is *not* set for the qcom,sps-dma@7884000 and qcom,sps-dma@7ac4000 [1] so adding "qcom,controlled-remotely" upstream matches the behavior of the downstream/vendor kernel. Adding this fixes booting Longcheer L9360. [1]: https://git.codelinaro.org/clo/la/kernel/msm-3.10/-/blob/LA.BR.1.3.7.c26/arch/arm/boot/dts/qcom/msm8976.dtsi#L1149-1163 Fixes: 0484d3c ("arm64: dts: qcom: Add DTS for MSM8976 and MSM8956 SoCs") Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: André Apitzsch <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 7bd7209 commit 76270a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/boot/dts/qcom/msm8976.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,6 +1331,7 @@
13311331
clock-names = "bam_clk";
13321332
#dma-cells = <1>;
13331333
qcom,ee = <0>;
1334+
qcom,controlled-remotely;
13341335
};
13351336

13361337
blsp1_uart1: serial@78af000 {
@@ -1451,6 +1452,7 @@
14511452
clock-names = "bam_clk";
14521453
#dma-cells = <1>;
14531454
qcom,ee = <0>;
1455+
qcom,controlled-remotely;
14541456
};
14551457

14561458
blsp2_uart2: serial@7af0000 {

0 commit comments

Comments
 (0)