File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -325,6 +325,24 @@ static struct clk_rcg2 gcc_xo_clk_src = {
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 ,
@@ -2901,6 +2919,7 @@ static struct clk_regmap *gcc_ipq5424_clocks[] = {
2901
2919
[GCC_QPIC_CLK_SRC ] = & gcc_qpic_clk_src .clkr ,
2902
2920
[GCC_QPIC_AHB_CLK ] = & gcc_qpic_ahb_clk .clkr ,
2903
2921
[GCC_XO_CLK_SRC ] = & gcc_xo_clk_src .clkr ,
2922
+ [GCC_XO_CLK ] = & gcc_xo_clk .clkr ,
2904
2923
[GCC_QDSS_DAP_CLK ] = & gcc_qdss_dap_clk .clkr ,
2905
2924
[GCC_QDSS_AT_CLK ] = & gcc_qdss_at_clk .clkr ,
2906
2925
[GPLL0 ] = & gpll0 .clkr ,
You can’t perform that action at this time.
0 commit comments