diff mbox series

clk: zynqmp: pll: Remove the limit

Message ID 20230324104958.25099-1-shubhrajyoti.datta@amd.com (mailing list archive)
State Accepted, archived
Headers show
Series clk: zynqmp: pll: Remove the limit | expand

Commit Message

Shubhrajyoti Datta March 24, 2023, 10:49 a.m. UTC
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>
---

 drivers/clk/zynqmp/pll.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Stephen Boyd March 27, 2023, 7:08 p.m. UTC | #1
Quoting Shubhrajyoti Datta (2023-03-24 03:49:58)
> 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>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/drivers/clk/zynqmp/pll.c b/drivers/clk/zynqmp/pll.c
index 0d3e1377b092..7411a7fd50ac 100644
--- a/drivers/clk/zynqmp/pll.c
+++ b/drivers/clk/zynqmp/pll.c
@@ -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;
 }