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

clk: qcom: gcc-ipq5424: Add gpll0_out_aux clock

The clock gpll0_out_aux acts as the parent clock for some of the NSS
(Network Subsystem) clocks.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
Link: https://lore.kernel.org/r/20251014-qcom_ipq5424_nsscc-v7-6-081f4956be02@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Luo Jie and committed by
Bjorn Andersson
d08882c6 e2cf3b73

+15
+15
drivers/clk/qcom/gcc-ipq5424.c
··· 79 79 }, 80 80 }; 81 81 82 + static struct clk_alpha_pll_postdiv gpll0_out_aux = { 83 + .offset = 0x20000, 84 + .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT], 85 + .width = 4, 86 + .clkr.hw.init = &(const struct clk_init_data) { 87 + .name = "gpll0_out_aux", 88 + .parent_hws = (const struct clk_hw *[]) { 89 + &gpll0.clkr.hw 90 + }, 91 + .num_parents = 1, 92 + .ops = &clk_alpha_pll_postdiv_ro_ops, 93 + }, 94 + }; 95 + 82 96 static struct clk_alpha_pll gpll2 = { 83 97 .offset = 0x21000, 84 98 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_NSS_HUAYRA], ··· 2948 2934 [GPLL2] = &gpll2.clkr, 2949 2935 [GPLL2_OUT_MAIN] = &gpll2_out_main.clkr, 2950 2936 [GPLL4] = &gpll4.clkr, 2937 + [GPLL0_OUT_AUX] = &gpll0_out_aux.clkr, 2951 2938 }; 2952 2939 2953 2940 static const struct qcom_reset_map gcc_ipq5424_resets[] = {