Commit 54d895be authored by Bjorn Andersson's avatar Bjorn Andersson

arm64: dts: qcom: qcs404-evb: Mark WCSS clocks protected

'7d0c76bd ("clk: qcom: Add WCSS gcc clock control for QCS404")'
introduces two new clocks to gcc. These are not used before
clk_disable_unused() and as such the clock framework tries to disable
them.

But on the EVB these registers are only accessible through TrustZone, so
these clocks must be marked as "protected" to prevent the clock code
from touching them.

Numerical values are used as the constants are not yet available in a
common tree.
Reviewed-by: default avatarNiklas Cassel <niklas.cassel@linaro.org>
Reported-by: default avatarMark Brown <broonie@kernel.org>
Reported-by: default avatarNiklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 16e8e807
...@@ -61,7 +61,9 @@ &gcc { ...@@ -61,7 +61,9 @@ &gcc {
protected-clocks = <GCC_BIMC_CDSP_CLK>, protected-clocks = <GCC_BIMC_CDSP_CLK>,
<GCC_CDSP_CFG_AHB_CLK>, <GCC_CDSP_CFG_AHB_CLK>,
<GCC_CDSP_BIMC_CLK_SRC>, <GCC_CDSP_BIMC_CLK_SRC>,
<GCC_CDSP_TBU_CLK>; <GCC_CDSP_TBU_CLK>,
<141>, /* GCC_WCSS_Q6_AHB_CLK */
<142>; /* GCC_WCSS_Q6_AXIM_CLK */
}; };
&pms405_spmi_regulators { &pms405_spmi_regulators {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment