[PATCH RFT 18/20] clk: qcom: smd-rpm: Add keepalive_clks for SM6115
From: Konrad Dybcio
Date: Sat Mar 04 2023 - 08:29:15 EST
SM6115 requires that the CNoC&SNoC clocks always get an active vote.
Guarantee that.
Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
---
drivers/clk/qcom/clk-smd-rpm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c
index a5171b818d15..c3ab882de7ff 100644
--- a/drivers/clk/qcom/clk-smd-rpm.c
+++ b/drivers/clk/qcom/clk-smd-rpm.c
@@ -1191,6 +1191,8 @@ static struct clk_smd_rpm *sm6115_clks[] = {
static const struct rpm_smd_clk_desc rpm_clk_sm6115 = {
.clks = sm6115_clks,
.num_clks = ARRAY_SIZE(sm6115_clks),
+ .keepalive_clks = cnoc_snoc_keepalive_clks,
+ .num_keepalive_clks = ARRAY_SIZE(cnoc_snoc_keepalive_clks),
};
static struct clk_smd_rpm *sm6375_clks[] = {
--
2.39.2