Re: [PATCH v4 3/5] clk: add support for clock reparent on set_rate

2013-06-13 Thread James Hogan
On 20/05/13 22:17, Stephen Boyd wrote: > On 05/20/13 06:28, James Hogan wrote: >> diff --git a/Documentation/clk.txt b/Documentation/clk.txt >> index b9911c2..3110ba4 100644 >> --- a/Documentation/clk.txt >> +++ b/Documentation/clk.txt >> @@ -70,6 +70,10 @@ the operations defined in clk.h: >>

Re: [PATCH v4 3/5] clk: add support for clock reparent on set_rate

2013-05-22 Thread James Hogan
On 21/05/13 06:10, Saravana Kannan wrote: > On 05/20/2013 06:28 AM, James Hogan wrote: >> diff --git a/include/linux/clk-private.h b/include/linux/clk-private.h >> index dd7adff..8138c94 100644 >> --- a/include/linux/clk-private.h >> +++ b/include/linux/clk-private.h >> @@ -33,8 +33,11 @@ struct cl

Re: [PATCH v4 3/5] clk: add support for clock reparent on set_rate

2013-05-20 Thread Saravana Kannan
On 05/20/2013 06:28 AM, James Hogan wrote: Add core support to allow clock implementations to select the best parent clock when rounding a rate, e.g. the one which can provide the closest clock rate to that requested. This is by way of adding a new clock op, determine_rate(), which is like round_

Re: [PATCH v4 3/5] clk: add support for clock reparent on set_rate

2013-05-20 Thread Stephen Boyd
On 05/20/13 06:28, James Hogan wrote: > diff --git a/Documentation/clk.txt b/Documentation/clk.txt > index b9911c2..3110ba4 100644 > --- a/Documentation/clk.txt > +++ b/Documentation/clk.txt > @@ -70,6 +70,10 @@ the operations defined in clk.h: > unsign

[PATCH v4 3/5] clk: add support for clock reparent on set_rate

2013-05-20 Thread James Hogan
Add core support to allow clock implementations to select the best parent clock when rounding a rate, e.g. the one which can provide the closest clock rate to that requested. This is by way of adding a new clock op, determine_rate(), which is like round_rate() but has an extra parameter to allow th