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: ipq5424: add gcc_xo_clk

The gcc_xo_clk is required for the functionality of the WiFi
copy engine block. Therefore, add the gcc_xo_clk in gcc driver.

Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
Link: https://lore.kernel.org/r/20241210064110.130466-3-quic_mmanikan@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Manikanta Mylavarapu and committed by
Bjorn Andersson
d966ee05 a8b56cb2

+19
+19
drivers/clk/qcom/gcc-ipq5424.c
··· 325 325 }, 326 326 }; 327 327 328 + static struct clk_branch gcc_xo_clk = { 329 + .halt_reg = 0x34018, 330 + .halt_check = BRANCH_HALT, 331 + .clkr = { 332 + .enable_reg = 0x34018, 333 + .enable_mask = BIT(0), 334 + .hw.init = &(const struct clk_init_data) { 335 + .name = "gcc_xo_clk", 336 + .parent_hws = (const struct clk_hw*[]) { 337 + &gcc_xo_clk_src.clkr.hw, 338 + }, 339 + .num_parents = 1, 340 + .flags = CLK_SET_RATE_PARENT, 341 + .ops = &clk_branch2_ops, 342 + }, 343 + }, 344 + }; 345 + 328 346 static struct clk_fixed_factor gcc_xo_div4_clk_src = { 329 347 .mult = 1, 330 348 .div = 4, ··· 2919 2901 [GCC_QPIC_CLK_SRC] = &gcc_qpic_clk_src.clkr, 2920 2902 [GCC_QPIC_AHB_CLK] = &gcc_qpic_ahb_clk.clkr, 2921 2903 [GCC_XO_CLK_SRC] = &gcc_xo_clk_src.clkr, 2904 + [GCC_XO_CLK] = &gcc_xo_clk.clkr, 2922 2905 [GCC_QDSS_DAP_CLK] = &gcc_qdss_dap_clk.clkr, 2923 2906 [GCC_QDSS_AT_CLK] = &gcc_qdss_at_clk.clkr, 2924 2907 [GPLL0] = &gpll0.clkr,