zephyr/drivers
Andrzej Głąbek 31c11a5dc0 drivers: nrf_rtc_timer: Fix handling of COMPARE events in set_alarm()
This is a follow-up to commits cf871aec64
and 205e684958.

It turns out that the current implementation of the nrf_rtc_timer may
still fail to properly handle a timeout if that timeout is set in very
specific conditions - when a previously set timeout is about to expire.
When that happens, the new timeout is handled 512 seconds later (when
the system timer overflows) than it should be.

A recently added nrf_rtc_timer test case (test_tight_rescheduling)
exposes this problem and this commit fixes it by adding examination
of COMPARE events that appear during setting of the CC register value
for a given timeout.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2023-02-14 08:28:28 +01:00
..
adc drivers: adc: support side B channels in LPADC driver 2023-02-08 01:08:08 +09:00
audio drivers: audio: dmic_nrfx_pdm: Fix a race condition in the driver 2023-01-18 12:14:07 +01:00
bbram drivers: bbram: Introduce BBRAM shell 2022-12-08 16:47:09 +09:00
bluetooth drivers: hci: stm32wb: Use clock_control driver for clock configuration 2023-01-08 19:48:27 +01:00
cache cache: kconfig: Reorder and fix entries 2022-12-30 10:53:22 +00:00
can drivers: can: can_loopback: Abort pending messages when stopped 2023-01-27 00:58:59 +09:00
clock_control drivers/clock_control: stm32l4: allow enabling MCO output 2023-01-26 09:39:33 +00:00
console drivers: uart_mux: Fix documentation of uart_mux_recv() 2023-01-19 08:44:34 -06:00
coredump
counter drivers: counter: Do not keep RTC value between resets on STM32 2023-02-08 12:10:34 +01:00
crypto drivers: crypto: don't return uninitialized local variable 2023-01-03 13:36:46 +01:00
dac drivers: gd32-dac: add support for gd32a50x 2023-01-12 21:45:38 +01:00
dai drivers: dai: intel: dmic: don't use assert for error handling 2023-01-12 10:01:41 +01:00
debug
disk drivers: disk: Decouple SDMMC and MMC Kconfigs 2023-02-08 10:18:13 +01:00
display drivers: display: ili9341: add 4th parameter in DISCTRL command 2023-01-27 19:24:13 +09:00
dma drivers: dma for stm32u5 returns from a repeated start or stop command 2023-02-11 07:57:44 +09:00
ec_host_cmd_periph ec_host_cmd: add missing name to choice in Kconfig 2023-01-12 16:12:55 +00:00
edac
eeprom drivers: eeprom: Fix splitting format string 2023-01-18 07:27:00 -05:00
entropy drivers: entropy: use non-cache intermediate buffer for RNG 2023-01-26 09:46:20 -06:00
espi espi: it8xxx2: enable espi transaction interrupt 2023-01-18 09:55:44 +01:00
ethernet ethernet: stm32h7: Move DMA buffers from sram3 to sram2 2023-02-09 22:14:07 +09:00
flash drivers: flash: fix uninitialised layout_size 2023-02-08 19:01:32 +09:00
fpga
fuel_gauge fuel_gauge: sbs_gauge: Enable MFR ACC write 2023-01-08 19:48:12 +01:00
gpio gpio/it8xxx2: do not set flag if register does not exist 2023-02-11 08:20:40 +09:00
hwinfo drivers: hwinfo: Fix Gecko hwinfo driver building 2022-12-20 22:50:19 +01:00
i2c i2c: Add an option to dump all I2C messages to the log 2023-01-26 14:55:44 -05:00
i2s drivers: i2s: Improve precision in PLLI2S VCO calculation 2023-01-20 14:35:36 +01:00
i3c i3c: add cdns i3c driver 2022-12-12 15:51:16 -05:00
ieee802154 drivers: ieee802154_rf2xx: Remove magic number 2023-02-10 18:13:48 +01:00
interrupt_controller drivers/interrupt_controller: Move VT-D to new cache API 2023-02-06 10:07:53 +01:00
ipm all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
kscan drivers: kscan: Fix the kscan gt911 driver 2023-02-03 02:24:48 +09:00
led drivers: led: Microchip XEC LED driver using BBLED controller 2022-12-02 11:31:50 +01:00
led_strip drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
lora drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
mbox drivers: mbox: add support for NXP S32 MRU 2023-01-24 14:37:20 +01:00
mdio drivers: mdio: add support for NXP S32 NETC EMDIO 2023-01-24 14:37:20 +01:00
memc treewide: update usage of zephyr_code_relocate 2023-01-17 18:08:37 +01:00
mipi_dsi
misc drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
mm mtl: bugfix: tlb driver should allow remapping all unused pages 2023-02-03 20:59:08 +09:00
modem modem: hl7800: fix low power mode 2023-02-07 00:25:53 -08:00
net net: ip: net_context: AF_PACKET/SOCK_RAW/IPPROTO_RAW: set pkt family 2023-01-09 19:21:18 +01:00
neural_net
pcie drivers: pcie: late initialization of pcie when PCIe controller is used 2022-12-10 09:47:26 +01:00
peci
pinctrl drivers: pinctrl: silabs: add spi handling 2023-01-17 15:37:27 -06:00
pinmux
pm_cpu_ops
power_domain power_domain: gpio: only run actions for children on domain 2023-01-24 09:42:11 +01:00
ps2
ptp_clock
pwm dts: bindings: pwm custom macro for STM32 vendor 2023-01-24 14:49:53 +01:00
regulator drivers: regulator: shell: fix fp number parsing 2023-01-16 16:52:35 +01:00
reset drivers: reset: Add support for reset clear register 2022-12-09 09:43:36 -08:00
sdhc drivers: sdhc: Support HS400 mode on IMX driver 2023-01-14 09:22:22 +01:00
sensor sensor: SHT3x: Fix low repeatability in single shot mode 2023-01-27 18:11:02 +09:00
serial drivers: serial: rp2040: fix rpi pico address mapping 2023-02-09 23:40:38 +01:00
spi spi: SAM add spin lock around all tx/rx/txrx funcs 2023-02-08 01:08:59 +09:00
syscon
timer drivers: nrf_rtc_timer: Fix handling of COMPARE events in set_alarm() 2023-02-14 08:28:28 +01:00
usb drivers: usb_dc_rpi_pico: cleanup incorrect comment and condition 2023-02-11 08:23:03 +09:00
usb_c usb-c: tcpc: Add support for Dead Battery 2023-02-06 10:03:13 +01:00
video
virtualization drivers: ivshmem: msi.h header only required for ivshmem-doorbell 2022-12-10 09:47:26 +01:00
w1
watchdog drivers: ti: cc13xx/cc26xx: implement watchdog timer 2023-01-31 16:08:00 -05:00
wifi libc: minimal: include: move fcntl.h to posix 2023-01-10 09:02:21 +09:00
xen
CMakeLists.txt
Kconfig