zephyr/drivers/timer
Jun Lin 2bda7b87ee driver: timer: npcx: bypass timer counter reading issue
Originally, when the timer's source clock is 32.768 kHz, the timer driver
uses two consecutive reads to ensure the timer reading is correct.
However, it is not robust enough due to an asynchronous timing issue in
the chip. The workaround is to add at least two NOPs between the
LDR and CMP instructions. This commit implements the workaround in the
assembly code to ensure it is not affected by the compiler toolchain
or optimization flags.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2024-12-16 15:55:16 +01:00
..
altera_avalon_timer_hal.c
ambiq_stimer.c drivers: timer: ambiq: add clock source selection for stimer 2024-12-03 04:01:45 +01: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: Export sys_clock_cycle_get_64() implementations 2024-12-06 12:14:19 +01:00
cortex_m_systick.c timer: cortex_m_systick: use direct interrupt handler instead of C-function 2024-08-14 15:57:15 -05:00
esp32_sys_timer.c drivers: esp32: Interrupts flags configuration 2024-08-22 14:25:25 -04:00
export.c drivers: timer: Export sys_clock_cycle_get_64() implementations 2024-12-06 12:14:19 +01:00
gecko_burtc_timer.c drivers: timer: gecko_burtc: Remove unused include 2024-11-26 15:42:02 -05:00
hpet.c x86: revert removing soc.h from atom soc 2024-03-04 20:07:30 +01:00
intel_adsp_timer.c intel_adsp: power: SoC restores the clock 2024-05-27 02:10:03 -07:00
ite_it8xxx2_timer.c style: drivers: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
Kconfig drivers: add the ch32v00x systick driver 2024-11-26 14:41:46 +00:00
Kconfig.altera_avalon
Kconfig.ambiq drivers: timer: Add support for Apollo3 SoCs system timer (STIMER) 2024-05-07 18:57:19 +02:00
Kconfig.arcv2
Kconfig.arm_arch
Kconfig.cavs
Kconfig.cc13xx_cc26xx_rtc
Kconfig.cortex_m_systick
Kconfig.esp32 drivers: timer: esp32c2: Add support 2024-08-16 14:08:22 -04:00
Kconfig.gecko hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.ite_it8xxx2
Kconfig.leon_gptimer
Kconfig.litex
Kconfig.mchp_xec_rtos
Kconfig.mcux_gpt
Kconfig.mcux_lptmr drivers: timer: updated lptmr_timer binding 2024-06-11 17:04:26 +03:00
Kconfig.mcux_os drivers: timer: NXP OS Timer updated for low power modes 2024-03-25 09:35:51 +01:00
Kconfig.mec5 drivers: timer: mec5: Driver using Microchip RTOS timer as kernel tick 2024-10-22 20:41:32 +02:00
Kconfig.mips_cp0
Kconfig.mtk_adsp drivers/timer: MediaTek audio DSP timer device 2024-06-01 05:40:05 -07:00
Kconfig.native_posix drivers/timer native_posix: Allow without BOARD_NATIVE_POSIX 2024-10-01 10:47:55 +01:00
Kconfig.npcx_itim
Kconfig.nrf_grtc drivers: timer: nrf_grtc_timer: Align Zephyr to new AUTOEN read manner 2024-10-07 18:42:14 +02:00
Kconfig.nrf_rtc drivers: timer: move SYSTEM_CLOCK_WAIT to Kconfig.nrf_xrtc 2024-01-30 21:00:44 +00:00
Kconfig.nrf_xrtc drivers: timer: add GRTC driver 2024-01-30 21:00:44 +00:00
Kconfig.rcar_cmt
Kconfig.riscv_machine
Kconfig.rv32m1_lptmr
Kconfig.sam0_rtc soc: atmel: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:43:26 -06:00
Kconfig.silabs drivers: timer: silabs: Add sleeptimer timer driver 2024-10-24 17:51:01 +02:00
Kconfig.smartbond drivers: timer: Add timer driver to Renesas SmartBond(tm) 2024-04-25 16:17:53 +02:00
Kconfig.stm32_lptim soc: st: Add support for STOP3 on STM32U5 2024-06-15 04:44:26 -04:00
Kconfig.sy1xx_sys_timer driver: timer: Add support for sy1xx 2024-09-16 20:19:31 +02:00
Kconfig.ti_dm_timer drivers: timer: Add TI DM TIMER support 2024-06-13 20:25:14 -04:00
Kconfig.wch_ch32v00x drivers: add the ch32v00x systick driver 2024-11-26 14:41:46 +00:00
Kconfig.x86 drivers: apic_tsc: revert add dependency of DYNAMIC_INTERRUPTS 2024-06-13 23:54:29 -05:00
Kconfig.xlnx_psttc
Kconfig.xtensa
leon_gptimer.c
litex_timer.c drivers: timer: litex: add missing include 2024-01-19 15:13:53 +00:00
mchp_mec5_ktimer.c drivers: timer: mec5: Driver using Microchip RTOS timer as kernel tick 2024-10-22 20:41:32 +02:00
mchp_xec_rtos_timer.c hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
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 zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY 2024-10-03 17:06:52 +01:00
mips_cp0_timer.c
mtk_adsp_timer.c boards/mediatek: Add mt8196_adsp 2024-11-28 20:51:50 +01:00
native_posix_timer.c everywhere: replace double words 2024-06-22 05:40:22 -04:00
npcx_itim_timer.c driver: timer: npcx: bypass timer counter reading issue 2024-12-16 15:55:16 +01:00
nrf_grtc_timer.c drivers: timer: grtc: Add LFPRC as the source of GRTC 2024-11-27 21:06:20 +00:00
nrf_rtc_timer.c drivers: timer: nrf_rtc_timer: Change HAL to HALY in RTC timer driver 2023-12-14 09:28:15 +01:00
rcar_cmt_timer.c
riscv_machine_timer.c riscv_machine_timer: fix maximum allowed cycles between reports 2024-05-07 21:22:12 -04:00
rv32m1_lptmr_timer.c
sam0_rtc_timer.c
silabs_sleeptimer_timer.c drivers: timer: silabs: Add sleeptimer timer driver 2024-10-24 17:51:01 +02:00
smartbond_timer.c zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY 2024-10-03 17:06:52 +01:00
stm32_lptim_timer.c drivers: stm32 lptim driver with a exact LPTIM timeout value 2024-11-16 15:05:26 -05:00
sy1xx_sys_timer.c soc: sensry: udma, pad renaming 2024-11-16 15:06:43 -05:00
sys_clock_init.c
ti_dmtimer.c drivers: timer: Disable prescalar for TI DM Timer 2024-11-27 10:39:21 -05:00
wch_systick_ch32v00x.c drivers: add the ch32v00x systick driver 2024-11-26 14:41:46 +00:00
xlnx_psttc_timer.c
xlnx_psttc_timer_priv.h
xtensa_sys_timer.c