]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: qcom: qcs404-evb: Mark WCSS clocks protected
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 14 Aug 2019 03:09:42 +0000 (20:09 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 16 Aug 2019 23:26:14 +0000 (16:26 -0700)
commit6a925560e8afdc3ba52447709e06594513724df7
tree6a2ce76d16d21b273badc00d312a1f563b4ba0df
parent0506c7e9d10bc505244cff68e6a8b4872e8673ca
arm64: dts: qcom: qcs404-evb: Mark WCSS clocks protected

'7d0c76bdf227 ("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: Niklas Cassel <niklas.cassel@linaro.org>
Reported-by: Mark Brown <broonie@kernel.org>
Reported-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi