Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: qcom: rpmh: define IPA clocks where required

Follow the example of sc7180 and sdx55 and implement IP0 resource as
clocks rather than interconnects.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109002935.244320-11-dmitry.baryshkov@linaro.org

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
aa055bf1 bfc74869

+4
+4
drivers/clk/qcom/clk-rpmh.c
··· 471 471 [RPMH_RF_CLK2_A] = &clk_rpmh_rf_clk2_a_ao.hw, 472 472 [RPMH_RF_CLK3] = &clk_rpmh_rf_clk3_a.hw, 473 473 [RPMH_RF_CLK3_A] = &clk_rpmh_rf_clk3_a_ao.hw, 474 + [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, 474 475 }; 475 476 476 477 static const struct clk_rpmh_desc clk_rpmh_sm8150 = { ··· 511 510 [RPMH_RF_CLK2_A] = &clk_rpmh_rf_clk2_d_ao.hw, 512 511 [RPMH_RF_CLK3] = &clk_rpmh_rf_clk3_d.hw, 513 512 [RPMH_RF_CLK3_A] = &clk_rpmh_rf_clk3_d_ao.hw, 513 + [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, 514 514 }; 515 515 516 516 static const struct clk_rpmh_desc clk_rpmh_sc8180x = { ··· 532 530 [RPMH_RF_CLK1_A] = &clk_rpmh_rf_clk1_a_ao.hw, 533 531 [RPMH_RF_CLK3] = &clk_rpmh_rf_clk3_a.hw, 534 532 [RPMH_RF_CLK3_A] = &clk_rpmh_rf_clk3_a_ao.hw, 533 + [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, 535 534 }; 536 535 537 536 static const struct clk_rpmh_desc clk_rpmh_sm8250 = { ··· 575 572 [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, 576 573 [RPMH_PKA_CLK] = &clk_rpmh_pka.hw, 577 574 [RPMH_HWKM_CLK] = &clk_rpmh_hwkm.hw, 575 + [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, 578 576 }; 579 577 580 578 static const struct clk_rpmh_desc clk_rpmh_sc8280xp = {