]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc2a3c892e70abb85f34f8ea48bc6f3427001763
treea78a7ab8a3d8eb658ddd6f74f94eb7874bce80cf
parent403b617e2a9a0be884ec27b9fd7a7acf98365a50
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