Re: [PATCH v2 05/12] ARM: davinci: da850: switch to using the clocksource driver

2019-02-08 Thread Bartosz Golaszewski
pt., 8 lut 2019 o 13:37 Sekhar Nori napisał(a): > > On 08/02/19 6:04 PM, Bartosz Golaszewski wrote: > > pt., 8 lut 2019 o 13:06 Sekhar Nori napisał(a): > >> > >> On 04/02/19 10:47 PM, Bartosz Golaszewski wrote: > >>> +static const struct davinci_timer_cfg da850_timer_cfg = { > >>> + .reg = {

Re: [PATCH v2 05/12] ARM: davinci: da850: switch to using the clocksource driver

2019-02-08 Thread Sekhar Nori
On 08/02/19 6:04 PM, Bartosz Golaszewski wrote: > pt., 8 lut 2019 o 13:06 Sekhar Nori napisał(a): >> >> On 04/02/19 10:47 PM, Bartosz Golaszewski wrote: >>> +static const struct davinci_timer_cfg da850_timer_cfg = { >>> + .reg = { >>> + .start = DA8XX_TIMER64P0_BASE, >>> +

Re: [PATCH v2 05/12] ARM: davinci: da850: switch to using the clocksource driver

2019-02-08 Thread Bartosz Golaszewski
pt., 8 lut 2019 o 13:06 Sekhar Nori napisał(a): > > On 04/02/19 10:47 PM, Bartosz Golaszewski wrote: > > +static const struct davinci_timer_cfg da850_timer_cfg = { > > + .reg = { > > + .start = DA8XX_TIMER64P0_BASE, > > + .end= DA8XX_TIMER64P0_BASE

Re: [PATCH v2 05/12] ARM: davinci: da850: switch to using the clocksource driver

2019-02-08 Thread Sekhar Nori
On 04/02/19 10:47 PM, Bartosz Golaszewski wrote: > +static const struct davinci_timer_cfg da850_timer_cfg = { > + .reg = { > + .start = DA8XX_TIMER64P0_BASE, > + .end= DA8XX_TIMER64P0_BASE + SZ_4K, SZ_4K - 1 This should have prevented watchdog time

Re: [PATCH v2 05/12] ARM: davinci: da850: switch to using the clocksource driver

2019-02-04 Thread David Lechner
On 2/4/19 11:17 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the platform to using it. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da850.c | 56 ++- 1 file changed, 22 i

[PATCH v2 05/12] ARM: davinci: da850: switch to using the clocksource driver

2019-02-04 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the platform to using it. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da850.c | 56 ++- 1 file changed, 22 insertions(+), 34 deletions(-) diff --git a/arch/ar