OSDN Git Service

arm64: dts: qcom: sm6350: Add apps_smmu with streamID to SDHCI 1/2 nodes
authorMarijn Suijten <marijn.suijten@somainline.org>
Sun, 30 Oct 2022 07:32:32 +0000 (08:32 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 8 Nov 2022 01:26:24 +0000 (19:26 -0600)
commit7372b944a6ba5ac86628eaacc89ed4f103435cb9
treeaf50ceb1e33f393cf2cde3ec51929c51b0e04acb
parent2904a41c50e408c0a1e90da0045400edb6f155fe
arm64: dts: qcom: sm6350: Add apps_smmu with streamID to SDHCI 1/2 nodes

When enabling the APPS SMMU the mainline driver reconfigures the SMMU
from its bootloader configuration, losing the stream mapping for (among
which) the SDHCI hardware and breaking its ADMA feature.  This feature
can be disabled with:

    sdhci.debug_quirks=0x40

But it is of course desired to have this feature enabled and working
through the SMMU.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Reviewed-by: Luca Weiss <luca.weiss@fairphone.com>
Tested-by: Luca Weiss <luca.weiss@fairphone.com> # sm7225-fairphone-fp4
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221030073232.22726-11-marijn.suijten@somainline.org
arch/arm64/boot/dts/qcom/sm6350.dtsi