zephyr/drivers
Nicolas Pitre 0fc9c9f46a drivers/timer/arm_arch_timer: driver revamp
Couple issues:

- `sys_clock_set_timeout()` should not base its `mtime` on the current
  time either. Tracking the `last_tick` and `last_elapsed` values avoids
  the need for all the tick rounding computation.

- The MIN_DELAY thing is pointless. The hardware performs a signed
  comparison. If the delay gets close or even behind current time then
  the IRQ will be triggered right away. This is unlikely to happen very
  often anyway so the constant overhead is uncalled for.

- Runtime 64-bits divisions on 32-bits hardware are very expensive.

- The timer must be enabled before the count can return a sensible
  value during driver init (at least on qemu_cortex_a9).

Discussion in PR #54919 applies here too.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2023-03-02 15:37:35 -05:00
..
adc pm: adc: MEC172x adc device PM support 2023-03-01 08:41:16 -06:00
audio soc: arm: nordic_nrf: replace NRF_DT_CHECK_PIN_ASSIGNMENTS 2023-02-28 08:42:05 -08:00
bbram drivers: bbram: Add Microchip MCP7940N driver 2023-03-01 08:55:39 +01:00
bluetooth Bluetooth: HCI: Make driver stack sizes configurable 2023-02-22 11:58:15 +01:00
cache cache: kconfig: Reorder and fix entries 2022-12-30 10:53:22 +00:00
can drivers: can: sja1000: move public header file to public include path 2023-02-23 09:00:34 +01:00
clock_control drivers: clock_control: Add Infineon CAT1 clock control driver 2023-03-01 11:44:57 +01:00
console drivers: uart_mux: Fix documentation of uart_mux_recv() 2023-01-19 08:44:34 -06:00
coredump everywhere: Fix legacy include paths 2022-07-18 16:16:47 +00:00
counter drivers: counter: align ace rtc get_value with api 2023-02-20 11:13:45 +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: Shorten unmute ramp time 2023-02-28 11:43:14 +01:00
debug kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
disk drivers: flashdisk: Change page info verification log message 2023-03-02 17:08:39 +01:00
display drivers: display ssd1306: Remove referencing to cfb.h 2023-02-20 16:29:25 +01:00
dma drivers: dma: stm32: dmamux: support dmamux2 and bdma 2023-03-01 15:58:27 +01:00
edac edac: ibecc: Correct indication of -ENODATA 2022-11-19 14:18:40 +09:00
eeprom emul: Cleanup emul directory 2023-02-24 11:50:10 +01:00
entropy drivers: entropy_nrf5: Eliminate direct use of WFE instructions 2023-02-21 15:02:54 +01:00
espi driver: Port80: npcx: defer Port80 code sending to workqueue thread 2023-02-20 09:43:20 +01:00
ethernet drivers: net: initialize logging for the slip module 2023-02-20 16:44:23 +01:00
flash soc: arm: nordic_nrf: replace NRF_DT_CHECK_PIN_ASSIGNMENTS 2023-02-28 08:42:05 -08:00
fpga drivers: fpga: ice40: add support for the Lattice iCE40 series 2022-11-17 09:17:44 -05:00
fuel_gauge emul: Cleanup emul directory 2023-02-24 11:50:10 +01:00
gpio drivers: gpio: Add Infineon CAT1 GPIO driver 2023-03-01 11:44:57 +01:00
hwinfo drivers: hwinfo: Fix Gecko hwinfo driver building 2022-12-20 22:50:19 +01:00
i2c soc: arm: nordic_nrf: replace NRF_DT_CHECK_PIN_ASSIGNMENTS 2023-02-28 08:42:05 -08:00
i2s soc: arm: nordic_nrf: replace NRF_DT_CHECK_PIN_ASSIGNMENTS 2023-02-28 08:42:05 -08:00
i3c i3c: add cdns i3c driver 2022-12-12 15:51:16 -05:00
ieee802154 drivers: ieee802154: nrf5: added continuous_carrier API call 2023-02-24 09:26:01 +01:00
interrupt_controller drivers: interrupt: add esp32s3 interrupt controller 2023-02-27 19:41:33 +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: led_strip: add WS2812 I2S-based driver 2023-02-24 10:12:47 -08:00
lora drivers: lora: fix busy after sx12xx_lora_test_cw 2023-02-23 09:25:39 +01: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 drivers: mipi_dsi: mcux: add missing soc.h 2022-10-24 12:44:57 +02:00
misc drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
mm drivers: mm: Use mm_drv_bank module 2023-02-20 09:48:44 +01:00
modem modem: hl7800: Fix DNS resolver for all address families 2023-02-20 09:51:38 +01:00
net drivers: net: Move Ethernet device definition for SLIP to ethernet 2023-02-20 10:52:20 +01:00
neural_net include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
pcie drivers: pcie: late initialization of pcie when PCIe controller is used 2022-12-10 09:47:26 +01:00
peci driver: peci: mec: enable peci in ec subsystem register 2022-11-10 22:39:43 -05:00
pinctrl drivers: pinctrl: Add pinctrl support for TI K3 devices 2023-03-02 13:50:06 +01:00
pm_cpu_ops arm64: implement arch_system_halt 2022-11-23 11:37:08 +01:00
power_domain power_domain: gpio: only run actions for children on domain 2023-01-24 09:42:11 +01:00
ps2 include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
ptp_clock drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
pwm drivers: pwm: mchp_xec: fix PWM control register updates 2023-03-02 10:55:33 +01:00
regulator drivers: regulator: add support for RaspberryPi Pico regulator. 2023-03-02 21:14:34 +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 emul: Fix endianness fault in sbs gauge emulator 2023-03-02 21:14:44 +01:00
serial drivers: serial: Add pinctrl support to the NS16550 driver 2023-03-02 13:50:06 +01:00
spi soc: arm: nordic_nrf: replace NRF_DT_CHECK_PIN_ASSIGNMENTS 2023-02-28 08:42:05 -08:00
syscon include: add missing errno.h include 2022-10-11 18:05:17 +02:00
timer drivers/timer/arm_arch_timer: driver revamp 2023-03-02 15:37:35 -05:00
usb drivers: usb_dc_rpi_pico: fix stability issue related to control transfers 2023-03-02 12:58:24 +01:00
usb_c usb-c: tcpc: Add support for Dead Battery 2023-02-06 10:03:13 +01:00
video include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
virtualization drivers: ivshmem: msi.h header only required for ivshmem-doorbell 2022-12-10 09:47:26 +01:00
w1 crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
watchdog watchdog: dw: Fixed interrupt configuration 2023-02-20 06:53:06 -05:00
wifi drivers: wifi: esp_at: support WiFi 'iface_status' callback 2023-02-21 18:09:40 +01:00
xen include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
CMakeLists.txt subsys/mgmt/ec_host_cmd: update directory structure 2023-02-28 10:42:23 +01:00
Kconfig subsys/mgmt/ec_host_cmd: update directory structure 2023-02-28 10:42:23 +01:00