zephyr/drivers/timer
Erwan Gouriou 7f2cb0fd22 drivers: timer: stm32: Specific handling for L0 LSI
On L0 series, LSI runs at 37KHz while LPTIM driver only supports speeds
up to 32768Hz (to avoid counter overflow). Consequence is a time running
faster than reality (x1.13)
Solution to this is the implementation of the LPTIM prescaler support.

While moving driver configuration from Kconfig to DT, this case was
not taken into account and the effect was LPTIM counter overflow which
consequence is worse than the slightly faster timer.
Reproduce the initial behavior with this piece of code that will be
removed once prescaler support is available.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-09-02 10:41:59 +00:00
..
altera_avalon_timer_hal.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00
apic_timer.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00
apic_tsc.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
arcv2_timer0.c drivers: arc/designware: remove unused <soc.h> 2022-08-03 07:46:14 -04:00
arm_arch_timer.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00
cc13x2_cc26x2_rtc_timer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
CMakeLists.txt intel_adsp: Unify cavs and ace timers 2022-07-06 15:11:07 -04:00
cortex_m_systick.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
esp32c3_sys_timer.c west.yml: update hal to v4.4.1 base 2022-09-01 21:48:18 +00:00
hpet.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00
intel_adsp_timer.c intel_adsp: rename clock registers due to possible conflict 2022-07-28 14:11:23 -04:00
ite_it8xxx2_timer.c drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
Kconfig timer: add support for MIPS CP0 timer 2022-01-19 13:48:21 -05:00
Kconfig.altera_avalon drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.apic drivers/timer/apic_tsc: Select the 64-bit cycle counter in deadline mode 2022-07-08 21:59:06 -04:00
Kconfig.arcv2 drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.arm_arch drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.cavs intel_adsp: Unify cavs and ace timers 2022-07-06 15:11:07 -04:00
Kconfig.cc13x2_cc26x2_rtc drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.cortex_m_systick drivers: timer: cortex_m_systick: improve ISR installation 2021-12-04 07:34:53 -05:00
Kconfig.esp32c3_sys drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.hpet drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.ite_it8xxx2 drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.leon_gptimer drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.litex drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.mchp_xec_rtos drivers: timer: improve sys_timer_disable usage 2021-12-04 07:34:53 -05:00
Kconfig.mcux_gpt drivers: mcux_gpt_timer: Added GPT timer for HW clock 2021-12-13 20:13:21 -05:00
Kconfig.mcux_lptmr drivers: timer: improve sys_timer_disable usage 2021-12-04 07:34:53 -05:00
Kconfig.mcux_os drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.mips_cp0 timer: Add tickless support for the MIPS CP0 timer 2022-01-19 13:48:21 -05:00
Kconfig.native_posix drivers: timer: improve sys_timer_disable usage 2021-12-04 07:34:53 -05:00
Kconfig.npcx_itim drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.nrf_rtc drivers: timer: Increase default user-allocable channel count to 3 2022-08-19 12:08:59 +02:00
Kconfig.rcar_cmt drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.riscv_machine soc/riscv/sifive-freedom/fe310: use correct SYS_CLOCK_HW_CYCLES_PER_SEC 2022-05-24 08:58:43 -07:00
Kconfig.rv32m1_lptmr drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.sam0_rtc drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.stm32_lptim drivers/timer: stm32: Enable lptim driver based on dt status 2022-09-02 10:41:59 +00:00
Kconfig.xlnx_psttc drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.xtensa drivers/xtensa_sys_timer: Change default timer ID 2022-02-21 22:10:03 -05:00
leon_gptimer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
litex_timer.c drivers: use unsigned int for irq_lock() 2022-07-14 14:37:13 -05:00
mchp_xec_rtos_timer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
mcux_gpt_timer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
mcux_lptmr_timer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
mcux_os_timer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
mips_cp0_timer.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
native_posix_timer.c include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00
npcx_itim_timer.c drivers: timer: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
nrf_rtc_timer.c drivers: timer: nrf_rtc_timer: Fix assert conditions 2022-08-05 15:15:34 +02:00
rcar_cmt_timer.c drivers: timer: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
riscv_machine_timer.c dts: riscv: gd32vf103: Use IRQ7 for interrupt of riscv_machine_timer 2022-08-10 13:08:27 +02:00
rv32m1_lptmr_timer.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00
sam0_rtc_timer.c drivers: use unsigned int for irq_lock() 2022-07-14 14:37:13 -05:00
stm32_lptim_timer.c drivers: timer: stm32: Specific handling for L0 LSI 2022-09-02 10:41:59 +00:00
sys_clock_init.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
xlnx_psttc_timer.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00
xlnx_psttc_timer_priv.h drivers: timer: xlnx_psttc_timer: Implement tickless support 2020-03-21 14:20:17 -04:00
xtensa_sys_timer.c drivers: timer: provide timer irq to tests 2022-06-29 10:31:00 +02:00