Skip to content

Commit

Permalink
clk: zynqmp: pll: Remove the limit
Browse files Browse the repository at this point in the history
The range is taken care in the zynqmp_pll_round_rate. Remove the rate range
in the zynqmp_clk_register_pll() to prevent the early truncation of the
frequencies and also allow multiple combinations of child and parent to get
more accurate rates.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
Link: https://lore.kernel.org/r/20230324104958.25099-1-shubhrajyoti.datta@amd.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Shubhrajyoti Datta authored and Stephen Boyd committed Mar 27, 2023
1 parent fe15c26 commit 57e3bbd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/clk/zynqmp/pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,5 @@ struct clk_hw *zynqmp_clk_register_pll(const char *name, u32 clk_id,
return ERR_PTR(ret);
}

clk_hw_set_rate_range(hw, PS_PLL_VCO_MIN, PS_PLL_VCO_MAX);

return hw;
}

0 comments on commit 57e3bbd

Please sign in to comment.