zephyr/drivers/timer
Andy Ross ed9434c812 soc: intel_adsp: Clean up shim driver
Each platform was defining its own shim.h header, with slightly
variant field definitions, for a register block that is almost
completely compatible between versions.  This is made worse by the
fact that these represent an API imported fairly early from SOF, the
upstream version of which has since diverged.

Move the existing shim struct into a header ("cavs-shim.h") of its
own, remove a bunch of unused symbols, fill in definitions for some
registers that were left out, correct naming to match the hardware
docs in a few places, make sure all hardware dependencies are source
from devicetree only, and modify existing usage to use the new API
exclusively.

Interestingly this leaves the older shim.h header in place, as it
turns out to contain definitions for a bunch of things that were never
part of the shim register block.  Those will be unified in separate
patches.

Finally: note that the existing IPM_CAVS_IDC driver (soon to be
removed from all the intel_adsp soc's) is still using the old API, so
redeclare the minimal subset that it needs for the benefit of the
platforms in transition.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-11-23 13:23:54 -05:00
..
altera_avalon_timer_hal.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
apic_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
apic_tsc.c clock: add k_cycle_get_64 2021-11-08 13:41:53 -05:00
arcv2_timer0.c tests: boot_time: remove all the code and instrumentation feeding into test 2021-05-05 10:41:15 -04:00
arm_arch_timer.c clock: add k_cycle_get_64 2021-11-08 13:41:53 -05:00
cavs_timer.c soc: intel_adsp: Clean up shim driver 2021-11-23 13:23:54 -05:00
cc13x2_cc26x2_rtc_timer.c clock: add k_cycle_get_64 2021-11-08 13:41:53 -05:00
CMakeLists.txt drivers: timer: build as static library 2021-08-17 06:06:03 -04:00
cortex_m_systick.c drivers: systick: fix cycle count in sys_clock_set_timeout() 2021-05-20 08:44:55 -05:00
esp32c3_sys_timer.c drivers: clock: esp32c3: fix clock basis 2021-11-22 08:30:15 -05:00
hpet.c clock: add k_cycle_get_64 2021-11-08 13:41:53 -05:00
ite_it8xxx2_timer.c ITE drivers/timer: update timer_init() definition 2021-11-09 11:18:42 +01:00
Kconfig clock: add k_cycle_get_64 2021-11-08 13:41:53 -05:00
Kconfig.stm32_lptim kconfig: drivers: experimental settings now uses select EXPERIMENTAL 2021-10-25 10:46:48 +02:00
leon_gptimer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
litex_timer.c clock: add k_cycle_get_64 2021-11-08 13:41:53 -05:00
mchp_xec_rtos_timer.c Microchip: XEC RTOS timer: Add MEC172x support to driver 2021-07-27 09:29:34 -04:00
mcux_lptmr_timer.c drivers: timer: add NXP LPTMR timer driver 2021-07-14 22:54:34 +03:00
mcux_os_timer.c clock: add k_cycle_get_64 2021-11-08 13:41:53 -05:00
native_posix_timer.c clock: add k_cycle_get_64 2021-11-08 13:41:53 -05:00
npcx_itim_timer.c clock: add k_cycle_get_64 2021-11-08 13:41:53 -05:00
nrf_rtc_timer.c drivers: timer: nrf_rtc_timer: Fix race condition 2021-07-19 12:02:27 +02:00
rcar_cmt_timer.c drivers: timer: add R-Car cmt driver 2021-04-22 10:38:45 +02:00
riscv_machine_timer.c clock: add k_cycle_get_64 2021-11-08 13:41:53 -05:00
rv32m1_lptmr_timer.c clock: rename z_timer_cycle_get_32 -> sys_clock_cycle_get_32 2021-03-19 11:22:17 -04:00
sam0_rtc_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
stm32_lptim_timer.c drivers/timer: stm32 lptim: Update for u5 series support 2021-10-07 15:38:40 -04:00
sys_clock_init.c device: remove PM capability from SYS_DEVICE_DEFINE 2021-11-19 10:11:32 +01:00
xlnx_psttc_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04: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: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00