[PATCH 5/6] arm64: dts: qcom: starqltechn: disable crypto

From: Dzmitry Sankouski
Date: Wed Oct 18 2023 - 08:31:05 EST


Disable the crypto block due to it causing an SError in qce_start() on
the starqltechn, which happens upon every boot when cryptomanager tests are
enabled.

Same problem is on Lenovo C630, see
commit 382e3e0eb6a8 ("arm64: dts: qcom: c630: disable crypto due to serror")

Signed-off-by: Dzmitry Sankouski <dsankouski@xxxxxxxxx>
Link: https://lore.kernel.org/r/20211105035235.2392-1-steev@xxxxxxxx
---

arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
index 3bc9ae5f6213..58b765b4c41d 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
@@ -502,6 +502,11 @@ touchscreen@48 {
};
};

+&crypto {
+ /* FIXME: qce_start triggers an SError */
+ status = "disable";
+};
+
/* Modem/wifi*/
&mss_pil {
status = "okay";
--
2.39.2