clk: qcom: gcc-sc8280xp: use collapse-voting for PCIe GDSCs
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 20 May 2022 10:09:48 +0000 (12:09 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 26 Jun 2022 03:38:02 +0000 (22:38 -0500)
commit8d114b94fc39210b88b203b57aaf04836a87a4f0
treea78a7ab8a3d8eb658ddd6f74f94eb7874bce80cf
parent77ea2bd72da4f61f59ad2e839babe83849f35dea
clk: qcom: gcc-sc8280xp: use collapse-voting for PCIe GDSCs

The PCIe GDSCs can be shared with other masters and should use the APCS
collapse-vote register when updating the power state.

This is specifically also needed to be able to disable power domains
that have been enabled by boot firmware using the vote register.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220520100948.19622-4-johan+linaro@kernel.org
drivers/clk/qcom/gcc-sc8280xp.c