Re: [PATCH v4 2/8] timer: Add helper for drivers using timebase fallback

2020-09-15 Thread Bin Meng
On Thu, Sep 10, 2020 at 4:09 AM Sean Anderson wrote: > > This function is designed to be used when a timer used to be initialized by > the cpu (e.g. RISC-V timers), but now is initialized by dm_timer_init. In > such a case, the timer may prefer to use the clocks and clock-frequency > properties, b

Re: [PATCH v4 2/8] timer: Add helper for drivers using timebase fallback

2020-09-10 Thread Sean Anderson
On 9/10/20 9:38 AM, Simon Glass wrote: > On Wed, 9 Sep 2020 at 14:09, Sean Anderson wrote: >> >> This function is designed to be used when a timer used to be initialized by >> the cpu (e.g. RISC-V timers), but now is initialized by dm_timer_init. In >> such a case, the timer may prefer to use the

Re: [PATCH v4 2/8] timer: Add helper for drivers using timebase fallback

2020-09-10 Thread Simon Glass
On Wed, 9 Sep 2020 at 14:09, Sean Anderson wrote: > > This function is designed to be used when a timer used to be initialized by > the cpu (e.g. RISC-V timers), but now is initialized by dm_timer_init. In > such a case, the timer may prefer to use the clocks and clock-frequency > properties, but

[PATCH v4 2/8] timer: Add helper for drivers using timebase fallback

2020-09-09 Thread Sean Anderson
This function is designed to be used when a timer used to be initialized by the cpu (e.g. RISC-V timers), but now is initialized by dm_timer_init. In such a case, the timer may prefer to use the clocks and clock-frequency properties, but should be able to fall back on using the cpu's timebase-frequ