Skip to content

Commit

Permalink
clk: qcom: gcc: remove unnecessary vco_table from SM8150
Browse files Browse the repository at this point in the history
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 <jonathan@marek.ca>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20200709135251.643-6-jonathan@marek.ca
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Jonathan Marek authored and Stephen Boyd committed Jul 24, 2020
1 parent d28b503 commit 3f6b250
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions drivers/clk/qcom/gcc-sm8150.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,8 @@ enum {
P_SLEEP_CLK,
};

static const struct pll_vco trion_vco[] = {
{ 249600000, 2000000000, 0 },
};

static struct clk_alpha_pll gpll0 = {
.offset = 0x0,
.vco_table = trion_vco,
.num_vco = ARRAY_SIZE(trion_vco),
.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_TRION],
.clkr = {
.enable_reg = 0x52000,
Expand Down Expand Up @@ -85,8 +79,6 @@ static struct clk_alpha_pll_postdiv gpll0_out_even = {

static struct clk_alpha_pll gpll7 = {
.offset = 0x1a000,
.vco_table = trion_vco,
.num_vco = ARRAY_SIZE(trion_vco),
.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_TRION],
.clkr = {
.enable_reg = 0x52000,
Expand All @@ -105,8 +97,6 @@ static struct clk_alpha_pll gpll7 = {

static struct clk_alpha_pll gpll9 = {
.offset = 0x1c000,
.vco_table = trion_vco,
.num_vco = ARRAY_SIZE(trion_vco),
.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_TRION],
.clkr = {
.enable_reg = 0x52000,
Expand Down

0 comments on commit 3f6b250

Please sign in to comment.