diff mbox series

clk: qcom: rpmh: add support for SDX55 rpmh IPA clock

Message ID 20210409134407.841137-1-elder@linaro.org
State Accepted
Commit b2150cab9a97c1fcc15684200a6020b6d231106d
Headers show
Series clk: qcom: rpmh: add support for SDX55 rpmh IPA clock | expand

Commit Message

Alex Elder April 9, 2021, 1:44 p.m. UTC
The IPA core clock is required for SDX55.  Define it.

Signed-off-by: Alex Elder <elder@linaro.org>

---
 drivers/clk/qcom/clk-rpmh.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.27.0

Comments

Manivannan Sadhasivam April 9, 2021, 2:03 p.m. UTC | #1
On Fri, Apr 09, 2021 at 08:44:07AM -0500, Alex Elder wrote:
> The IPA core clock is required for SDX55.  Define it.

> 

> Signed-off-by: Alex Elder <elder@linaro.org>


I tested this patch on couple of SDX55 based boards like Telit FN980 and
Thundercomm T55. Hence,

Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>


Also cross checked the IPA clock definition using QC internal docs, so

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>


Thanks,
Mani

> ---

>  drivers/clk/qcom/clk-rpmh.c | 2 ++

>  1 file changed, 2 insertions(+)

> 

> diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c

> index c623ce9004063..552d1cbfea4c0 100644

> --- a/drivers/clk/qcom/clk-rpmh.c

> +++ b/drivers/clk/qcom/clk-rpmh.c

> @@ -380,6 +380,7 @@ static const struct clk_rpmh_desc clk_rpmh_sdm845 = {

>  DEFINE_CLK_RPMH_VRM(sdx55, rf_clk1, rf_clk1_ao, "rfclkd1", 1);

>  DEFINE_CLK_RPMH_VRM(sdx55, rf_clk2, rf_clk2_ao, "rfclkd2", 1);

>  DEFINE_CLK_RPMH_BCM(sdx55, qpic_clk, "QP0");

> +DEFINE_CLK_RPMH_BCM(sdx55, ipa, "IP0");

>  

>  static struct clk_hw *sdx55_rpmh_clocks[] = {

>  	[RPMH_CXO_CLK]		= &sdm845_bi_tcxo.hw,

> @@ -389,6 +390,7 @@ static struct clk_hw *sdx55_rpmh_clocks[] = {

>  	[RPMH_RF_CLK2]		= &sdx55_rf_clk2.hw,

>  	[RPMH_RF_CLK2_A]	= &sdx55_rf_clk2_ao.hw,

>  	[RPMH_QPIC_CLK]		= &sdx55_qpic_clk.hw,

> +	[RPMH_IPA_CLK]		= &sdx55_ipa.hw,

>  };

>  

>  static const struct clk_rpmh_desc clk_rpmh_sdx55 = {

> -- 

> 2.27.0

>
Stephen Boyd April 13, 2021, 12:55 a.m. UTC | #2
Quoting Alex Elder (2021-04-09 06:44:07)
> The IPA core clock is required for SDX55.  Define it.

> 

> Signed-off-by: Alex Elder <elder@linaro.org>

> ---


Applied to clk-next
patchwork-bot+linux-arm-msm@kernel.org May 26, 2021, 7:03 p.m. UTC | #3
Hello:

This patch was applied to qcom/linux.git (refs/heads/for-next):

On Fri,  9 Apr 2021 08:44:07 -0500 you wrote:
> The IPA core clock is required for SDX55.  Define it.

> 

> Signed-off-by: Alex Elder <elder@linaro.org>

> ---

>  drivers/clk/qcom/clk-rpmh.c | 2 ++

>  1 file changed, 2 insertions(+)


Here is the summary with links:
  - clk: qcom: rpmh: add support for SDX55 rpmh IPA clock
    https://git.kernel.org/qcom/c/b2150cab9a97

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c
index c623ce9004063..552d1cbfea4c0 100644
--- a/drivers/clk/qcom/clk-rpmh.c
+++ b/drivers/clk/qcom/clk-rpmh.c
@@ -380,6 +380,7 @@  static const struct clk_rpmh_desc clk_rpmh_sdm845 = {
 DEFINE_CLK_RPMH_VRM(sdx55, rf_clk1, rf_clk1_ao, "rfclkd1", 1);
 DEFINE_CLK_RPMH_VRM(sdx55, rf_clk2, rf_clk2_ao, "rfclkd2", 1);
 DEFINE_CLK_RPMH_BCM(sdx55, qpic_clk, "QP0");
+DEFINE_CLK_RPMH_BCM(sdx55, ipa, "IP0");
 
 static struct clk_hw *sdx55_rpmh_clocks[] = {
 	[RPMH_CXO_CLK]		= &sdm845_bi_tcxo.hw,
@@ -389,6 +390,7 @@  static struct clk_hw *sdx55_rpmh_clocks[] = {
 	[RPMH_RF_CLK2]		= &sdx55_rf_clk2.hw,
 	[RPMH_RF_CLK2_A]	= &sdx55_rf_clk2_ao.hw,
 	[RPMH_QPIC_CLK]		= &sdx55_qpic_clk.hw,
+	[RPMH_IPA_CLK]		= &sdx55_ipa.hw,
 };
 
 static const struct clk_rpmh_desc clk_rpmh_sdx55 = {