zephyr/drivers/timer
Zhengwei Wang 96ff0f1e04 drivers: timer: Optimized the ambiq stimer driver
The original driver has two defects: 1. When setting the next timeout
value the original implementation simply sets a delta value equal to
ticks * CYC_PER_TICK. This operation is reckless and may incorrectly
"reset" the fractional tick, causing clock skew. 2. The original
implementation doesn't handle the counter overflow situation. When the
counter overflows from 0xffffffff to 0x0, the uptimer counter becomes
incorrect. We have fixed above issue by rewriting most of the functions in
this driver and verified it by running all tests under
tests/kernel/timer folder.

Signed-off-by: Zhengwei Wang <zwang@ambiq.com>
2024-06-06 07:52:32 -04:00
..
altera_avalon_timer_hal.c
ambiq_stimer.c drivers: timer: Optimized the ambiq stimer driver 2024-06-06 07:52:32 -04:00
apic_timer.c drivers/timer/apic_timer: move to periodic mode 2024-05-29 08:40:43 +02:00
apic_tsc.c drivers/timer/apic_tsc: use ICR as a fallback timeout event source 2024-05-29 08:40:43 +02:00
arcv2_timer0.c
arm_arch_timer.c arm_arch_timer: fix maximum allowed cycles between reports 2024-05-07 21:22:12 -04:00
cc13xx_cc26xx_rtc_timer.c
CMakeLists.txt drivers/timer: MediaTek audio DSP timer device 2024-06-01 05:40:05 -07:00
cortex_m_systick.c
esp32_sys_timer.c soc: esp32xx: refactor clock and RTC subsystems 2024-05-27 01:37:18 -07:00
gecko_burtc_timer.c
hpet.c
intel_adsp_timer.c intel_adsp: power: SoC restores the clock 2024-05-27 02:10:03 -07:00
ite_it8xxx2_timer.c
Kconfig drivers/timer: MediaTek audio DSP timer device 2024-06-01 05:40:05 -07:00
Kconfig.altera_avalon
Kconfig.ambiq
Kconfig.arcv2
Kconfig.arm_arch
Kconfig.cavs
Kconfig.cc13xx_cc26xx_rtc
Kconfig.cortex_m_systick
Kconfig.esp32
Kconfig.gecko
Kconfig.ite_it8xxx2
Kconfig.leon_gptimer
Kconfig.litex
Kconfig.mchp_xec_rtos
Kconfig.mcux_gpt
Kconfig.mcux_lptmr drivers: mcux_lptmr_timer: Fix compat string error 2024-06-05 04:24:30 -07:00
Kconfig.mcux_os
Kconfig.mips_cp0
Kconfig.mtk_adsp drivers/timer: MediaTek audio DSP timer device 2024-06-01 05:40:05 -07:00
Kconfig.native_posix
Kconfig.npcx_itim
Kconfig.nrf_grtc tests: drivers: timer: grtc: Fix GRTC test 2024-05-28 18:53:39 +02:00
Kconfig.nrf_rtc
Kconfig.nrf_xrtc
Kconfig.rcar_cmt
Kconfig.riscv_machine
Kconfig.rv32m1_lptmr
Kconfig.sam0_rtc
Kconfig.smartbond
Kconfig.stm32_lptim
Kconfig.x86 drivers/timer/apic_timer: move to periodic mode 2024-05-29 08:40:43 +02:00
Kconfig.xlnx_psttc
Kconfig.xtensa
leon_gptimer.c
litex_timer.c
mchp_xec_rtos_timer.c
mcux_gpt_timer.c
mcux_lptmr_timer.c drivers: mcux_lptmr_timer: Fix compat string error 2024-06-05 04:24:30 -07:00
mcux_os_timer.c
mips_cp0_timer.c
mtk_adsp_timer.c drivers/timer: MediaTek audio DSP timer device 2024-06-01 05:40:05 -07:00
native_posix_timer.c
npcx_itim_timer.c
nrf_grtc_timer.c drivers: timer: grtc: Update GRTC driver 2024-05-28 18:53:39 +02:00
nrf_rtc_timer.c
rcar_cmt_timer.c
riscv_machine_timer.c
rv32m1_lptmr_timer.c
sam0_rtc_timer.c
smartbond_timer.c smartbond_timer: Fix convertion of watchdog value to LP clock ticks 2024-05-28 17:49:29 +02:00
stm32_lptim_timer.c stm32: power: SoC restores the clock 2024-05-27 02:10:03 -07:00
sys_clock_init.c
xlnx_psttc_timer_priv.h
xlnx_psttc_timer.c
xtensa_sys_timer.c