Skip to content

timer: Return a u64 directly

Sean Anderson u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Changes in v2 from the cover letter

- Document timer API with kerneldoc
- mchp-pit64b was added since v1, so convert it
- Document when get_count may be called, and what assumptions the timer subsystem makes about drivers

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2doc: Document timer APIdoc/api/index.rst doc/api/timer.rst include/timer.h+33 -222 replies
2/2timer: Return count from timer_ops.get_countarch/riscv/lib/andes_plmt.c arch/riscv/lib/sifive_clint.c drivers/timer/ag101p_timer.c +21 more+59 -973 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchClaudiu BezneaSimon Glass
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] timer: Return a u64 directly

This series will conflict with [1]. One could be rebased on the other, depending on what order they are merged.

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=205908

Changes in v2:
- Document timer API with kerneldoc
- mchp-pit64b was added since v1, so convert it
- Document when get_count may be called, and what assumptions the timer subsystem makes about drivers

Sean Anderson (2):
doc: Document timer API
timer: Return count from timer_ops.get_count

 arch/riscv/lib/andes_plmt.c       |  6 ++--
 arch/riscv/lib/sifive_clint.c     |  6 ++--
 doc/api/index.rst                 |  1 +
 doc/api/timer.rst                 |  8 +++++
 drivers/timer/ag101p_timer.c      |  5 ++-
 drivers/timer/altera_timer.c      |  6 ++--
 drivers/timer/arc_timer.c         |  6 ++--
 drivers/timer/ast_timer.c         |  6 ++--
 drivers/timer/atcpit100_timer.c   |  5 ++-
 drivers/timer/atmel_pit_timer.c   |  6 ++--
 drivers/timer/cadence-ttc.c       |  6 ++--
 drivers/timer/dw-apb-timer.c      |  6 ++--
 drivers/timer/mchp-pit64b-timer.c |  6 ++--
 drivers/timer/mpc83xx_timer.c     |  6 ++--
 drivers/timer/mtk_timer.c         |  6 ++--
 drivers/timer/nomadik-mtu-timer.c |  6 ++--
 drivers/timer/omap-timer.c        |  6 ++--
 drivers/timer/ostm_timer.c        |  6 ++--
 drivers/timer/riscv_timer.c       | 21 ++++++------
 drivers/timer/rockchip_timer.c    |  5 ++-
 drivers/timer/sandbox_timer.c     |  6 ++--
 drivers/timer/sti-timer.c         |  6 ++--
 drivers/timer/stm32_timer.c       |  6 ++--
 drivers/timer/timer-uclass.c      |  3 +-
 drivers/timer/tsc_timer.c         |  6 ++--
 include/timer.h                   | 53 +++++++++++++++++--------------
 26 files changed, 91 insertions(+), 118 deletions(-)
 create mode 100644 doc/api/timer.rst
Signature · 1 line
2.28.0