[PATCH RFT 00/20] SMD RPMCC sleep preparations

From: Konrad Dybcio
Date: Sat Mar 04 2023 - 08:27:54 EST


This series brings support for a couple of things necessary for the full
system idle on SMD RPM SoCs, namely unused clk shutdown and keepalive
votes (permanent active votes that are required on certain clocks for the
platform to function).

Tested on MSM8996 and SM6375, does not seem to introduce any additional
regressions.

Keepalive clocks for other platforms were gathered by digging in old
downstream kernels, please give them a test.

Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
---
Konrad Dybcio (18):
clk: qcom: smd-rpm: Add support for keepalive votes
clk: qcom: smd-rpm: Add keepalive_clks for SM6375
clk: qcom: smd-rpm: Add keepalive_clks for MSM8996
clk: qcom: smd-rpm: Add keepalive_clks for MSM8909
clk: qcom: smd-rpm: Add keepalive_clks for MSM8916
clk: qcom: smd-rpm: Add keepalive_clks for MSM8936
clk: qcom: smd-rpm: Add keepalive_clks for MSM8974
clk: qcom: smd-rpm: Add keepalive_clks for MSM8976
clk: qcom: smd-rpm: Add keepalive_clks for MSM8992
clk: qcom: smd-rpm: Add keepalive_clks for MSM8994
clk: qcom: smd-rpm: Add keepalive_clks for MSM8998
clk: qcom: smd-rpm: Add keepalive_clks for SDM660
clk: qcom: smd-rpm: Add keepalive_clks for MDM9607
clk: qcom: smd-rpm: Add keepalive_clks for MSM8953
clk: qcom: smd-rpm: Add keepalive_clks for SM6125
clk: qcom: smd-rpm: Add keepalive_clks for SM6115
clk: qcom: smd-rpm: Add keepalive_clks for QCM2290
clk: qcom: smd-rpm: Add keepalive_clks for QCS404

Shawn Guo (2):
clk: qcom: smd-rpm: Add .is_enabled hook
clk: qcom: smd-rpm: Add .is_prepared hook

drivers/clk/qcom/clk-smd-rpm.c | 85 +++++++++++++++++++++++++++++++++++++++++-
1 file changed, 83 insertions(+), 2 deletions(-)
---
base-commit: 1acf39ef8f1425cd105f630dc2c7c1d8fff27ed1
change-id: 20230303-topic-rpmcc_sleep-d67aad9f3012

Best regards,
--
Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>