diff mbox series

[v2,2/2] clk: qcom: rpmh: Add IPA clock for SC7180

Message ID 1578305923-29125-3-git-send-email-tdas@codeaurora.org (mailing list archive)
State New, archived
Headers show
Series Add support for IPA clock for SC7180 | expand

Commit Message

Taniya Das Jan. 6, 2020, 10:18 a.m. UTC
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>
---
 drivers/clk/qcom/clk-rpmh.c | 1 +
 1 file changed, 1 insertion(+)

--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc.is a member
of the Code Aurora Forum, hosted by the  Linux Foundation.

Comments

Stephen Boyd Jan. 6, 2020, 4:54 p.m. UTC | #1
Quoting Taniya Das (2020-01-06 02:18:43)
> 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>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c
index 075cc43..8b0844b 100644
--- a/drivers/clk/qcom/clk-rpmh.c
+++ b/drivers/clk/qcom/clk-rpmh.c
@@ -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 = {