All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: zynqmp: pll: Remove the limit
@ 2023-03-24 10:49 Shubhrajyoti Datta
  2023-03-27 19:08 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Shubhrajyoti Datta @ 2023-03-24 10:49 UTC (permalink / raw)
  To: linux-clk; +Cc: git, sboyd, mturquette, michal.simek

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(-)

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;
 }
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] clk: zynqmp: pll: Remove the limit
  2023-03-24 10:49 [PATCH] clk: zynqmp: pll: Remove the limit Shubhrajyoti Datta
@ 2023-03-27 19:08 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2023-03-27 19:08 UTC (permalink / raw)
  To: Shubhrajyoti Datta, linux-clk; +Cc: git, mturquette, michal.simek

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-27 19:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-24 10:49 [PATCH] clk: zynqmp: pll: Remove the limit Shubhrajyoti Datta
2023-03-27 19:08 ` Stephen Boyd

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.