.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2014 STMicroelectronics (R&D) Limited |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License as published by |
---|
6 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
7 | | - * (at your option) any later version. |
---|
8 | | - * |
---|
9 | 4 | */ |
---|
10 | 5 | |
---|
11 | 6 | /* |
---|
.. | .. |
---|
65 | 60 | static const struct clk_ops stm_pll3200c32_ops; |
---|
66 | 61 | static const struct clk_ops stm_pll3200c32_a9_ops; |
---|
67 | 62 | static const struct clk_ops stm_pll4600c28_ops; |
---|
68 | | - |
---|
69 | | -static const struct clkgen_pll_data st_pll3200c32_407_a0 = { |
---|
70 | | - /* 407 A0 */ |
---|
71 | | - .pdn_status = CLKGEN_FIELD(0x2a0, 0x1, 8), |
---|
72 | | - .pdn_ctrl = CLKGEN_FIELD(0x2a0, 0x1, 8), |
---|
73 | | - .locked_status = CLKGEN_FIELD(0x2a0, 0x1, 24), |
---|
74 | | - .ndiv = CLKGEN_FIELD(0x2a4, C32_NDIV_MASK, 16), |
---|
75 | | - .idf = CLKGEN_FIELD(0x2a4, C32_IDF_MASK, 0x0), |
---|
76 | | - .num_odfs = 1, |
---|
77 | | - .odf = { CLKGEN_FIELD(0x2b4, C32_ODF_MASK, 0) }, |
---|
78 | | - .odf_gate = { CLKGEN_FIELD(0x2b4, 0x1, 6) }, |
---|
79 | | - .ops = &stm_pll3200c32_ops, |
---|
80 | | -}; |
---|
81 | 63 | |
---|
82 | 64 | static const struct clkgen_pll_data st_pll3200c32_cx_0 = { |
---|
83 | 65 | /* 407 C0 PLL0 */ |
---|
.. | .. |
---|
604 | 586 | { |
---|
605 | 587 | struct clkgen_pll *pll; |
---|
606 | 588 | struct clk *clk; |
---|
607 | | - struct clk_init_data init = {}; |
---|
| 589 | + struct clk_init_data init; |
---|
608 | 590 | |
---|
609 | 591 | pll = kzalloc(sizeof(*pll), GFP_KERNEL); |
---|
610 | 592 | if (!pll) |
---|
.. | .. |
---|
613 | 595 | init.name = clk_name; |
---|
614 | 596 | init.ops = pll_data->ops; |
---|
615 | 597 | |
---|
616 | | - init.flags = pll_flags | CLK_IS_BASIC | CLK_GET_RATE_NOCACHE; |
---|
| 598 | + init.flags = pll_flags | CLK_GET_RATE_NOCACHE; |
---|
617 | 599 | init.parent_names = &parent_name; |
---|
618 | 600 | init.num_parents = 1; |
---|
619 | 601 | |
---|