[PATCH RFT 11/20] clk: qcom: smd-rpm: Add keepalive_clks for MSM8992

From: Konrad Dybcio
Date: Sat Mar 04 2023 - 08:28:33 EST


MSM8992 requires that the PCNoC clock always gets 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 f82576180fd4..c7c623b258ce 100644
--- a/drivers/clk/qcom/clk-smd-rpm.c
+++ b/drivers/clk/qcom/clk-smd-rpm.c
@@ -782,6 +782,8 @@ static struct clk_smd_rpm *msm8992_clks[] = {
static const struct rpm_smd_clk_desc rpm_clk_msm8992 = {
.clks = msm8992_clks,
.num_clks = ARRAY_SIZE(msm8992_clks),
+ .keepalive_clks = pnoc_keepalive_clks,
+ .num_keepalive_clks = ARRAY_SIZE(pnoc_keepalive_clks),
};

static struct clk_smd_rpm *msm8994_clks[] = {

--
2.39.2