arm64: dts: qcom: sm8350: fix BAM DMA crash and reboot
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 26 Jun 2023 14:59:59 +0000 (16:59 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 10 Jul 2023 03:17:15 +0000 (20:17 -0700)
commit4d29db2043610dd70be00a61f26fd64256a2a6c5
tree39795597b10911ce49b94c0434b8082e34da321d
parent9ea2c3fba5c5b78a13bfc51d0999ff0be58baae8
arm64: dts: qcom: sm8350: fix BAM DMA crash and reboot

SM8350 HDK and MTP boards were silently dying and rebooting during BAM
DMA probe, probably during reading BAM_REVISION register:

  [    1.574304] vreg_bob: Setting 3008000-3960000uV
  [    1.576918] bam-dFormat: Log Type - Time(microsec) - Message -
  Optional Info
  Log Type: B - Since Boot(Power On Reset),  D - Delta,  S - Statistic
  S - QC_IMAGE_VERSION_STRING=BOOT.MXF.1.0-00637.1-LAHAINA-1
  S - IMAGE_VARIANT_STRING=SocLahainaLAA
  S - OEM_IMAGE_VERSION_STRING=crm-ubuntu77
  S - Boot Interface: UFS

It seems that BAM DMA is not yet operational, thus mark it as failed and
disable also QCE because it won't work without BAM DMA.

Fixes: f1040a7fe8f0 ("arm64: dts: qcom: sm8350: Add Crypto Engine support")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230626145959.646747-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8350.dtsi