Re: [PATCH RESEND v8 2/2] clk: Add floor and ceiling constraints to clock rates

2015-01-19 Thread Tomeu Vizoso
On 17 January 2015 at 02:57, Stephen Boyd wrote: > On 01/12, Tomeu Vizoso wrote: >> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c >> index 7eddfd8..2793bd7 100644 >> --- a/drivers/clk/clk.c >> +++ b/drivers/clk/clk.c >> @@ -1013,8 +1015,8 @@ static unsigned long clk_core_round_rate_nolock(str

Re: [PATCH RESEND v8 2/2] clk: Add floor and ceiling constraints to clock rates

2015-01-16 Thread Stephen Boyd
On 01/12, Tomeu Vizoso wrote: > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > index 7eddfd8..2793bd7 100644 > --- a/drivers/clk/clk.c > +++ b/drivers/clk/clk.c > @@ -1013,8 +1015,8 @@ static unsigned long clk_core_round_rate_nolock(struct > clk_core *clk, > > if (clk->ops->determine

[PATCH RESEND v8 2/2] clk: Add floor and ceiling constraints to clock rates

2015-01-12 Thread Tomeu Vizoso
Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set ceiling rates, or by misc. drivers to set floor rates to assure a minimum performance level. Changes the signature of the determine_rate callback by adding the parameters floor_rate and cei