Re: [PATCH 2/3] MIPS: JZ4740: Export timer API

2012-09-02 Thread Thierry Reding
On Sun, Sep 02, 2012 at 10:27:37PM +0200, Lars-Peter Clausen wrote: > On 09/02/2012 10:21 PM, Thierry Reding wrote: > > On Sun, Sep 02, 2012 at 04:45:43PM +0200, Lars-Peter Clausen wrote: > >> On 09/02/2012 11:52 AM, Thierry Reding wrote: > >>> This is a prerequisite for allowing the PWM driver to

Re: [PATCH 2/3] MIPS: JZ4740: Export timer API

2012-09-02 Thread Lars-Peter Clausen
On 09/02/2012 10:21 PM, Thierry Reding wrote: > On Sun, Sep 02, 2012 at 04:45:43PM +0200, Lars-Peter Clausen wrote: >> On 09/02/2012 11:52 AM, Thierry Reding wrote: >>> This is a prerequisite for allowing the PWM driver to be converted to >>> the PWM framework. >>> >>> Signed-off-by: Thierry Reding

Re: [PATCH 2/3] MIPS: JZ4740: Export timer API

2012-09-02 Thread Thierry Reding
On Sun, Sep 02, 2012 at 04:45:43PM +0200, Lars-Peter Clausen wrote: > On 09/02/2012 11:52 AM, Thierry Reding wrote: > > This is a prerequisite for allowing the PWM driver to be converted to > > the PWM framework. > > > > Signed-off-by: Thierry Reding > > I'd prefer to keep the timer functions in

Re: [PATCH 2/3] MIPS: JZ4740: Export timer API

2012-09-02 Thread Lars-Peter Clausen
On 09/02/2012 11:52 AM, Thierry Reding wrote: > This is a prerequisite for allowing the PWM driver to be converted to > the PWM framework. > > Signed-off-by: Thierry Reding I'd prefer to keep the timer functions inline, some of them are called quite often in the system clock code. > --- > arch

[PATCH 2/3] MIPS: JZ4740: Export timer API

2012-09-02 Thread Thierry Reding
This is a prerequisite for allowing the PWM driver to be converted to the PWM framework. Signed-off-by: Thierry Reding --- arch/mips/include/asm/mach-jz4740/timer.h | 35 arch/mips/jz4740/time.c | 2 +- arch/mips/jz4740/timer.c | 128 +++