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: rpmhcc: Add support for QCS615 Clocks

Add the RPMHCC clocks required for QCS615 SoC.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Link: https://lore.kernel.org/r/20241022-qcs615-clock-driver-v4-2-3d716ad0d987@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Taniya Das and committed by
Bjorn Andersson
42a1905a 94465062

+19
+19
drivers/clk/qcom/clk-rpmh.c
··· 807 807 .num_clks = ARRAY_SIZE(x1e80100_rpmh_clocks), 808 808 }; 809 809 810 + static struct clk_hw *qcs615_rpmh_clocks[] = { 811 + [RPMH_CXO_CLK] = &clk_rpmh_bi_tcxo_div2.hw, 812 + [RPMH_CXO_CLK_A] = &clk_rpmh_bi_tcxo_div2_ao.hw, 813 + [RPMH_LN_BB_CLK2] = &clk_rpmh_ln_bb_clk2_a2.hw, 814 + [RPMH_LN_BB_CLK2_A] = &clk_rpmh_ln_bb_clk2_a2_ao.hw, 815 + [RPMH_LN_BB_CLK3] = &clk_rpmh_ln_bb_clk3_a2.hw, 816 + [RPMH_LN_BB_CLK3_A] = &clk_rpmh_ln_bb_clk3_a2_ao.hw, 817 + [RPMH_RF_CLK1] = &clk_rpmh_rf_clk1_a.hw, 818 + [RPMH_RF_CLK1_A] = &clk_rpmh_rf_clk1_a_ao.hw, 819 + [RPMH_RF_CLK2] = &clk_rpmh_rf_clk2_a.hw, 820 + [RPMH_RF_CLK2_A] = &clk_rpmh_rf_clk2_a_ao.hw, 821 + }; 822 + 823 + static const struct clk_rpmh_desc clk_rpmh_qcs615 = { 824 + .clks = qcs615_rpmh_clocks, 825 + .num_clks = ARRAY_SIZE(qcs615_rpmh_clocks), 826 + }; 827 + 810 828 static struct clk_hw *of_clk_rpmh_hw_get(struct of_phandle_args *clkspec, 811 829 void *data) 812 830 { ··· 908 890 } 909 891 910 892 static const struct of_device_id clk_rpmh_match_table[] = { 893 + { .compatible = "qcom,qcs615-rpmh-clk", .data = &clk_rpmh_qcs615}, 911 894 { .compatible = "qcom,qdu1000-rpmh-clk", .data = &clk_rpmh_qdu1000}, 912 895 { .compatible = "qcom,sa8775p-rpmh-clk", .data = &clk_rpmh_sa8775p}, 913 896 { .compatible = "qcom,sar2130p-rpmh-clk", .data = &clk_rpmh_sar2130p},