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 = { .l_reg =

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; }; in DT and static struct

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 structs from

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 providing

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 clocks that

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

2013-07-24 Thread Stephen Boyd
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 then iterate over their match table registering the clocks with the init data