diff options
authorJohn Stultz <john.stultz@linaro.org>2021-01-11 20:24:38 +0000
committerJohn Stultz <john.stultz@linaro.org>2021-02-15 19:03:45 +0000
commit63f2d4c1071daa13262457f0a0f2651b556968fb (patch)
parent02218d951f46e533c6e51af0323c137b462a4574 (diff)
ANDROID: Workaround for cryptobam driver not working with modular clk driversdev/db845c-v5.11
Bjorn reported the cryptobam driver which landed in 5.11-rc1 causes hard crashes on bootup with db845c, due to the bam_clk failing to load if its a module. Unfortunately in some cases the driver expects to see null clks, so that's not considered a failure, but accessing the hardware without the clk causes a hard crash. For now, disable the cryptobam node to avoid this crash while fixups are sorted out upstream. Fixes: 3e482859f1ef ("dts: qcom: sdm845: Add dt entries to support crypto engine.") Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I42f56f9894fb3c7773d03cf133fa68b6748a6226
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index bcf888381f14..d300cb95fd72 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -2313,6 +2313,7 @@
<&apps_smmu 0x706 0x1>,
<&apps_smmu 0x714 0x1>,
<&apps_smmu 0x716 0x1>;
+ status = "disabled";
crypto: crypto@1dfa000 {