Re: [PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-04-01 Thread Laurent Pinchart
Hi Sascha, On Monday 31 March 2014 10:32:10 Sascha Hauer wrote: > On Fri, Mar 28, 2014 at 05:44:17PM +0100, Laurent Pinchart wrote: > > On Thursday 27 March 2014 15:47:12 Sascha Hauer wrote: > > > On Thu, Mar 27, 2014 at 03:08:10PM +0100, Laurent Pinchart wrote: > > [snip] > > > > > > That's clea

Re: [PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-31 Thread Sylwester Nawrocki
Hi Laurent, On 28/03/14 17:49, Laurent Pinchart wrote: > On Thursday 27 March 2014 16:02:52 Sylwester Nawrocki wrote: >> > On 27/03/14 15:08, Laurent Pinchart wrote: >>> > > On Thursday 27 March 2014 14:57:56 Sylwester Nawrocki wrote: > >> On 27/03/14 14:24, Laurent Pinchart wrote: > > >>

Re: [PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-31 Thread Sascha Hauer
On Fri, Mar 28, 2014 at 05:44:17PM +0100, Laurent Pinchart wrote: > Hi Sascha, > > On Thursday 27 March 2014 15:47:12 Sascha Hauer wrote: > > On Thu, Mar 27, 2014 at 03:08:10PM +0100, Laurent Pinchart wrote: > > [snip] > > > > That's clearer indeed. Can the parents and rates depend on the board,

Re: [PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-28 Thread Laurent Pinchart
Hi Sascha, On Thursday 27 March 2014 15:47:12 Sascha Hauer wrote: > On Thu, Mar 27, 2014 at 03:08:10PM +0100, Laurent Pinchart wrote: [snip] > > That's clearer indeed. Can the parents and rates depend on the board, or > > on the SoC only ? We might be getting dangerously close to specifying > >

Re: [PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-28 Thread Laurent Pinchart
Hi Sylwester, On Thursday 27 March 2014 16:02:52 Sylwester Nawrocki wrote: > On 27/03/14 15:08, Laurent Pinchart wrote: > > On Thursday 27 March 2014 14:57:56 Sylwester Nawrocki wrote: > >> On 27/03/14 14:24, Laurent Pinchart wrote: > >>> On Thursday 27 March 2014 13:16:19 Sylwester Nawrocki wrote

Re: [PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-27 Thread Bartlomiej Zolnierkiewicz
Hi Sylwester, On Thursday, March 27, 2014 01:16:19 PM Sylwester Nawrocki wrote: > This function adds a helper function to configure clock parents and rates > as specified in clock-parents, clock-rates DT properties for a consumer > device and a call to it before driver is bound to a device. > >

Re: [PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-27 Thread Sylwester Nawrocki
On 27/03/14 15:08, Laurent Pinchart wrote: > On Thursday 27 March 2014 14:57:56 Sylwester Nawrocki wrote: >> On 27/03/14 14:24, Laurent Pinchart wrote: >>> On Thursday 27 March 2014 13:16:19 Sylwester Nawrocki wrote: This function adds a helper function to configure clock parents and rates >>>

Re: [PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-27 Thread Sascha Hauer
On Thu, Mar 27, 2014 at 03:08:10PM +0100, Laurent Pinchart wrote: > Hi Sylwester, > > On Thursday 27 March 2014 14:57:56 Sylwester Nawrocki wrote: > > On 27/03/14 14:24, Laurent Pinchart wrote: > > > On Thursday 27 March 2014 13:16:19 Sylwester Nawrocki wrote: > > >> This function adds a helper fu

Re: [PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-27 Thread Sylwester Nawrocki
Hi Laurent, On 27/03/14 14:24, Laurent Pinchart wrote: > On Thursday 27 March 2014 13:16:19 Sylwester Nawrocki wrote: >> This function adds a helper function to configure clock parents and rates >> as specified in clock-parents, clock-rates DT properties for a consumer >> device and a call to it b

Re: [PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-27 Thread Laurent Pinchart
Hi Sylwester, On Thursday 27 March 2014 14:57:56 Sylwester Nawrocki wrote: > On 27/03/14 14:24, Laurent Pinchart wrote: > > On Thursday 27 March 2014 13:16:19 Sylwester Nawrocki wrote: > >> This function adds a helper function to configure clock parents and rates > >> as specified in clock-parents

Re: [PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-27 Thread Laurent Pinchart
Hi Sylwester, Thank you for the patch. On Thursday 27 March 2014 13:16:19 Sylwester Nawrocki wrote: > This function adds a helper function to configure clock parents and rates > as specified in clock-parents, clock-rates DT properties for a consumer > device and a call to it before driver is boun

[PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-27 Thread Sylwester Nawrocki
This function adds a helper function to configure clock parents and rates as specified in clock-parents, clock-rates DT properties for a consumer device and a call to it before driver is bound to a device. Signed-off-by: Sylwester Nawrocki --- Changes since v2: - edited in clock-bindings.txt, ad