u-boot/drivers/timer
Sean Anderson 7616e3687e timer: Add a test for timer_timebase_fallback
To test this function, sandbox CPU must set cpu_platdata.timebase_freq on
bind. It also needs to expose a method to set the current cpu. I also make
some most members of cpu_sandbox_ops static.

On the timer side, the device tree property
sandbox,timebase-frequency-fallback controls whether sandbox_timer_probe
falls back to time_timebase_fallback or to SANDBOX_TIMER_RATE.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-09-30 08:54:45 +08:00
..
ag101p_timer.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
altera_timer.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
arc_timer.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
ast_timer.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
atcpit100_timer.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
atmel_pit_timer.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
cadence-ttc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
dw-apb-timer.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
Kconfig riscv: Rework riscv timer driver to only support S-mode 2020-09-30 08:54:45 +08:00
Makefile timer: Add driver for Nomadik Multi Timer Unit (MTU) 2020-01-22 17:47:56 -05:00
mpc83xx_timer.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mtk_timer.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nomadik-mtu-timer.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
omap-timer.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
ostm_timer.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
riscv_timer.c riscv: Rework riscv timer driver to only support S-mode 2020-09-30 08:54:45 +08:00
rockchip_timer.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sandbox_timer.c timer: Add a test for timer_timebase_fallback 2020-09-30 08:54:45 +08:00
sti-timer.c timer: sti: use clk API to get timer clock rate 2020-03-24 14:23:35 +01:00
stm32_timer.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
timer-uclass.c timer: Add helper for drivers using timebase fallback 2020-09-30 08:54:45 +08:00
tsc_timer.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00