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
..
CMakeLists.txt
Kconfig
Kconfig.altera_avalon
Kconfig.apic
Kconfig.arcv2
Kconfig.arm_arch
Kconfig.cavs
Kconfig.cc13x2_cc26x2_rtc
Kconfig.cortex_m_systick
Kconfig.esp32c3_sys
Kconfig.hpet
Kconfig.ite_it8xxx2
Kconfig.leon_gptimer
Kconfig.litex
Kconfig.mchp_xec_rtos
Kconfig.mcux_gpt
Kconfig.mcux_lptmr
Kconfig.mcux_os
Kconfig.mips_cp0
Kconfig.native_posix
Kconfig.npcx_itim
Kconfig.nrf_rtc drivers: timer: Increase default user-allocable channel count to 3 2022-08-19 12:08:59 +02:00
Kconfig.rcar_cmt
Kconfig.riscv_machine
Kconfig.rv32m1_lptmr
Kconfig.sam0_rtc
Kconfig.stm32_lptim drivers/timer: stm32: Enable lptim driver based on dt status 2022-09-02 10:41:59 +00:00
Kconfig.xlnx_psttc
Kconfig.xtensa
altera_avalon_timer_hal.c
apic_timer.c
apic_tsc.c
arcv2_timer0.c
arm_arch_timer.c
cc13x2_cc26x2_rtc_timer.c
cortex_m_systick.c
esp32c3_sys_timer.c west.yml: update hal to v4.4.1 base 2022-09-01 21:48:18 +00:00
hpet.c
intel_adsp_timer.c
ite_it8xxx2_timer.c
leon_gptimer.c
litex_timer.c
mchp_xec_rtos_timer.c
mcux_gpt_timer.c
mcux_lptmr_timer.c
mcux_os_timer.c
mips_cp0_timer.c
native_posix_timer.c
npcx_itim_timer.c
nrf_rtc_timer.c
rcar_cmt_timer.c
riscv_machine_timer.c
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
stm32_lptim_timer.c drivers: timer: stm32: Check return of clock functions 2022-09-02 10:41:59 +00:00
sys_clock_init.c
xlnx_psttc_timer.c
xlnx_psttc_timer_priv.h
xtensa_sys_timer.c