u-boot/drivers/timer
Philipp Tomsich cc7ce94e02 rockchip: timer: implement timer_get_boot_us
To make the Rockchip DM timer driver useful for the timing of
bootstages, we need a few enhancements:
 - This implements timer_get_boot_us.
 - This avoids reinitialising the timer, if it has already been
   set up (e.g. by our TPL and SPL stages). Now, we have a single
   timebase ticking from TPL through the full U-Boot.
 - This adds support for reading the timer even before the
   device-model is ready: we find the timer via /chosen/tick-timer,
   then read its address and clock-frequency, and finally read the
   timeval directly).

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2017-09-18 20:40:34 +02:00
..
ae3xx_timer.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
ag101p_timer.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
altera_timer.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
arc_timer.c dm: core: Replace of_offset with accessor (part 2) 2017-06-01 07:03:04 -06:00
ast_timer.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
atmel_pit_timer.c driver: timer: Add the Atmel PIT timer driver 2017-08-26 14:56:08 -04:00
Kconfig driver: timer: Add the Atmel PIT timer driver 2017-08-26 14:56:08 -04:00
Makefile driver: timer: Add the Atmel PIT timer driver 2017-08-26 14:56:08 -04:00
omap-timer.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
rockchip_timer.c rockchip: timer: implement timer_get_boot_us 2017-09-18 20:40:34 +02:00
sandbox_timer.c sandbox: timer: Support the early timer 2016-02-26 08:53:10 -07:00
sti-timer.c STiH410: Add STi timer driver 2017-03-14 20:40:18 -04:00
timer-uclass.c dm: timer: handle being called before dm_root is ready 2017-09-18 20:40:33 +02:00
tsc_timer.c dm: x86: Allow TSC timer to be used before DM is ready 2017-09-16 14:57:44 +08:00