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

Sean Anderson seanga2 at gmail.com
Wed Oct 7 20:37:42 CEST 2020


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

-- 
2.28.0



More information about the U-Boot mailing list