zephyr/drivers/serial
Gerard Marull-Paretas f9ab078dd0 drivers: serial: pipe: init device at compile time and check if ready
Initialize UART pipe device at compile time, allowing to constify the
device pointer. Also fix device ready check (was checking for NULL, an
always true condition when using DEVICE_DT_GET).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-19 11:51:26 +02:00
..
CMakeLists.txt drivers: serial: esp32_usb: Add USB serial / JTAG interface 2022-07-07 13:14:00 +00:00
Kconfig uart_pipe: Remove obsolete UART_PIPE_ON_DEV_NAME Kconfig 2022-07-07 09:59:49 +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: Update drivers to use devicetree Kconfig symbol 2022-07-21 10:29:06 +02: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.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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +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 drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
uart_cc32xx.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
uart_cmsdk_apb.c drivers: clock_control: beetle: Use devicetree for clock control 2022-07-14 10:31:50 +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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
uart_handlers.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
uart_hvc_xen_consoleio.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
uart_hvc_xen.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
uart_imx.c include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00
uart_ite_it8xxx2.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +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: check if clock device is ready before accessing 2022-08-09 17:16:16 +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_mcux.c drivers: serial: check if clock device is ready before accessing 2022-08-09 17:16:16 +02:00
uart_miv.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
uart_msp432p4xx.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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_sam0.c fix: boards: sam0: uart: fix collision_detect parsing 2022-08-12 17:40:48 +02:00
uart_sam.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
uart_sifive.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
uart_stellaris.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
uart_stm32.c drivers: uart: stm32: Enable wakeup source only if supported 2022-08-12 11:43:48 -05: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: xilinx: uartps: add pinctrl support 2022-06-28 20:46:11 +02: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 soc: arm: gigadevice: use common API headers 2022-06-22 18:41:19 +09:00
usart_sam.c drivers: serial: atmel_sam: Added hw flow control 2022-06-22 12:24:22 +02:00