瀏覽代碼

arm64: dts: qcom: sdm845-mtp: Mark protected gcc clocks

As of v4.20-rc1 probing the GCC driver on a SDM845 device with the
standard security implementation causes an access violation and an
immediate system restart. Use the protected-clocks property to mark the
offending clocks protected for the MTP, in order to allow it to boot.

Cc: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Bjorn Andersson 6 年之前
父節點
當前提交
d206e6b7ea
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      arch/arm64/boot/dts/qcom/sdm845-mtp.dts

+ 6 - 0
arch/arm64/boot/dts/qcom/sdm845-mtp.dts

@@ -343,6 +343,12 @@
 	};
 };
 
+&gcc {
+	protected-clocks = <GCC_QSPI_CORE_CLK>,
+			   <GCC_QSPI_CORE_CLK_SRC>,
+			   <GCC_QSPI_CNOC_PERIPH_AHB_CLK>;
+};
+
 &i2c10 {
 	status = "okay";
 	clock-frequency = <400000>;