clk: qcom: rpmh: Add IPA clock for SC7180
authorTaniya Das <tdas@codeaurora.org>
Mon, 6 Jan 2020 10:18:43 +0000 (15:48 +0530)
committerStephen Boyd <sboyd@kernel.org>
Mon, 6 Jan 2020 16:54:16 +0000 (08:54 -0800)
The Qualcomm IP Accelerator (IPA) clock resource that is managed by the BCM is
required by the IPA driver in order to scale its core clock.

Signed-off-by: Taniya Das <tdas@codeaurora.org>
Link: https://lkml.kernel.org/r/1578305923-29125-3-git-send-email-tdas@codeaurora.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/clk-rpmh.c

index a12ce8d..593bfa4 100644 (file)
@@ -396,6 +396,7 @@ static struct clk_hw *sc7180_rpmh_clocks[] = {
        [RPMH_RF_CLK1_A]        = &sdm845_rf_clk1_ao.hw,
        [RPMH_RF_CLK2]          = &sdm845_rf_clk2.hw,
        [RPMH_RF_CLK2_A]        = &sdm845_rf_clk2_ao.hw,
+       [RPMH_IPA_CLK]          = &sdm845_ipa.hw,
 };
 
 static const struct clk_rpmh_desc clk_rpmh_sc7180 = {