aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2018-11-05 21:50:13 -0800
committerStephen Boyd <sboyd@kernel.org>2018-11-27 22:34:10 -0800
commitd206e6b7ea3fdc8ec8f6be9a2ecfe58142b49e37 (patch)
tree97e7a3a34144602846aa1a76009a24858e10b1e7 /arch
parentMerge branch 'clk-protected-binding' into clk-fixes (diff)
downloadlinux-dev-d206e6b7ea3fdc8ec8f6be9a2ecfe58142b49e37.tar.xz
linux-dev-d206e6b7ea3fdc8ec8f6be9a2ecfe58142b49e37.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/qcom/sdm845-mtp.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts
index eedfaf8922e2..ef2d059c2db1 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts
+++ b/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>;