Skip to content

Commit 3f6b250

Browse files
fltobebarino
authored andcommitted
clk: qcom: gcc: remove unnecessary vco_table from SM8150
The fixed alpha pll ops only use it for clamping in round_rate, which is unnecessary. This is consistent with SM8250 GCC not using vco_table. Signed-off-by: Jonathan Marek <[email protected]> Tested-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent d28b503 commit 3f6b250

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

drivers/clk/qcom/gcc-sm8150.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,8 @@ enum {
3434
P_SLEEP_CLK,
3535
};
3636

37-
static const struct pll_vco trion_vco[] = {
38-
{ 249600000, 2000000000, 0 },
39-
};
40-
4137
static struct clk_alpha_pll gpll0 = {
4238
.offset = 0x0,
43-
.vco_table = trion_vco,
44-
.num_vco = ARRAY_SIZE(trion_vco),
4539
.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_TRION],
4640
.clkr = {
4741
.enable_reg = 0x52000,
@@ -85,8 +79,6 @@ static struct clk_alpha_pll_postdiv gpll0_out_even = {
8579

8680
static struct clk_alpha_pll gpll7 = {
8781
.offset = 0x1a000,
88-
.vco_table = trion_vco,
89-
.num_vco = ARRAY_SIZE(trion_vco),
9082
.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_TRION],
9183
.clkr = {
9284
.enable_reg = 0x52000,
@@ -105,8 +97,6 @@ static struct clk_alpha_pll gpll7 = {
10597

10698
static struct clk_alpha_pll gpll9 = {
10799
.offset = 0x1c000,
108-
.vco_table = trion_vco,
109-
.num_vco = ARRAY_SIZE(trion_vco),
110100
.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_TRION],
111101
.clkr = {
112102
.enable_reg = 0x52000,

0 commit comments

Comments
 (0)