[PATCH 01/36] clk: Introduce clk_try_parent()

2015-01-21 Thread Thierry Reding
On Tue, Jan 20, 2015 at 01:16:16PM -0500, Rob Clark wrote: > On Tue, Jan 20, 2015 at 1:02 PM, Mike Turquette > wrote: > > Quoting Thierry Reding (2015-01-20 02:48:20) > >> From: Thierry Reding > >> > >> This new function is similar to clk_set_parent(), except that it doesn't > >> actually change

[PATCH 01/36] clk: Introduce clk_try_parent()

2015-01-21 Thread Thierry Reding
On Tue, Jan 20, 2015 at 11:21:24AM -0800, Stephen Boyd wrote: > On 01/20/2015 02:48 AM, Thierry Reding wrote: > > > > /** > > + * clk_try_parent - check if a clock can be the parent clock source of > > another > > + * @clk: clock source > > + * @parent: parent clock source > > + * > > + * This

[PATCH 01/36] clk: Introduce clk_try_parent()

2015-01-20 Thread Rob Clark
On Tue, Jan 20, 2015 at 1:02 PM, Mike Turquette wrote: > Quoting Thierry Reding (2015-01-20 02:48:20) >> 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 par

[PATCH 01/36] clk: Introduce clk_try_parent()

2015-01-20 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 switchi

[PATCH 01/36] clk: Introduce clk_try_parent()

2015-01-20 Thread Stephen Boyd
On 01/20/2015 02:48 AM, Thierry Reding wrote: > > /** > + * clk_try_parent - check if a clock can be the parent clock source of > another > + * @clk: clock source > + * @parent: parent clock source > + * > + * This is like clk_set_parent(), except that it only checks that parent can > + * be th

[PATCH 01/36] clk: Introduce clk_try_parent()

2015-01-20 Thread Mike Turquette
Quoting Thierry Reding (2015-01-20 02:48:20) > 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