Re: [PATCH v1 03/14] clk: Add of_clk_match() for device drivers

2013-08-16 Thread Kumar Gala
On Aug 16, 2013, at 11:43 AM, Kumar Gala wrote: > > On Aug 15, 2013, at 12:02 AM, Mike Turquette wrote: > >>> Right now we have >>> >>> pll8: pll8 { >>> #clock-cells = <0>; >>> compatible = "qcom,pll"; >>> clocks = <&pxo>; >>> }; >>> >>> i

Re: [PATCH v1 03/14] clk: Add of_clk_match() for device drivers

2013-08-16 Thread Kumar Gala
On Aug 15, 2013, at 12:02 AM, Mike Turquette wrote: >> Right now we have >> >>pll8: pll8 { >>#clock-cells = <0>; >>compatible = "qcom,pll"; >>clocks = <&pxo>; >>}; >> >> in DT and >> >>static struct pll_desc pll8_desc = {

Re: [PATCH v1 03/14] clk: Add of_clk_match() for device drivers

2013-08-15 Thread Stephen Boyd
On 08/14, Mike Turquette wrote: > Quoting Stephen Boyd (2013-08-12 22:48:39) > > On 08/12, Mike Turquette wrote: > > > Quoting Stephen Boyd (2013-07-24 17:43:31) > > > > In similar fashion as of_regulator_match() add an of_clk_match() > > > > function that finds an initializes clock init_data struc

Re: [PATCH v1 03/14] clk: Add of_clk_match() for device drivers

2013-08-12 Thread Stephen Boyd
On 08/12, Mike Turquette wrote: > Quoting Stephen Boyd (2013-07-24 17:43:31) > > In similar fashion as of_regulator_match() add an of_clk_match() > > function that finds an initializes clock init_data structs from > > devicetree. Drivers should use this API to find clocks that their > > device is p

Re: [PATCH v1 03/14] clk: Add of_clk_match() for device drivers

2013-07-25 Thread Stephen Boyd
On 07/25, Tomasz Figa wrote: > Hi Stephen, > > On Wednesday 24 of July 2013 17:43:31 Stephen Boyd wrote: > > In similar fashion as of_regulator_match() add an of_clk_match() > > function that finds an initializes clock init_data structs from > > devicetree. Drivers should use this API to find cloc

Re: [PATCH v1 03/14] clk: Add of_clk_match() for device drivers

2013-07-25 Thread Tomasz Figa
Hi Stephen, On Wednesday 24 of July 2013 17:43:31 Stephen Boyd wrote: > In similar fashion as of_regulator_match() add an of_clk_match() > function that finds an initializes clock init_data structs from > devicetree. Drivers should use this API to find clocks that their > device is providing and t