zephyr/drivers
Stephanos Ioannidis fc941d583e drivers: timer: xlnx_psttc_timer: Implement tickless support
This commit reworks the Xilinx TTC timer driver to use the "match" mode
instead of the "interval" mode which counts up to the specified value
and resets to zero.

Using the "match" mode ensures that the timer keeps counting even after
an interrupt is triggered, and facilitates the tickless mode support
implementation.

This also allows `z_timer_cycle_get_32` to return the correct cycle
count when interrupt is locked; thereby, fixing the k_busy_wait hang
issue.

Note that the TTC "match" mode emulation (and tickless timer operation)
is only stable when the QEMU icount mode is enabled.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2020-03-21 14:20:17 -04:00
..
adc Revert "global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT()" 2020-03-19 18:45:13 +01:00
audio drivers: audio: tlv320dac310x: Convert to the new GPIO API 2020-02-05 12:00:36 +01:00
bluetooth kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
can drivers: can: loopback: Use thread to send frames. 2020-03-12 16:10:09 +02:00
clock_control drivers: clock_control: nrf: Reworked calibration to use k_timer 2020-03-19 15:15:23 +01:00
console drivers/console: Removing left-over cmake directive about telnet 2020-03-16 11:29:54 -04:00
counter Revert "global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT()" 2020-03-19 18:45:13 +01:00
crypto drivers: crypto: stm32: Add CAP_NO_IV_PREFIX capability 2020-03-12 17:52:46 +01:00
debug tracing: cleanup and split segger/rtt configuration options 2020-02-07 15:58:05 -05:00
display kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
dma drivers: dma: dma_dw: convert to DT_INST defines 2020-03-11 07:59:38 -06:00
eeprom Revert "global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT()" 2020-03-19 18:45:13 +01:00
entropy drivers: entropy: gecko: add entropy driver based on GECKO TRNG 2020-03-19 15:45:01 -05:00
espi drivers: espi: xec: Extend automatic warning VWire ack mechanism. 2020-03-13 10:34:49 -04:00
ethernet drivers: ethernet: eth_sam_gmac: Detect and report link status 2020-03-21 15:37:59 +02:00
flash drivers: flash: spi_nor: avoid coverity warning in untested code 2020-03-19 17:13:52 -04:00
gpio Revert "global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT()" 2020-03-19 18:45:13 +01:00
hwinfo drivers: hwinfo: Don't disable CLOE on SAM3x seies 2020-02-27 21:14:54 +01:00
i2c Revert "global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT()" 2020-03-19 18:45:13 +01:00
i2s drivers: i2s: Kconfig.sam_ssc: Enable support to SAMV71 2020-03-10 14:43:36 +02:00
ieee802154 drivers: Add missing debug/stack.h include 2020-03-19 18:45:13 +01:00
interrupt_controller interrupt_controller: gic: Fix GICD_ICFGR field definition names 2020-03-19 14:15:40 +01:00
ipm treewide: use full path to ipm.h header 2020-01-26 17:52:12 +01:00
kscan drivers: kscan: Introduce SDL mouse driver 2020-03-11 13:23:19 -05:00
led drivers: led: ht16k33: reorder pin interrupt configuration 2020-02-05 12:00:36 +01:00
led_strip kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
lora kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
modem drivers: modem: wncm14a2a: fix RX socket src/dst port assignment 2020-03-20 10:54:51 +01:00
net drivers: modem: Implement uart_pipe interface for GSM modem 2020-01-28 12:44:17 +02:00
neural_net kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
pcie global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
peci drivers: peci: Add PECI driver for microchip XEC family 2020-03-13 18:53:04 +02:00
pinmux drivers: adc: Add STM32L1X ADC support 2020-03-19 03:10:39 -05:00
ps2 drivers: ps2: mchp_xec: convert to DT_INST defines 2020-03-11 07:59:38 -06:00
ptp_clock kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
pwm drivers: pwm_nrfx: Wait until PWM is stopped before restarting it 2020-03-19 12:29:51 +01:00
sensor drivers/sensor: add support to IIS2MDC magnetometer sensor 2020-03-20 14:53:42 -05:00
serial drivers: serial: nrfx_uarte: Improve TX only mode 2020-03-20 14:36:29 -05:00
spi Revert "global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT()" 2020-03-19 18:45:13 +01:00
timer drivers: timer: xlnx_psttc_timer: Implement tickless support 2020-03-21 14:20:17 -04:00
usb drivers/usb: usb_dc_stm32: Convert to DT_INST 2020-03-17 11:03:10 -06:00
video drivers: video: sw_generator: Flagged signal management 2020-03-18 15:40:55 -05:00
watchdog drivers: watchdog: wwdg_stm32: convert to DT_INST defines 2020-03-17 11:03:10 -06:00
wifi drivers: wifi: Add ESP8266 and ESP32 wifi modem driver 2020-03-21 19:08:02 +02:00
CMakeLists.txt drivers: peci: Add Kconfig for PECI driver 2020-03-13 18:53:04 +02:00
Kconfig drivers: peci: Add Kconfig for PECI driver 2020-03-13 18:53:04 +02:00