Re: [RFC v2 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-15 Thread Bill Huang
On Sat, 2013-03-16 at 03:51 +0800, Stephen Warren wrote: > On 03/15/2013 11:45 AM, Russell King - ARM Linux wrote: > > On Thu, Mar 14, 2013 at 02:31:04AM -0700, Bill Huang wrote: > >> Add the below two notifier events so drivers which are interested in > >> knowing the clock status can act accordin

Re: [RFC v2 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-15 Thread Stephen Warren
On 03/15/2013 11:45 AM, Russell King - ARM Linux wrote: > On Thu, Mar 14, 2013 at 02:31:04AM -0700, Bill Huang wrote: >> Add the below two notifier events so drivers which are interested in >> knowing the clock status can act accordingly. This is extremely useful >> in some of the DVFS (Dynamic Vol

Re: [RFC v2 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-15 Thread Russell King - ARM Linux
On Thu, Mar 14, 2013 at 02:31:04AM -0700, Bill Huang wrote: > Add the below two notifier events so drivers which are interested in > knowing the clock status can act accordingly. This is extremely useful > in some of the DVFS (Dynamic Voltage Frequency Scaling) design. > > CLK_PREPARED > CLK_UNPRE

Re: [RFC v2 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-14 Thread Bill Huang
On Thu, 2013-03-14 at 17:31 +0800, Bill Huang wrote: > Add the below two notifier events so drivers which are interested in > knowing the clock status can act accordingly. This is extremely useful > in some of the DVFS (Dynamic Voltage Frequency Scaling) design. > > CLK_PREPARED > CLK_UNPREPARED >

[RFC v2 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-14 Thread Bill Huang
Add the below two notifier events so drivers which are interested in knowing the clock status can act accordingly. This is extremely useful in some of the DVFS (Dynamic Voltage Frequency Scaling) design. CLK_PREPARED CLK_UNPREPARED Signed-off-by: Bill Huang --- drivers/clk/clk.c |3 +++ i