Re: [PATCH RFC v1 4/5] clk: core: add CLK_SET_PARENT_ON flags to support clocks require parent on

2015-05-13 Thread Dong Aisheng
On Wed, May 06, 2015 at 04:34:47PM -0700, Stephen Boyd wrote: > On 05/04, Dong Aisheng wrote: > > On Thu, Apr 30, 2015 at 06:09:38PM -0700, Stephen Boyd wrote: > > > On 04/15, Dong Aisheng wrote: > > > > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > > > > index 7af553d..f2470e5 100644 > > >

Re: [PATCH RFC v1 4/5] clk: core: add CLK_SET_PARENT_ON flags to support clocks require parent on

2015-05-06 Thread Stephen Boyd
On 05/04, Dong Aisheng wrote: > On Thu, Apr 30, 2015 at 06:09:38PM -0700, Stephen Boyd wrote: > > On 04/15, Dong Aisheng wrote: > > > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > > > index 7af553d..f2470e5 100644 > > > --- a/drivers/clk/clk.c > > > +++ b/drivers/clk/clk.c > > > @@ -43,6 +43

Re: [PATCH RFC v1 4/5] clk: core: add CLK_SET_PARENT_ON flags to support clocks require parent on

2015-05-04 Thread Dong Aisheng
On Thu, Apr 30, 2015 at 06:09:38PM -0700, Stephen Boyd wrote: > On 04/15, Dong Aisheng wrote: > > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > > index 7af553d..f2470e5 100644 > > --- a/drivers/clk/clk.c > > +++ b/drivers/clk/clk.c > > @@ -43,6 +43,11 @@ static int clk_core_get_phase(struct

Re: [PATCH RFC v1 4/5] clk: core: add CLK_SET_PARENT_ON flags to support clocks require parent on

2015-04-30 Thread Stephen Boyd
On 04/15, Dong Aisheng wrote: > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > index 7af553d..f2470e5 100644 > --- a/drivers/clk/clk.c > +++ b/drivers/clk/clk.c > @@ -43,6 +43,11 @@ static int clk_core_get_phase(struct clk_core *clk); > static bool clk_core_is_prepared(struct clk_core *clk);

[PATCH RFC v1 4/5] clk: core: add CLK_SET_PARENT_ON flags to support clocks require parent on

2015-04-15 Thread Dong Aisheng
On Freescale i.MX7D platform, all clocks operations, including enable/disable, rate change and re-parent, requires its parent clock on. Current clock core can not support it well. This patch introduce a new flag CLK_SET_PARENT_ON to handle this special case in clock core that enable its parent cloc