u-boot/drivers/timer
Chanho Park 74fbd74ed2 riscv: timer: add timer_get_boot_us for BOOTSTAGE
timer_get_boot_us function is required to record the boot stages as
us-based timestamp.
To get a micro-second time from a timer tick, this converts the
formula like below to avoid zero result of (tick / rate) part.

From: time(us) = (tick / rate) * 1000000
To  : time(us) = (tick * 1000) / (rate / 1000)

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2023-10-04 17:55:20 +08:00
..
altera_timer.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
andes_plmt_timer.c riscv: Rename Andes PLIC to PLICSW 2022-11-03 13:27:56 +08:00
arc_timer.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
arm_global_timer.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
arm_twd_timer.c zynq: Convert arm twd timer to DM driver 2022-09-12 12:03:17 +02:00
ast_timer.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
atmel_pit_timer.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
atmel_tcb_timer.c timer: atmel_tcb_timer: add atmel_tcb driver 2022-04-01 15:42:46 +03:00
cadence-ttc.c timer: cadence: Add bind function to driver 2022-03-30 14:43:26 +02:00
dw-apb-timer.c rockchip: timer: dw-apb-timer: use regs variable with uintptr_t size 2023-05-06 17:28:18 +08:00
fttmr010_timer.c timer: fttmr010: return a previously deleted driver now ported to DM 2023-03-06 17:03:56 -05:00
gxp-timer.c timer: gxp: Add HPE GXP timer support 2022-06-22 21:30:04 -04:00
imx-gpt-timer.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
Kconfig timer: fttmr010: return a previously deleted driver now ported to DM 2023-03-06 17:03:56 -05:00
Makefile riscv: Rename SiFive CLINT to RISC-V ALINT 2023-07-12 13:21:40 +08:00
mchp-pit64b-timer.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mpc83xx_timer.c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
mtk_timer.c timer: mtk: add support for MediaTek MT7981/MT7986 SoCs 2022-09-23 15:09:15 -04:00
nomadik-mtu-timer.c timer: nomadik-mtu: Use dev_read_addr_ptr() 2021-07-14 16:47:57 -04:00
npcm-timer.c timer: npcm: Add NPCM timer support 2022-05-05 09:28:47 -04:00
omap-timer.c omap: timer: add ti,am654-timer compatibility 2023-07-28 10:10:29 -04:00
orion-timer.c timer: orion-timer: Fix problem in early_init_done() 2023-01-17 07:06:37 +01:00
ostm_timer.c Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
riscv_aclint_timer.c riscv: Rename SiFive CLINT to RISC-V ALINT 2023-07-12 13:21:40 +08:00
riscv_timer.c riscv: timer: add timer_get_boot_us for BOOTSTAGE 2023-10-04 17:55:20 +08:00
rockchip_timer.c rockchip: timer: rockchip_timer: fix compatible and driver name 2023-03-19 14:12:01 +08:00
sandbox_timer.c sandbox: fix building with CONFIG_SPL_TIMER=y 2023-03-01 11:22:40 -07:00
sp804_timer.c timer: add SP804 UCLASS timer driver 2022-11-02 13:58:17 -04:00
stm32_timer.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
tegra-timer.c drivers: timer: add driver for ARMv7 based Tegra devices and T210 2023-02-02 10:16:41 -07:00
timer-uclass.c timer: Remove unused NEEDS_MANUAL_RELOC code bits 2023-09-14 10:42:25 -04:00
tsc_timer.c efi: Use a fixed value for the timer clock 2023-03-13 13:53:01 +01:00
xilinx-timer.c timer: xilinx-timer: use timer_conv_64() to fix timer wrap around 2022-11-22 15:02:07 +01:00