Re: [PATCH v3] clk: qcom: gcc-ipq9574: Add BRANCH_HALT_VOTED flag

From: Bjorn Andersson
Date: Tue May 28 2024 - 22:05:14 EST



On Thu, 09 May 2024 16:24:05 +0530, Md Sadre Alam wrote:
> The crypto_ahb and crypto_axi clks are hardware voteable.
> This means that the halt bit isn't reliable because some
> other voter in the system, e.g. TrustZone, could be keeping
> the clk enabled when the kernel turns it off from clk_disable().
> Make these clks use voting mode by changing the halt check to
> BRANCH_HALT_VOTED and toggle the voting bit in the voting register
> instead of directly controlling the branch by writing to the branch
> register. This fixes stuck clk warnings seen on ipq9574 and saves
> power by actually turning the clk off.
>
> [...]

Applied, thanks!

[1/1] clk: qcom: gcc-ipq9574: Add BRANCH_HALT_VOTED flag
commit: 72ceafb587a56e26c905472418c7dc2033c294d3

Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>