@@ -46,19 +46,6 @@ enum {
46
46
P_DPLINK ,
47
47
};
48
48
49
- static struct clk_fixed_factor gpll0_div = {
50
- .mult = 1 ,
51
- .div = 2 ,
52
- .hw .init = & (struct clk_init_data ){
53
- .name = "mmss_gpll0_div" ,
54
- .parent_data = & (const struct clk_parent_data ){
55
- .fw_name = "gpll0"
56
- },
57
- .num_parents = 1 ,
58
- .ops = & clk_fixed_factor_ops ,
59
- },
60
- };
61
-
62
49
static const struct clk_div_table post_div_table_fabia_even [] = {
63
50
{ 0x0 , 1 },
64
51
{ 0x1 , 2 },
@@ -354,7 +341,7 @@ static const struct parent_map mmss_xo_gpll0_gpll0_div_map[] = {
354
341
static const struct clk_parent_data mmss_xo_gpll0_gpll0_div [] = {
355
342
{ .fw_name = "xo" },
356
343
{ .fw_name = "gpll0" },
357
- { .hw = & gpll0_div . hw },
344
+ { .fw_name = " gpll0_div" , . name = "gcc_mmss_gpll0_div_clk" },
358
345
};
359
346
360
347
static const struct parent_map mmss_xo_mmpll0_gpll0_gpll0_div_map [] = {
@@ -368,7 +355,7 @@ static const struct clk_parent_data mmss_xo_mmpll0_gpll0_gpll0_div[] = {
368
355
{ .fw_name = "xo" },
369
356
{ .hw = & mmpll0_out_even .clkr .hw },
370
357
{ .fw_name = "gpll0" },
371
- { .hw = & gpll0_div . hw },
358
+ { .fw_name = " gpll0_div" , . name = "gcc_mmss_gpll0_div_clk" },
372
359
};
373
360
374
361
static const struct parent_map mmss_xo_mmpll0_mmpll1_gpll0_gpll0_div_map [] = {
@@ -384,7 +371,7 @@ static const struct clk_parent_data mmss_xo_mmpll0_mmpll1_gpll0_gpll0_div[] = {
384
371
{ .hw = & mmpll0_out_even .clkr .hw },
385
372
{ .hw = & mmpll1_out_even .clkr .hw },
386
373
{ .fw_name = "gpll0" },
387
- { .hw = & gpll0_div . hw },
374
+ { .fw_name = " gpll0_div" , . name = "gcc_mmss_gpll0_div_clk" },
388
375
};
389
376
390
377
static const struct parent_map mmss_xo_mmpll0_mmpll5_gpll0_gpll0_div_map [] = {
@@ -400,7 +387,7 @@ static const struct clk_parent_data mmss_xo_mmpll0_mmpll5_gpll0_gpll0_div[] = {
400
387
{ .hw = & mmpll0_out_even .clkr .hw },
401
388
{ .hw = & mmpll5_out_even .clkr .hw },
402
389
{ .fw_name = "gpll0" },
403
- { .hw = & gpll0_div . hw },
390
+ { .fw_name = " gpll0_div" , . name = "gcc_mmss_gpll0_div_clk" },
404
391
};
405
392
406
393
static const struct parent_map mmss_xo_mmpll0_mmpll3_mmpll6_gpll0_gpll0_div_map [] = {
@@ -418,7 +405,7 @@ static const struct clk_parent_data mmss_xo_mmpll0_mmpll3_mmpll6_gpll0_gpll0_div
418
405
{ .hw = & mmpll3_out_even .clkr .hw },
419
406
{ .hw = & mmpll6_out_even .clkr .hw },
420
407
{ .fw_name = "gpll0" },
421
- { .hw = & gpll0_div . hw },
408
+ { .fw_name = " gpll0_div" , . name = "gcc_mmss_gpll0_div_clk" },
422
409
};
423
410
424
411
static const struct parent_map mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map [] = {
@@ -436,7 +423,7 @@ static const struct clk_parent_data mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_di
436
423
{ .hw = & mmpll7_out_even .clkr .hw },
437
424
{ .hw = & mmpll10_out_even .clkr .hw },
438
425
{ .fw_name = "gpll0" },
439
- { .hw = & gpll0_div . hw },
426
+ { .fw_name = " gpll0_div" , . name = "gcc_mmss_gpll0_div_clk" },
440
427
};
441
428
442
429
static const struct parent_map mmss_xo_mmpll0_mmpll7_mmpll10_gpll0_gpll0_div_map [] = {
@@ -454,7 +441,7 @@ static const struct clk_parent_data mmss_xo_mmpll0_mmpll7_mmpll10_gpll0_gpll0_di
454
441
{ .hw = & mmpll7_out_even .clkr .hw },
455
442
{ .hw = & mmpll10_out_even .clkr .hw },
456
443
{ .fw_name = "gpll0" },
457
- { .hw = & gpll0_div . hw },
444
+ { .fw_name = " gpll0_div" , . name = "gcc_mmss_gpll0_div_clk" },
458
445
};
459
446
460
447
static const struct parent_map mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map [] = {
@@ -474,7 +461,7 @@ static const struct clk_parent_data mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_g
474
461
{ .hw = & mmpll7_out_even .clkr .hw },
475
462
{ .hw = & mmpll10_out_even .clkr .hw },
476
463
{ .fw_name = "gpll0" },
477
- { .hw = & gpll0_div . hw },
464
+ { .fw_name = " gpll0_div" , . name = "gcc_mmss_gpll0_div_clk" },
478
465
};
479
466
480
467
static struct clk_rcg2 byte0_clk_src = {
@@ -2544,10 +2531,6 @@ static struct clk_branch vmem_ahb_clk = {
2544
2531
},
2545
2532
};
2546
2533
2547
- static struct clk_hw * mmcc_msm8998_hws [] = {
2548
- & gpll0_div .hw ,
2549
- };
2550
-
2551
2534
static struct gdsc video_top_gdsc = {
2552
2535
.gdscr = 0x1024 ,
2553
2536
.pd = {
@@ -2855,8 +2838,6 @@ static const struct qcom_cc_desc mmcc_msm8998_desc = {
2855
2838
.num_resets = ARRAY_SIZE (mmcc_msm8998_resets ),
2856
2839
.gdscs = mmcc_msm8998_gdscs ,
2857
2840
.num_gdscs = ARRAY_SIZE (mmcc_msm8998_gdscs ),
2858
- .clk_hws = mmcc_msm8998_hws ,
2859
- .num_clk_hws = ARRAY_SIZE (mmcc_msm8998_hws ),
2860
2841
};
2861
2842
2862
2843
static const struct of_device_id mmcc_msm8998_match_table [] = {
0 commit comments