Re: [PATCH V3 2/3] ARM: clk-gate2: Add API imx_clk_gate2_exclusive for clk_gate2

2014-08-10 Thread Shengjiu Wang
On Sat, Aug 09, 2014 at 09:33:17PM +0800, Shawn Guo wrote: > On Fri, Aug 08, 2014 at 03:02:48PM +0800, Shengjiu Wang wrote: > > As some clocks are mutually exlcusive, they can't be enabled simultaneously, > > So add this new API for registering exclusive clock, the enable function > > will > > che

Re: [PATCH V3 2/3] ARM: clk-gate2: Add API imx_clk_gate2_exclusive for clk_gate2

2014-08-09 Thread Shawn Guo
On Fri, Aug 08, 2014 at 03:02:48PM +0800, Shengjiu Wang wrote: > As some clocks are mutually exlcusive, they can't be enabled simultaneously, > So add this new API for registering exclusive clock, the enable function will > check if there is exclusive clock and it is not enabled, then this clock ca

[PATCH V3 2/3] ARM: clk-gate2: Add API imx_clk_gate2_exclusive for clk_gate2

2014-08-08 Thread Shengjiu Wang
As some clocks are mutually exlcusive, they can't be enabled simultaneously, So add this new API for registering exclusive clock, the enable function will check if there is exclusive clock and it is not enabled, then this clock can be enabled, otherwise, it will return error. Signed-off-by: Shengj