Re: [PATCH v4 5/5] clk: clk-mux: implement remuxing on set_rate

2013-06-13 Thread James Hogan
On 12/06/13 02:01, Doug Anderson wrote: > Hi, > > Mike pointed me at this series since I'm running into parenting > problems at the moment as well... > > On Mon, May 20, 2013 at 9:44 PM, Saravana Kannan > wrote: >> While writing a similar code for our internal tree, I quickly came to the >> rea

Re: [PATCH v4 5/5] clk: clk-mux: implement remuxing on set_rate

2013-06-13 Thread James Hogan
On 21/05/13 05:44, Saravana Kannan wrote: > On 05/20/2013 06:28 AM, James Hogan wrote: >> Implement clk-mux remuxing if the CLK_SET_RATE_NO_REPARENT flag isn't >> set. This implements determine_rate for clk-mux to propagate to each >> parent and to choose the best one (like clk-divider this chooses

Re: [PATCH v4 5/5] clk: clk-mux: implement remuxing on set_rate

2013-06-12 Thread Mike Turquette
On Wed, Jun 12, 2013 at 10:55 AM, Doug Anderson wrote: > Mike, > > On Wed, Jun 12, 2013 at 10:45 AM, Mike Turquette > wrote: > >>> * It seems like we can't make muxing decisions on the SoC level. >>> * Your automatic muxing patches don't hurt me and could be useful for >>> _some_ of the muxing o

Re: [PATCH v4 5/5] clk: clk-mux: implement remuxing on set_rate

2013-06-12 Thread Doug Anderson
Mike, On Wed, Jun 12, 2013 at 10:45 AM, Mike Turquette wrote: >> * It seems like we can't make muxing decisions on the SoC level. >> * Your automatic muxing patches don't hurt me and could be useful for >> _some_ of the muxing options, just not the top PLL ones. > > For the time being you won't

Re: [PATCH v4 5/5] clk: clk-mux: implement remuxing on set_rate

2013-06-12 Thread Mike Turquette
Quoting Doug Anderson (2013-06-11 18:01:01) > Hi, > > Mike pointed me at this series since I'm running into parenting > problems at the moment as well... > > On Mon, May 20, 2013 at 9:44 PM, Saravana Kannan > wrote: > > While writing a similar code for our internal tree, I quickly came to the >

Re: [PATCH v4 5/5] clk: clk-mux: implement remuxing on set_rate

2013-06-11 Thread Doug Anderson
Hi, Mike pointed me at this series since I'm running into parenting problems at the moment as well... On Mon, May 20, 2013 at 9:44 PM, Saravana Kannan wrote: > While writing a similar code for our internal tree, I quickly came to the > realization that, "all parents are equal, but some are more

Re: [PATCH v4 5/5] clk: clk-mux: implement remuxing on set_rate

2013-05-20 Thread Saravana Kannan
On 05/20/2013 06:28 AM, James Hogan wrote: Implement clk-mux remuxing if the CLK_SET_RATE_NO_REPARENT flag isn't set. This implements determine_rate for clk-mux to propagate to each parent and to choose the best one (like clk-divider this chooses the parent which provides the fastest rate <= the