zephyr/drivers/serial
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 drivers: serial: Add driver for smartbond 2022-08-31 20:32:03 +02:00
Kconfig drivers: serial: Add driver for smartbond 2022-08-31 20:32:03 +02:00
Kconfig.altera_jtag drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.apbuart drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.b91 drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.cc13xx_cc26xx drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.cc32xx drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.cmsdk_apb drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.esp32 drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.gd32 drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.gecko drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.imx drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.it8xxx2 drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.leuart_gecko drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.litex drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.lpc11u6x drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.mcux drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.mcux_flexcomm drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.mcux_iuart drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.mcux_lpsci drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.mcux_lpuart drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.miv drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.msp432p4xx drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.native_posix drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.neorv32 drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.npcx drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.nrfx drivers: serial: nrf: Tweak default values for workaround 2022-08-11 12:15:11 +02:00
Kconfig.ns16550 drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.numicro drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.pl011 drivers: serial: pl011: Remove unused Kconfig symbols 2022-07-21 16:40:28 +00:00
Kconfig.psoc6 drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.rcar drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.rpi_pico drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.rtt drivers: serial: rtt: Remove DT_COMPAT_<compat> defines 2022-08-31 21:57:52 +00:00
Kconfig.rv32m1_lpuart drivers: serial: rv32m1_lpuart: Remove unused Kconfig symbols 2022-07-21 16:40:28 +00:00
Kconfig.sam0 drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.sifive drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.smartbond drivers: serial: Add driver for smartbond 2022-08-31 20:32:03 +02:00
Kconfig.stellaris drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.stm32 drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.test drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.uart_sam drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.usart_sam drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.xec drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.xen drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.xlnx drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
Kconfig.xmc4xxx drivers: serial: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02:00
leuart_gecko.c
serial_esp32_usb.c drivers: serial: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
serial_test.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
uart_altera_jtag.c drivers: serial: uart_altera_jtag: Fix wrong register address used 2022-06-28 07:34:29 -04:00
uart_apbuart.c drivers/apbuart: fix polling mode 2022-08-10 16:11:11 +02:00
uart_b91.c drivers: serial: telink_b91: fix uart unknown state after boot from mcuboot 2022-06-24 20:25:33 +02:00
uart_cc13xx_cc26xx.c serial: uart_cc13xx_cc26xx: Remove dead code 2022-08-22 12:40:17 -04:00
uart_cc32xx.c
uart_cmsdk_apb.c devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
uart_esp32.c drivers: serial: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
uart_gecko.c
uart_handlers.c
uart_hvc_xen.c
uart_hvc_xen_consoleio.c
uart_imx.c include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00
uart_ite_it8xxx2.c
uart_liteuart.c drivers: use unsigned int for irq_lock() 2022-07-14 14:37:13 -05:00
uart_lpc11u6x.c drivers: serial: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
uart_lpc11u6x.h drivers: serial: lpc11u6x: Remove DT_LABEL usage 2022-06-30 10:32:33 +02:00
uart_mchp_xec.c
uart_mcux.c drivers: serial: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
uart_mcux_flexcomm.c drivers: serial: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
uart_mcux_iuart.c drivers: serial: remove soc.h from iuart 2022-09-05 10:17:13 +02:00
uart_mcux_lpsci.c drivers: serial: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
uart_mcux_lpuart.c drivers: serial: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
uart_miv.c
uart_msp432p4xx.c
uart_native_posix.c drivers: serial: uart_native_posix: Replace use of DT_INST_LABEL 2022-07-04 14:26:30 +00:00
uart_neorv32.c
uart_npcx.c drivers: serial: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
uart_nrfx_uart.c drivers: use unsigned int for irq_lock() 2022-07-14 14:37:13 -05:00
uart_nrfx_uarte.c drivers: serial: nrfx_uarte: Add workaround for bytes dropping 2022-08-01 18:06:46 +02:00
uart_ns16550.c drivers: serial: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
uart_ns16550.h
uart_numicro.c
uart_pipe.c drivers: serial: pipe: init device at compile time and check if ready 2022-08-19 11:51:26 +02:00
uart_pl011.c serial: uart_pl011: Fix compile error for CONFIG_UART_INTERRUPT_DRIVEN=n 2022-08-08 06:57:45 +01:00
uart_psoc6.c
uart_rcar.c drivers: serial: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
uart_rpi_pico.c
uart_rtt.c segger: Resolve circular include dependencies 2022-08-02 13:09:21 +02:00
uart_rv32m1_lpuart.c drivers: serial: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
uart_sam.c
uart_sam0.c fix: boards: sam0: uart: fix collision_detect parsing 2022-08-12 17:40:48 +02:00
uart_sifive.c
uart_smartbond.c drivers: serial: Add driver for smartbond 2022-08-31 20:32:03 +02:00
uart_stellaris.c
uart_stm32.c devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
uart_stm32.h drivers: serial: stm32: Add wakeup capability support 2022-08-12 08:51:38 +01:00
uart_xlnx_ps.c drivers: serial: uart_xlnx_ps: switch over to DEVICE_MMIO API 2022-08-19 20:41:26 +00:00
uart_xlnx_uartlite.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
uart_xmc4xxx.c drivers: uart_xmc4xxx: Remove unnecessary cast 2022-06-05 14:29:26 +02:00
usart_gd32.c drivers: serial: gd32: use reset API 2022-08-29 10:30:49 +02:00
usart_sam.c drivers: serial: atmel_sam: Added hw flow control 2022-06-22 12:24:22 +02:00