zephyr/drivers/timer
Andy Ross f04f797c2b drivers/timer: New, tickless-capable RISC-V machine timer driver
Rewritten driver along the lines of all the other new drivers,
implementing the new timer API.  Structurally, the machine timer is an
up-counter with comparator, so it works broadly the same way HPET and
NRF do.  The quirk here is that it's a 64 bit counter, which needs a
little more care.

Unlike the other timer reworks, this driver has grown by a few lines
as it used to be very simple.  But in exchange, we get full tickless
support on the platform.

Fixes #10609 in the process (the 64 bit timer registers are unlatched
for sub-word transfers, so you have to use careful ordering).

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-11-13 17:10:07 -05:00
..
altera_avalon_timer_hal.c include/system_timer.h: Timer API cleanup 2018-10-16 15:03:10 -04:00
arcv2_timer0.c drivers: Remove board.h include 2018-11-01 13:21:11 -04:00
CMakeLists.txt board: posix: add native_posix board definition 2017-12-27 14:16:08 -05:00
cortex_m_systick.c drivers/timer: New ARM SysTick driver 2018-11-13 17:10:07 -05:00
hpet.c drivers/timer/hpet: Completely new, simplified, tickless-capable driver 2018-11-13 17:10:07 -05:00
Kconfig drivers/timer: New, tickless-capable RISC-V machine timer driver 2018-11-13 17:10:07 -05:00
legacy_api.h kernel: New timeout implementation 2018-10-16 15:03:10 -04:00
loapic_timer.c drivers: Remove board.h include 2018-11-01 13:21:11 -04:00
native_posix_timer.c include/system_timer.h: Timer API cleanup 2018-10-16 15:03:10 -04:00
nrf_rtc_timer.c drivers/timer: Reworked NRF driver with tickless support 2018-11-13 17:10:07 -05:00
pulpino_timer.c drivers: Remove board.h include 2018-11-01 13:21:11 -04:00
riscv_machine_timer.c drivers/timer: New, tickless-capable RISC-V machine timer driver 2018-11-13 17:10:07 -05:00
sys_clock_init.c drivers/timer: Add more default stubs 2018-11-13 17:10:07 -05:00
xtensa_sys_timer.c timer: xtensa_sys_timer: set compare register at init 2018-11-03 12:40:33 -04:00