[PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-09-15 Thread Stefan Roese
This patchset enhaces the recently added Orion Timer driver to support all other Kirkwood & 32bit MVEBU Armada platforms. Additionally, this timer support is then enabled per default for those platforms, so that the board config files don't need to be changed. Also necessary is some dts hacking, so

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-09-01 Thread Stefan Roese
Hi Stefan, On 01.09.22 13:52, Stefan Herbrechtsmeier wrote: Hi, Am 01.09.2022 um 11:27 schrieb Stefan Roese: Hi Tony, On 01.09.22 09:39, Tony Dinh wrote: Some ideas. The get_timer() function looks wrong assigning an uint64_t to ulong. lib/time.c   static uint64_t notrace tick_to_ti

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-09-01 Thread Tony Dinh
Hi Stefan, On Thu, Sep 1, 2022 at 7:51 PM Tony Dinh wrote: > > Hello, > > On Thu, Sep 1, 2022 at 4:46 PM Tony Dinh wrote: > > > > Hi Stefan R, > > > > On Thu, Sep 1, 2022 at 7:35 AM Simon Glass wrote: > > > > > > Hi, > > > > > > On Thu, 1 Sept 2022 at 03:27, Stefan Roese wrote: > > > > > > > >

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-09-01 Thread Tony Dinh
Hello, On Thu, Sep 1, 2022 at 4:46 PM Tony Dinh wrote: > > Hi Stefan R, > > On Thu, Sep 1, 2022 at 7:35 AM Simon Glass wrote: > > > > Hi, > > > > On Thu, 1 Sept 2022 at 03:27, Stefan Roese wrote: > > > > > > Hi Tony, > > > > > > On 01.09.22 09:39, Tony Dinh wrote: > > > > > > > > > > > > >>> S

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-09-01 Thread Tony Dinh
Hi Stefan R, On Thu, Sep 1, 2022 at 7:35 AM Simon Glass wrote: > > Hi, > > On Thu, 1 Sept 2022 at 03:27, Stefan Roese wrote: > > > > Hi Tony, > > > > On 01.09.22 09:39, Tony Dinh wrote: > > > > > > > > >>> Some ideas. > > >>> > > >>> The get_timer() function looks wrong assigning an uint64_t to

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-09-01 Thread Simon Glass
Hi, On Thu, 1 Sept 2022 at 03:27, Stefan Roese wrote: > > Hi Tony, > > On 01.09.22 09:39, Tony Dinh wrote: > > > > >>> Some ideas. > >>> > >>> The get_timer() function looks wrong assigning an uint64_t to ulong. > >>> > >>> lib/time.c > >>> > >>> static uint64_t notrace tick_to_time(uint64

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-09-01 Thread Stefan Herbrechtsmeier
Hi, Am 01.09.2022 um 11:27 schrieb Stefan Roese: Hi Tony, On 01.09.22 09:39, Tony Dinh wrote: Some ideas. The get_timer() function looks wrong assigning an uint64_t to ulong. lib/time.c   static uint64_t notrace tick_to_time(uint64_t tick)   uint64_t notrace get_ticks(void)  

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-09-01 Thread Stefan Roese
Hi Tony, On 01.09.22 09:39, Tony Dinh wrote: Some ideas. The get_timer() function looks wrong assigning an uint64_t to ulong. lib/time.c static uint64_t notrace tick_to_time(uint64_t tick) uint64_t notrace get_ticks(void) uint64_t __weak notrace get_ticks(void) ulo

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-09-01 Thread Tony Dinh
Hi Simon, On Wed, Aug 31, 2022 at 7:27 PM Simon Glass wrote: > > Hi Tony, > > On Wed, 31 Aug 2022 at 19:39, Tony Dinh wrote: > > > > Hi Stefan, > > > > On Wed, Aug 31, 2022 at 2:53 PM Tony Dinh wrote: > > > > > > Hi Stefan, > > > > > > On Wed, Aug 31, 2022 at 8:08 AM Tony Dinh wrote: > > > > >

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-31 Thread Simon Glass
Hi Tony, On Wed, 31 Aug 2022 at 19:39, Tony Dinh wrote: > > Hi Stefan, > > On Wed, Aug 31, 2022 at 2:53 PM Tony Dinh wrote: > > > > Hi Stefan, > > > > On Wed, Aug 31, 2022 at 8:08 AM Tony Dinh wrote: > > > > > > Hi Stefan, > > > > > > On Wed, Aug 31, 2022 at 12:22 AM Stefan Roese wrote: > > >

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-31 Thread Tony Dinh
Hi Stefan, On Wed, Aug 31, 2022 at 2:53 PM Tony Dinh wrote: > > Hi Stefan, > > On Wed, Aug 31, 2022 at 8:08 AM Tony Dinh wrote: > > > > Hi Stefan, > > > > On Wed, Aug 31, 2022 at 12:22 AM Stefan Roese wrote: > > > > > > Hi Tony, > > > > > > On 31.08.22 08:30, Tony Dinh wrote: > > > > Hi Stefan,

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-31 Thread Tony Dinh
Hi Stefan, On Wed, Aug 31, 2022 at 8:08 AM Tony Dinh wrote: > > Hi Stefan, > > On Wed, Aug 31, 2022 at 12:22 AM Stefan Roese wrote: > > > > Hi Tony, > > > > On 31.08.22 08:30, Tony Dinh wrote: > > > Hi Stefan, > > > > > > On Tue, Aug 30, 2022 at 10:08 PM Stefan Roese wrote: > > >> > > >> Hi Ton

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-31 Thread Tony Dinh
Hi Stefan, On Wed, Aug 31, 2022 at 12:22 AM Stefan Roese wrote: > > Hi Tony, > > On 31.08.22 08:30, Tony Dinh wrote: > > Hi Stefan, > > > > On Tue, Aug 30, 2022 at 10:08 PM Stefan Roese wrote: > >> > >> Hi Tony, > >> > >> On 31.08.22 07:02, Stefan Roese wrote: > >>> Hi Tony, > >>> > >>> On 31.08

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-31 Thread Stefan Roese
Hi Tony, On 31.08.22 08:30, Tony Dinh wrote: Hi Stefan, On Tue, Aug 30, 2022 at 10:08 PM Stefan Roese wrote: Hi Tony, On 31.08.22 07:02, Stefan Roese wrote: Hi Tony, On 31.08.22 00:15, Tony Dinh wrote: Hi Stefan, On Tue, Aug 30, 2022 at 4:53 AM Stefan Roese wrote: This patchset enhac

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-30 Thread Tony Dinh
Hi Stefan, On Tue, Aug 30, 2022 at 11:19 PM Stefan Roese wrote: > > Hi Tony, > > On 31.08.22 07:08, Stefan Roese wrote: > > Hi Tony, > > > > On 31.08.22 07:02, Stefan Roese wrote: > >> Hi Tony, > >> > >> On 31.08.22 00:15, Tony Dinh wrote: > >>> Hi Stefan, > >>> > >>> On Tue, Aug 30, 2022 at 4:53

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-30 Thread Tony Dinh
Hi Stefan, On Tue, Aug 30, 2022 at 10:08 PM Stefan Roese wrote: > > Hi Tony, > > On 31.08.22 07:02, Stefan Roese wrote: > > Hi Tony, > > > > On 31.08.22 00:15, Tony Dinh wrote: > >> Hi Stefan, > >> > >> On Tue, Aug 30, 2022 at 4:53 AM Stefan Roese wrote: > >>> > >>> This patchset enhaces the rec

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-30 Thread Stefan Roese
Hi Tony, On 31.08.22 07:08, Stefan Roese wrote: Hi Tony, On 31.08.22 07:02, Stefan Roese wrote: Hi Tony, On 31.08.22 00:15, Tony Dinh wrote: Hi Stefan, On Tue, Aug 30, 2022 at 4:53 AM Stefan Roese wrote: This patchset enhaces the recently added Orion Timer driver to support all other Kir

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-30 Thread Stefan Roese
Hi Tony, On 31.08.22 07:02, Stefan Roese wrote: Hi Tony, On 31.08.22 00:15, Tony Dinh wrote: Hi Stefan, On Tue, Aug 30, 2022 at 4:53 AM Stefan Roese wrote: This patchset enhaces the recently added Orion Timer driver to support all other Kirkwood & 32bit MVEBU Armada platforms. Additionally

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-30 Thread Stefan Roese
Hi Tony, On 31.08.22 00:15, Tony Dinh wrote: Hi Stefan, On Tue, Aug 30, 2022 at 4:53 AM Stefan Roese wrote: This patchset enhaces the recently added Orion Timer driver to support all other Kirkwood & 32bit MVEBU Armada platforms. Additionally, this timer support is then enabled per default f

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-30 Thread Tony Dinh
Hi Stefan, On Tue, Aug 30, 2022 at 4:53 AM Stefan Roese wrote: > > This patchset enhaces the recently added Orion Timer driver to support > all other Kirkwood & 32bit MVEBU Armada platforms. Additionally, this > timer support is then enabled per default for those platforms, so that > the board co

[PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-30 Thread Stefan Roese
This patchset enhaces the recently added Orion Timer driver to support all other Kirkwood & 32bit MVEBU Armada platforms. Additionally, this timer support is then enabled per default for those platforms, so that the board config files don't need to be changed. Also necessary is some dts hacking, so