clk: zynqmp: pll: Remove the limit
authorShubhrajyoti Datta <shubhrajyoti.datta@amd.com>
Fri, 24 Mar 2023 10:49:58 +0000 (16:19 +0530)
committerStephen Boyd <sboyd@kernel.org>
Mon, 27 Mar 2023 19:08:28 +0000 (12:08 -0700)
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>
drivers/clk/zynqmp/pll.c

index 0d3e137..7411a7f 100644 (file)
@@ -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;
 }