Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-03-06 Thread Mike Turquette
Quoting Ray Jui (2015-03-06 12:07:13) > Hi Mike, > > On 3/6/2015 11:55 AM, Mike Turquette wrote: > > Quoting Sascha Hauer (2015-02-26 00:43:19) > >> On Wed, Feb 25, 2015 at 11:42:44PM -0800, Ray Jui wrote: > >>> On 2/25/2015 10:51 PM, Sascha Hauer wrote: > On Wed, Feb 25, 2015 at 10:13:15PM

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-03-06 Thread Ray Jui
Hi Mike, On 3/6/2015 11:55 AM, Mike Turquette wrote: > Quoting Sascha Hauer (2015-02-26 00:43:19) >> On Wed, Feb 25, 2015 at 11:42:44PM -0800, Ray Jui wrote: >>> On 2/25/2015 10:51 PM, Sascha Hauer wrote: On Wed, Feb 25, 2015 at 10:13:15PM -0800, Ray Jui wrote: > Hi Sascha, > >

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-03-06 Thread Mike Turquette
Quoting Sascha Hauer (2015-02-26 00:43:19) > On Wed, Feb 25, 2015 at 11:42:44PM -0800, Ray Jui wrote: > > On 2/25/2015 10:51 PM, Sascha Hauer wrote: > > > On Wed, Feb 25, 2015 at 10:13:15PM -0800, Ray Jui wrote: > > >> Hi Sascha, > > >> > > >> On 2/25/2015 9:54 PM, Sascha Hauer wrote: > > >>> Hi

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-03-06 Thread Mike Turquette
Quoting Ray Jui (2015-03-06 12:07:13) Hi Mike, On 3/6/2015 11:55 AM, Mike Turquette wrote: Quoting Sascha Hauer (2015-02-26 00:43:19) On Wed, Feb 25, 2015 at 11:42:44PM -0800, Ray Jui wrote: On 2/25/2015 10:51 PM, Sascha Hauer wrote: On Wed, Feb 25, 2015 at 10:13:15PM -0800, Ray Jui

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-03-06 Thread Mike Turquette
Quoting Sascha Hauer (2015-02-26 00:43:19) On Wed, Feb 25, 2015 at 11:42:44PM -0800, Ray Jui wrote: On 2/25/2015 10:51 PM, Sascha Hauer wrote: On Wed, Feb 25, 2015 at 10:13:15PM -0800, Ray Jui wrote: Hi Sascha, On 2/25/2015 9:54 PM, Sascha Hauer wrote: Hi Ray, On Wed, Feb

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-03-06 Thread Ray Jui
Hi Mike, On 3/6/2015 11:55 AM, Mike Turquette wrote: Quoting Sascha Hauer (2015-02-26 00:43:19) On Wed, Feb 25, 2015 at 11:42:44PM -0800, Ray Jui wrote: On 2/25/2015 10:51 PM, Sascha Hauer wrote: On Wed, Feb 25, 2015 at 10:13:15PM -0800, Ray Jui wrote: Hi Sascha, On 2/25/2015 9:54 PM,

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-26 Thread Sascha Hauer
On Wed, Feb 25, 2015 at 11:42:44PM -0800, Ray Jui wrote: > On 2/25/2015 10:51 PM, Sascha Hauer wrote: > > On Wed, Feb 25, 2015 at 10:13:15PM -0800, Ray Jui wrote: > >> Hi Sascha, > >> > >> On 2/25/2015 9:54 PM, Sascha Hauer wrote: > >>> Hi Ray, > >>> > >>> On Wed, Feb 04, 2015 at 04:55:00PM -0800,

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-26 Thread Sascha Hauer
On Wed, Feb 25, 2015 at 11:42:44PM -0800, Ray Jui wrote: On 2/25/2015 10:51 PM, Sascha Hauer wrote: On Wed, Feb 25, 2015 at 10:13:15PM -0800, Ray Jui wrote: Hi Sascha, On 2/25/2015 9:54 PM, Sascha Hauer wrote: Hi Ray, On Wed, Feb 04, 2015 at 04:55:00PM -0800, Ray Jui wrote:

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Ray Jui
On 2/25/2015 10:51 PM, Sascha Hauer wrote: > On Wed, Feb 25, 2015 at 10:13:15PM -0800, Ray Jui wrote: >> Hi Sascha, >> >> On 2/25/2015 9:54 PM, Sascha Hauer wrote: >>> Hi Ray, >>> >>> On Wed, Feb 04, 2015 at 04:55:00PM -0800, Ray Jui wrote: Sometimes a clock needs to know the rate of its

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Sascha Hauer
On Wed, Feb 25, 2015 at 10:13:15PM -0800, Ray Jui wrote: > Hi Sascha, > > On 2/25/2015 9:54 PM, Sascha Hauer wrote: > > Hi Ray, > > > > On Wed, Feb 04, 2015 at 04:55:00PM -0800, Ray Jui wrote: > >> Sometimes a clock needs to know the rate of its parent before itself is > >> registered to the

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Ray Jui
Hi Sascha, On 2/25/2015 9:54 PM, Sascha Hauer wrote: > Hi Ray, > > On Wed, Feb 04, 2015 at 04:55:00PM -0800, Ray Jui wrote: >> Sometimes a clock needs to know the rate of its parent before itself is >> registered to the framework. An example is that a PLL may need to >> initialize itself to a

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Sascha Hauer
Hi Ray, On Wed, Feb 04, 2015 at 04:55:00PM -0800, Ray Jui wrote: > Sometimes a clock needs to know the rate of its parent before itself is > registered to the framework. An example is that a PLL may need to > initialize itself to a specific VCO frequency, before registering to the > framework.

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Stephen Boyd
On 02/04/15 16:55, Ray Jui wrote: > Sometimes a clock needs to know the rate of its parent before itself is > registered to the framework. An example is that a PLL may need to > initialize itself to a specific VCO frequency, before registering to the > framework. The parent rate needs to be known,

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Stephen Boyd
On 02/04/15 16:55, Ray Jui wrote: Sometimes a clock needs to know the rate of its parent before itself is registered to the framework. An example is that a PLL may need to initialize itself to a specific VCO frequency, before registering to the framework. The parent rate needs to be known, for

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Sascha Hauer
Hi Ray, On Wed, Feb 04, 2015 at 04:55:00PM -0800, Ray Jui wrote: Sometimes a clock needs to know the rate of its parent before itself is registered to the framework. An example is that a PLL may need to initialize itself to a specific VCO frequency, before registering to the framework. The

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Ray Jui
Hi Sascha, On 2/25/2015 9:54 PM, Sascha Hauer wrote: Hi Ray, On Wed, Feb 04, 2015 at 04:55:00PM -0800, Ray Jui wrote: Sometimes a clock needs to know the rate of its parent before itself is registered to the framework. An example is that a PLL may need to initialize itself to a specific

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Sascha Hauer
On Wed, Feb 25, 2015 at 10:13:15PM -0800, Ray Jui wrote: Hi Sascha, On 2/25/2015 9:54 PM, Sascha Hauer wrote: Hi Ray, On Wed, Feb 04, 2015 at 04:55:00PM -0800, Ray Jui wrote: Sometimes a clock needs to know the rate of its parent before itself is registered to the framework. An

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Ray Jui
On 2/25/2015 10:51 PM, Sascha Hauer wrote: On Wed, Feb 25, 2015 at 10:13:15PM -0800, Ray Jui wrote: Hi Sascha, On 2/25/2015 9:54 PM, Sascha Hauer wrote: Hi Ray, On Wed, Feb 04, 2015 at 04:55:00PM -0800, Ray Jui wrote: Sometimes a clock needs to know the rate of its parent before itself is

[PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-04 Thread Ray Jui
Sometimes a clock needs to know the rate of its parent before itself is registered to the framework. An example is that a PLL may need to initialize itself to a specific VCO frequency, before registering to the framework. The parent rate needs to be known, for PLL multipliers and divisors to be

[PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-04 Thread Ray Jui
Sometimes a clock needs to know the rate of its parent before itself is registered to the framework. An example is that a PLL may need to initialize itself to a specific VCO frequency, before registering to the framework. The parent rate needs to be known, for PLL multipliers and divisors to be