zephyr/drivers/timer
Gerard Marull-Paretas 79e6b0e0f6 includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h>
As of today <zephyr/zephyr.h> is 100% equivalent to <zephyr/kernel.h>.
This patch proposes to then include <zephyr/kernel.h> instead of
<zephyr/zephyr.h> since it is more clear that you are including the
Kernel APIs and (probably) nothing else. <zephyr/zephyr.h> sounds like a
catch-all header that may be confusing. Most applications need to
include a bunch of other things to compile, e.g. driver headers or
subsystem headers like BT, logging, etc.

The idea of a catch-all header in Zephyr is probably not feasible
anyway. Reason is that Zephyr is not a library, like it could be for
example `libpython`. Zephyr provides many utilities nowadays: a kernel,
drivers, subsystems, etc and things will likely grow. A catch-all header
would be massive, difficult to keep up-to-date. It is also likely that
an application will only build a small subset. Note that subsystem-level
headers may use a catch-all approach to make things easier, though.

NOTE: This patch is **NOT** removing the header, just removing its usage
in-tree. I'd advocate for its deprecation (add a #warning on it), but I
understand many people will have concerns.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-09-05 16:31:47 +02: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 includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +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: Check return of clock functions 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