Skip to content

Commit

Permalink
arm64: dts: qcom: sdm845-mtp: Mark protected gcc clocks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bjorn Andersson authored and Stephen Boyd committed Nov 28, 2018
1 parent 149964e commit d206e6b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/qcom/sdm845-mtp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit d206e6b

Please sign in to comment.