Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-24 Thread Mike Turquette
Quoting Thierry Reding (2015-01-23 01:34:10) > On Thu, Jan 22, 2015 at 12:25:46PM -0800, Stephen Boyd wrote: > > On 01/22, Thierry Reding wrote: > > > On Wed, Jan 21, 2015 at 04:16:05PM -0800, Stephen Boyd wrote: > > > > On 01/21/2015 08:13 AM, Thierry Reding wrote: > > > > > From: Thierry Reding

Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-24 Thread Mike Turquette
Quoting Thierry Reding (2015-01-23 01:34:10) On Thu, Jan 22, 2015 at 12:25:46PM -0800, Stephen Boyd wrote: On 01/22, Thierry Reding wrote: On Wed, Jan 21, 2015 at 04:16:05PM -0800, Stephen Boyd wrote: On 01/21/2015 08:13 AM, Thierry Reding wrote: From: Thierry Reding

Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-23 Thread Thierry Reding
On Thu, Jan 22, 2015 at 12:25:46PM -0800, Stephen Boyd wrote: > On 01/22, Thierry Reding wrote: > > On Wed, Jan 21, 2015 at 04:16:05PM -0800, Stephen Boyd wrote: > > > On 01/21/2015 08:13 AM, Thierry Reding wrote: > > > > From: Thierry Reding > > > > > > > > This new function is similar to

Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-23 Thread Thierry Reding
On Thu, Jan 22, 2015 at 12:25:46PM -0800, Stephen Boyd wrote: On 01/22, Thierry Reding wrote: On Wed, Jan 21, 2015 at 04:16:05PM -0800, Stephen Boyd wrote: On 01/21/2015 08:13 AM, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com This new function is similar to

Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-22 Thread Stephen Boyd
On 01/22, Thierry Reding wrote: > On Wed, Jan 21, 2015 at 04:16:05PM -0800, Stephen Boyd wrote: > > On 01/21/2015 08:13 AM, Thierry Reding wrote: > > > From: Thierry Reding > > > > > > This new function is similar to clk_set_parent(), except that it doesn't > > > actually change the parent. It

Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-22 Thread Stephen Boyd
On 01/22, Thierry Reding wrote: On Wed, Jan 21, 2015 at 04:16:05PM -0800, Stephen Boyd wrote: On 01/21/2015 08:13 AM, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com This new function is similar to clk_set_parent(), except that it doesn't actually change the parent. It

Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-21 Thread Thierry Reding
On Wed, Jan 21, 2015 at 04:16:05PM -0800, Stephen Boyd wrote: > On 01/21/2015 08:13 AM, Thierry Reding wrote: > > From: Thierry Reding > > > > This new function is similar to clk_set_parent(), except that it doesn't > > actually change the parent. It merely checks that the given parent clock > >

Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-21 Thread Stephen Boyd
On 01/21/2015 08:13 AM, Thierry Reding wrote: > From: Thierry Reding > > This new function is similar to clk_set_parent(), except that it doesn't > actually change the parent. It merely checks that the given parent clock > can be a parent for the given clock. > > A situation where this is useful

[PATCH v2] clk: Introduce clk_has_parent()

2015-01-21 Thread Thierry Reding
From: Thierry Reding This new function is similar to clk_set_parent(), except that it doesn't actually change the parent. It merely checks that the given parent clock can be a parent for the given clock. A situation where this is useful is to check that a particular setup is valid before

[PATCH v2] clk: Introduce clk_has_parent()

2015-01-21 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This new function is similar to clk_set_parent(), except that it doesn't actually change the parent. It merely checks that the given parent clock can be a parent for the given clock. A situation where this is useful is to check that a particular setup is

Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-21 Thread Stephen Boyd
On 01/21/2015 08:13 AM, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com This new function is similar to clk_set_parent(), except that it doesn't actually change the parent. It merely checks that the given parent clock can be a parent for the given clock. A situation where this

Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-21 Thread Thierry Reding
On Wed, Jan 21, 2015 at 04:16:05PM -0800, Stephen Boyd wrote: On 01/21/2015 08:13 AM, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com This new function is similar to clk_set_parent(), except that it doesn't actually change the parent. It merely checks that the given parent