Re: [PATCH] clk: versatile: add min/max rate boundaries for vexpress osc clock
From: Sudeep Holla
Date: Mon Feb 19 2018 - 10:55:46 EST
On Fri, Nov 10, 2017 at 4:06 PM, Sudeep Holla <sudeep.holla@xxxxxxx> wrote:
> Clock framework has a provider API(clk_hw_set_rate_range) to set the
> min/max rate of a clock. Use the same to set the boundaries for the
> vexpress osc clock.
>
> Cc: Michael Turquette <mturquette@xxxxxxxxxxxx>
> Cc: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
> Cc: linux-clk@xxxxxxxxxxxxxxx
> Signed-off-by: Sudeep Holla <sudeep.holla@xxxxxxx>
> ---
> drivers/clk/versatile/clk-vexpress-osc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> Hi Stephen,
>
> Just a quick question, does the clk core ensure the round_rate request
> to the clock provider is within this bounds ? A quick grep suggests it's
> used after the call to round_rate in clk_calc_new_rates. I can't recall
> the details from when you introduced clk_hw_set_rate_range.
>
Ping !