]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: qcom: sm8350: Reenable crypto & cryptobam
authorLuca Weiss <luca.weiss@fairphone.com>
Wed, 12 Feb 2025 17:03:47 +0000 (18:03 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 13 Mar 2025 21:30:21 +0000 (16:30 -0500)
commit75eefd474469abf95aa9ef6da8161d69f86b98b4
tree94ba248e34f8ce8973516092cdf098bec4c77c86
parent0bbdfaa204ce673570e41fe71d4f571a82c7b04d
arm64: dts: qcom: sm8350: Reenable crypto & cryptobam

When num-channels and qcom,num-ees is not provided in devicetree, the
driver will try to read these values from the registers during probe but
this fails if the interconnect is not on and then crashes the system.

So we can provide these properties in devicetree (queried after patching
BAM driver to enable the necessary interconnect) so we can probe
cryptobam without reading registers and then also use the QCE as
expected.

Fixes: 4d29db204361 ("arm64: dts: qcom: sm8350: fix BAM DMA crash and reboot")
Fixes: f1040a7fe8f0 ("arm64: dts: qcom: sm8350: Add Crypto Engine support")
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Link: https://lore.kernel.org/r/20250212-bam-dma-fixes-v1-1-f560889e65d8@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8350.dtsi