zephyr/drivers/serial
Sylvio Alves 92fb477641 drivers: uart: esp32: fix poll in return value
ESP32 uart_poll_in should return 0 on success and not
the total amount of data read.

This also adds a check in fifo_fill call to
avoid negative values, otherwise it would send garbage
to uart

Closes #41352

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-01-04 10:07:15 -05:00
..
CMakeLists.txt xenvm: drivers: serial: Add consoleio Xen serial driver for Domain 0 2021-12-07 12:15:38 -05:00
Kconfig ITE: drivers/serial: add the UART driver for the PM callback function 2021-11-16 21:23:42 -05:00
Kconfig.altera_jtag drivers: uart_altera_jtag_hal: use DEVICE_DT_INST_DEFINE() 2021-08-23 18:53:47 -04:00
Kconfig.apbuart serial: apbuart interrupt support 2020-11-13 14:53:55 -08:00
Kconfig.b91 drivers: serial: introduce new Telink B91 Serial driver 2021-07-21 05:37:12 -04:00
Kconfig.cc13xx_cc26xx drivers: cc13xx_cc26xx: use DT_INST_FOREACH to reduce code duplication 2020-04-23 17:29:53 -05:00
Kconfig.cc32xx kconfig: Turn pointless/confusing 'menuconfig's into 'config's 2019-10-22 13:53:06 -05:00
Kconfig.cmsdk_apb kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.esp32 drivers: esp32: uart: use hal functions 2021-11-03 16:47:32 -04:00
Kconfig.gd32 drivers: serial: Add USART support for GD32V 2021-12-20 17:51:30 +01:00
Kconfig.gecko kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.imx drivers: serial: uart_imx: Convert driver to new DT_INST macros 2020-04-04 09:34:00 -05:00
Kconfig.it8xxx2 ITE: drivers/serial: add the UART driver for the PM callback function 2021-11-16 21:23:42 -05:00
Kconfig.leuart_gecko kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.litex kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.lpc11u6x drivers: serial: Add support for LPC11U6X UART controllers 2020-07-29 20:12:24 +02:00
Kconfig.mcux drivers: serial: uart_mcux: Convert to DT_INST 2020-04-14 17:52:31 -05:00
Kconfig.mcux_flexcomm drivers: uart: mcux_flexcomm: Convert to DT_INST 2020-04-28 16:54:30 -05:00
Kconfig.mcux_iuart drivers: serial: Add NXP IUART driver 2020-08-14 14:51:50 -05:00
Kconfig.mcux_lpsci drivers: uart: mcux_lpsci: Convert to DT_INST 2020-04-28 16:54:30 -05:00
Kconfig.mcux_lpuart drivers: uart: mcux_lpuart: Convert to DT_INST 2020-04-20 15:50:45 -05:00
Kconfig.miv drivers: serial: uart_miv: Fix build errors 2021-05-10 13:15:50 -05:00
Kconfig.msp432p4xx kconfig: Turn pointless/confusing 'menuconfig's into 'config's 2019-10-22 13:53:06 -05:00
Kconfig.native_posix drivers: serial: native_posix: Convert 2nd UART to be devicetree based 2021-02-18 09:06:21 +01:00
Kconfig.neorv32 drivers: serial: neorv32: use shared serial driver init priority 2021-10-19 06:44:46 -04:00
Kconfig.npcx driver: npcx7: fixed typo in Kconfig.npcx files. 2020-12-07 12:11:17 -05:00
Kconfig.nrfx drivers: serial: nrf_uarte: Conditionally call PPI driver 2021-05-07 12:11:32 +02:00
Kconfig.ns16550 uart: ns16550: add workaround to re-enable interrupts in ISR 2021-10-04 20:49:13 -04:00
Kconfig.numicro driver: serial: replace suffix nuvoton with numicro 2021-08-07 20:37:24 -04:00
Kconfig.pl011 drivers: pl011: add SBSA mode 2021-01-24 13:59:55 -05:00
Kconfig.psoc6 drivers: serial: psoc6: Add interrupts support 2021-04-27 09:27:45 -05:00
Kconfig.rcar drivers: uart: Add "Interrupt driven" to R-Car 2021-07-13 09:42:22 -04:00
Kconfig.rtt tracing: fix conflict with RTT locking 2021-05-25 07:36:38 -05:00
Kconfig.rv32m1_lpuart kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.sam0 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.sifive uart: sifive: align txcnt of UART1 with UART0 2021-12-02 11:42:46 -06:00
Kconfig.stellaris arm: Removed support for CC2650 2020-01-18 09:27:55 -06:00
Kconfig.stm32 drivers: dma: stm32 dma driver for a new dma version 2021-07-22 04:52:53 -04:00
Kconfig.test drivers: serial: add a dummy driver for vnd,serial 2021-07-14 11:10:08 -05:00
Kconfig.uart_sam drivers: serial: uart_sam: rework device tree support 2020-04-18 17:04:08 -05:00
Kconfig.usart_sam drivers: serial: usart_sam: rework device tree support 2020-04-18 17:04:08 -05:00
Kconfig.xec Microchip: MEC172x: Add UART driver 2021-08-09 16:21:33 -04:00
Kconfig.xen xenvm: drivers: serial: Add consoleio Xen serial driver for Domain 0 2021-12-07 12:15:38 -05:00
Kconfig.xlnx drivers: serial: xlnx_xuartps: enable this driver for Zynq-7000 series SoCs 2021-10-28 15:26:50 +02:00
Kconfig.xmc4xxx drivers: serial: add XMC seris UART support 2020-05-09 14:21:44 +02:00
leuart_gecko.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
serial_test.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_altera_jtag_hal.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_apbuart.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_b91.c drivers: serial: b91: fifo_fill API update to check fifo size 2021-12-14 13:47:25 -06:00
uart_cc13xx_cc26xx.c drivers: use new PM macros 2021-11-19 10:11:32 +01:00
uart_cc32xx.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_cmsdk_apb.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_esp32.c drivers: uart: esp32: fix poll in return value 2022-01-04 10:07:15 -05:00
uart_gecko.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_handlers.c uart: add API support for wide data 2021-11-09 19:44:38 -05:00
uart_hvc_xen.c xenvm: drivers: serial: add interrupt-driven API for Xen PV console 2021-12-07 12:15:38 -05:00
uart_hvc_xen_consoleio.c xenvm: drivers: serial: Add consoleio Xen serial driver for Domain 0 2021-12-07 12:15:38 -05:00
uart_imx.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_ite_it8xxx2.c ITE: drivers/serial: add console input expired 2021-12-24 20:54:16 -05:00
uart_liteuart.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_lpc11u6x.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_lpc11u6x.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
uart_mchp_xec.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_mcux.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_mcux_flexcomm.c drivers: use DT_INST_ENUM_IDX(_OR) macros 2021-11-18 19:12:07 -05:00
uart_mcux_iuart.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_mcux_lpsci.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_mcux_lpuart.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_miv.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_msp432p4xx.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_native_posix.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_neorv32.c device: remove inclusion of pm/device.h 2021-11-29 11:08:38 +01:00
uart_npcx.c drivers: uart: npcx: fix the coding style 2021-12-20 17:43:58 +01:00
uart_nrfx_uart.c drivers: serial: nrfx_uart: fix pin disconnect in suspend when !PINCTRL 2021-12-21 17:13:06 +01:00
uart_nrfx_uarte.c pinctrl: require ; after PINCTRL_DT_(INST_)DEFINE macros 2022-01-01 07:39:08 -05:00
uart_ns16550.c pm: state: PM_STATE_DT_ITEMS_LIST->PM_STATE_LIST_FROM_DT_CPU 2021-12-04 12:33:57 -05:00
uart_ns16550.h drivers: serial: ns16550: move header from /include/ 2019-06-25 15:27:00 -04:00
uart_numicro.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_pl011.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_psoc6.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_rcar.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_rtt.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_rv32m1_lpuart.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_sam.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_sam0.c drivers: serial: uart_sam0: fix |= incorrectly clearing all INTFLAGS. 2021-11-23 10:40:13 -05:00
uart_sifive.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_stellaris.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_stm32.c pinctrl: require ; after PINCTRL_DT_(INST_)DEFINE macros 2022-01-01 07:39:08 -05:00
uart_stm32.h drivers/uart: stm32: fix dead lock on poll_out 2021-12-08 08:56:18 -05:00
uart_xlnx_ps.c drivers: serial: xlnx_xuartps: Fix interrupt-driven operation 2021-10-28 15:26:50 +02:00
uart_xlnx_uartlite.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
uart_xmc4xxx.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00
usart_gd32.c pinctrl: require ; after PINCTRL_DT_(INST_)DEFINE macros 2022-01-01 07:39:08 -05:00
usart_sam.c drivers: serial: Refactor drivers to use shared init priority Kconfig 2021-10-17 10:58:09 -04:00