Re: [RFC/PATCH 09/11] clocksource: add TI 32.768 Hz counter driver

2015-10-05 Thread Tony Lindgren
* Tony Lindgren [151005 03:56]: > * Daniel Lezcano [151001 15:04]: > > >+ clocks_calc_mult_shift(_mult, _shift, > > >+ 32768, NSEC_PER_SEC, 12); > > >+ > > >+ ret = clocksource_mmio_init(sync32k_cnt_reg, "32k_counter", 32768, >

Re: [RFC/PATCH 09/11] clocksource: add TI 32.768 Hz counter driver

2015-10-05 Thread Tony Lindgren
* Daniel Lezcano [151001 15:04]: > >+clocks_calc_mult_shift(_mult, _shift, > >+32768, NSEC_PER_SEC, 12); > >+ > >+ret = clocksource_mmio_init(sync32k_cnt_reg, "32k_counter", 32768, > >+250, 32,

Re: [RFC/PATCH 09/11] clocksource: add TI 32.768 Hz counter driver

2015-10-01 Thread John Stultz
On Tue, Sep 29, 2015 at 1:44 PM, Felipe Balbi wrote: > Introduce a new clocksource driver for Texas > Instruments 32.768 Hz device which is available > on most OMAP-like devices. > > Signed-off-by: Felipe Balbi > --- > drivers/clocksource/Kconfig| 8 +++ >

Re: [RFC/PATCH 09/11] clocksource: add TI 32.768 Hz counter driver

2015-10-01 Thread Daniel Lezcano
Hi Felipe, On 09/29/2015 10:44 PM, Felipe Balbi wrote: Introduce a new clocksource driver for Texas Instruments 32.768 Hz device which is available on most OMAP-like devices. Signed-off-by: Felipe Balbi --- [ ... ] +config CLKSRC_TI_32K + bool "Texas Instruments

Re: [RFC/PATCH 09/11] clocksource: add TI 32.768 Hz counter driver

2015-10-01 Thread Felipe Balbi
On Thu, Oct 01, 2015 at 03:20:18PM -0700, John Stultz wrote: > On Tue, Sep 29, 2015 at 1:44 PM, Felipe Balbi wrote: > > Introduce a new clocksource driver for Texas > > Instruments 32.768 Hz device which is available > > on most OMAP-like devices. > > > > Signed-off-by: Felipe Balbi

Re: [RFC/PATCH 09/11] clocksource: add TI 32.768 Hz counter driver

2015-10-01 Thread John Stultz
On Tue, Sep 29, 2015 at 1:44 PM, Felipe Balbi wrote: > Introduce a new clocksource driver for Texas > Instruments 32.768 Hz device which is available > on most OMAP-like devices. > > Signed-off-by: Felipe Balbi > --- > drivers/clocksource/Kconfig| 8 +++ >

[RFC/PATCH 09/11] clocksource: add TI 32.768 Hz counter driver

2015-09-29 Thread Felipe Balbi
Introduce a new clocksource driver for Texas Instruments 32.768 Hz device which is available on most OMAP-like devices. Signed-off-by: Felipe Balbi --- drivers/clocksource/Kconfig| 8 +++ drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-ti-32k.c |