Recent Qualcomm platforms have APCS collapse-vote registers that allow for sharing GDSCs with other masters (e.g. LPASS). Add support for using such vote registers instead of the control register when updating the GDSC power state. Note that the gcc-sc8280xp driver has not yet been merged. [1] Johan [1] https://lore.kernel.org/all/20220505025457.1693716-1-bjorn.andersson@xxxxxxxxxx/ Johan Hovold (3): clk: qcom: gdsc: add collapse-bit helper clk: qcom: gdsc: add support for collapse-vote registers clk: qcom: gcc-sc8280xp: use collapse-voting for PCIe GDSCs drivers/clk/qcom/gcc-sc8280xp.c | 21 +++++++++++++++++++++ drivers/clk/qcom/gdsc.c | 28 ++++++++++++++++++++++------ drivers/clk/qcom/gdsc.h | 4 ++++ 3 files changed, 47 insertions(+), 6 deletions(-) -- 2.35.1