]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 18 Oct 2019 08:25:52 +0000 (04:25 -0400)
commit552c6c604db12c255910f7dfa79c8250bdcc5257
treeaf68f8c261494675f203f321a93fbfde049711af
parent7e9410194f5ba1333694df0db7cb735865fc4318
arm64: dts: qcom: qcs404-evb: Mark WCSS clocks protected

BugLink: https://bugs.launchpad.net/bugs/1848046
[ Upstream commit 54d895bea43c94f31304d59f82d755b7f4b59e7c ]

'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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi