Re: [PATCH 2/2] timer: imx-tpm: add imx tpm timer support

2017-05-30 Thread Dong Aisheng
Hi Daniel, On Thu, May 25, 2017 at 10:54:55PM +0200, Daniel Lezcano wrote: > On Sat, May 13, 2017 at 03:29:35PM +0800, Dong Aisheng wrote: > > IMX Timer/PWM Module (TPM) supports both timer and pwm function while > > this patch only adds the timer support. PWM would be added later. > > > > The TP

Re: [PATCH 2/2] timer: imx-tpm: add imx tpm timer support

2017-05-30 Thread Dong Aisheng
Hi Arnd, On Thu, May 25, 2017 at 11:02:22PM +0200, Arnd Bergmann wrote: > On Sat, May 13, 2017 at 9:29 AM, Dong Aisheng wrote: > > > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig > > index 3356ab8..03dfd6a 100644 > > --- a/drivers/clocksource/Kconfig > > +++ b/drivers/cl

Re: [PATCH 2/2] timer: imx-tpm: add imx tpm timer support

2017-05-25 Thread Arnd Bergmann
On Sat, May 13, 2017 at 9:29 AM, Dong Aisheng wrote: > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig > index 3356ab8..03dfd6a 100644 > --- a/drivers/clocksource/Kconfig > +++ b/drivers/clocksource/Kconfig > @@ -590,6 +590,11 @@ config CLKSRC_IMX_GPT > depends on A

Re: [PATCH 2/2] timer: imx-tpm: add imx tpm timer support

2017-05-25 Thread Daniel Lezcano
On Sat, May 13, 2017 at 03:29:35PM +0800, Dong Aisheng wrote: > IMX Timer/PWM Module (TPM) supports both timer and pwm function while > this patch only adds the timer support. PWM would be added later. > > The TPM counter, compare and capture registers are clocked by an > asynchronous clock that c

[PATCH 2/2] timer: imx-tpm: add imx tpm timer support

2017-05-13 Thread Dong Aisheng
IMX Timer/PWM Module (TPM) supports both timer and pwm function while this patch only adds the timer support. PWM would be added later. The TPM counter, compare and capture registers are clocked by an asynchronous clock that can remain enabled in low power modes. Cc: Daniel Lezcano Cc: Thomas Gl