> 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-frequency. > > Signed-off-by: Sean Anderson <sean...@gmail.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Reviewed-by: Bin Meng <bin.m...@windriver.com> > --- > > (no changes since v4) > > Changes in v4: > - New > > drivers/timer/timer-uclass.c | 25 +++++++++++++++++++++++++ > include/timer.h | 15 +++++++++++++++ > 2 files changed, 40 insertions(+) >
Reviewed-by: Rick Chen <r...@andestech.com>