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

clk: qcom: gcc-ipq9574: Add support for gpll0_out_aux clock

Add support for gpll0_out_aux clock which acts as the parent for
certain networking subsystem (nss) clocks.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Devi Priya <quic_devipriy@quicinc.com>
Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
Link: https://lore.kernel.org/r/20250313110359.242491-3-quic_mmanikan@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Devi Priya and committed by
Bjorn Andersson
6e89ef8f 0139f7d4

+15
+15
drivers/clk/qcom/gcc-ipq9574.c
··· 108 108 }, 109 109 }; 110 110 111 + static struct clk_alpha_pll_postdiv gpll0_out_aux = { 112 + .offset = 0x20000, 113 + .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT], 114 + .width = 4, 115 + .clkr.hw.init = &(const struct clk_init_data) { 116 + .name = "gpll0_out_aux", 117 + .parent_hws = (const struct clk_hw *[]) { 118 + &gpll0_main.clkr.hw 119 + }, 120 + .num_parents = 1, 121 + .ops = &clk_alpha_pll_postdiv_ro_ops, 122 + }, 123 + }; 124 + 111 125 static struct clk_alpha_pll gpll4_main = { 112 126 .offset = 0x22000, 113 127 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT_EVO], ··· 3910 3896 [GCC_PCIE1_PIPE_CLK] = &gcc_pcie1_pipe_clk.clkr, 3911 3897 [GCC_PCIE2_PIPE_CLK] = &gcc_pcie2_pipe_clk.clkr, 3912 3898 [GCC_PCIE3_PIPE_CLK] = &gcc_pcie3_pipe_clk.clkr, 3899 + [GPLL0_OUT_AUX] = &gpll0_out_aux.clkr, 3913 3900 }; 3914 3901 3915 3902 static const struct qcom_reset_map gcc_ipq9574_resets[] = {