[v2,3/8] arm64: dts: qcom: qcs404-evb: Mark CDSP clocks protected
diff mbox series

Message ID 20190510043421.31393-4-bjorn.andersson@linaro.org
State New, archived
Headers show
  • Qualcomm QCS404 CDSP improvements and fastrpc
Related show

Commit Message

Bjorn Andersson May 10, 2019, 4:34 a.m. UTC
With the Trustzone based CDSP remoteproc driver these clocks are
controlled elsewhere and as they are not enabled by anything in Linux
the clock framework will turn them off during lateinit.

This results in issues either to later start the CDSP, using the
Trustzone interface, or if the CDSP is already running it will crash.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
 arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff mbox series

diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
index 2c3127167e3c..dc1d7d5d21a4 100644
--- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
@@ -56,6 +56,13 @@ 
+&gcc {
+	protected-clocks = <GCC_BIMC_CDSP_CLK>,
+			   <GCC_CDSP_TBU_CLK>;
 &pms405_spmi_regulators {
 	vdd_s3-supply = <&pms405_s3>;