zephyr/drivers/serial
Maureen Helm 53b08ecbfd drivers: serial: Don't condition uart_irq_rx_ready on irq enabled
The function uart_irq_rx_ready() should return true if there is data in
the receive buffer, regardless of whether the irq is enabled. Fix the
mcux and rv32m1 shim drivers to implement this behavior correctly.

Prior to this change:
- irq_rx_full() checks if RX data is available
- irq_rx_ready() checks if RX data is available and interrupts are
  enabled

After this change:
- irq_rx_full() checks if RX data is available
- irq_rx_ready() renamed to irq_rx_pending() to avoid confusion with the
  API ready() function
- API ready() implementation switched to use irq_rx_full()

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2021-02-03 08:36:23 -05:00
..
CMakeLists.txt drivers: serial: ns16550: Remove hard-coded max instance count 2021-01-18 15:45:58 -05:00
Kconfig serial: Add support for GRLIB APBUART 2020-11-13 14:53:55 -08:00
Kconfig.altera_jtag
Kconfig.apbuart serial: apbuart interrupt support 2020-11-13 14:53:55 -08:00
Kconfig.cc13xx_cc26xx
Kconfig.cc32xx
Kconfig.cmsdk_apb
Kconfig.esp32
Kconfig.gecko
Kconfig.imx
Kconfig.leuart_gecko
Kconfig.litex
Kconfig.lpc11u6x
Kconfig.mcux
Kconfig.mcux_flexcomm
Kconfig.mcux_iuart
Kconfig.mcux_lpsci
Kconfig.mcux_lpuart
Kconfig.miv
Kconfig.msp432p4xx
Kconfig.native_posix doc: fix broken rST syntax in Kconfig help 2020-11-07 08:29:57 -06:00
Kconfig.npcx driver: npcx7: fixed typo in Kconfig.npcx files. 2020-12-07 12:11:17 -05:00
Kconfig.nrfx power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
Kconfig.ns16550 drivers: serial: ns16550: Remove hard-coded max instance count 2021-01-18 15:45:58 -05:00
Kconfig.nuvoton
Kconfig.pl011 drivers: pl011: add SBSA mode 2021-01-24 13:59:55 -05:00
Kconfig.psoc6
Kconfig.rtt
Kconfig.rv32m1_lpuart
Kconfig.sam0
Kconfig.sifive drivers: serial: sifive: use interrupt-cell to set IRQ priority 2021-01-16 17:22:08 -05:00
Kconfig.stellaris
Kconfig.stm32 drivers: serial: implement stm32 uart async api 2021-01-18 19:07:29 +01:00
Kconfig.uart_sam
Kconfig.usart_sam
Kconfig.xlnx
Kconfig.xmc4xxx
leuart_gecko.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_altera_jtag_hal.c drivers: serial: Convert DEVICE_AND_API_INIT to DEVICE_DEFINE 2020-12-19 19:59:21 -05:00
uart_apbuart.c drivers/apbuart: add TX FIFO interrupt support 2021-01-21 15:53:03 -05:00
uart_cc13xx_cc26xx.c power: Remove power management conditionals from code 2021-01-22 09:31:20 -05:00
uart_cc32xx.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
uart_cmsdk_apb.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_esp32.c soc/esp32: Move logging library to IRAM with CONFIG_LOG_MINIMAL 2021-01-23 08:43:10 -05:00
uart_gecko.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_handlers.c
uart_imx.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_liteuart.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_lpc11u6x.c drivers: serial: uart_lpc11u6x: Convert drivers to new DT device macros 2020-12-19 19:58:33 -05:00
uart_lpc11u6x.h
uart_mcux_flexcomm.c drivers: serial: Don't condition uart_irq_rx_ready on irq enabled 2021-02-03 08:36:23 -05:00
uart_mcux_iuart.c drivers: serial: Don't condition uart_irq_rx_ready on irq enabled 2021-02-03 08:36:23 -05:00
uart_mcux_lpsci.c drivers: serial: Don't condition uart_irq_rx_ready on irq enabled 2021-02-03 08:36:23 -05:00
uart_mcux_lpuart.c drivers: serial: Don't condition uart_irq_rx_ready on irq enabled 2021-02-03 08:36:23 -05:00
uart_mcux.c drivers: serial: Don't condition uart_irq_rx_ready on irq enabled 2021-02-03 08:36:23 -05:00
uart_miv.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_msp432p4xx.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
uart_native_posix.c drivers: serial: Convert DEVICE_AND_API_INIT to DEVICE_DEFINE 2020-12-19 19:59:21 -05:00
uart_npcx.c power: Remove power management conditionals from code 2021-01-22 09:31:20 -05:00
uart_nrfx_uart.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
uart_nrfx_uarte.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
uart_ns16550_port_x.h drivers: serial: ns16550: Remove hard-coded max instance count 2021-01-18 15:45:58 -05:00
uart_ns16550.c drivers: serial: ns16550: Remove hard-coded max instance count 2021-01-18 15:45:58 -05:00
uart_ns16550.h
uart_nuvoton.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_pl011.c drivers: pl011: add SBSA mode 2021-01-24 13:59:55 -05:00
uart_psoc6.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_rtt.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_rv32m1_lpuart.c drivers: serial: Don't condition uart_irq_rx_ready on irq enabled 2021-02-03 08:36:23 -05:00
uart_sam0.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_sam.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_sifive.c drivers: serial: sifive: use interrupt-cell to set IRQ priority 2021-01-16 17:22:08 -05:00
uart_stellaris.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_stm32.c drivers: serial: implement stm32 uart async api 2021-01-18 19:07:29 +01:00
uart_stm32.h drivers: serial: implement stm32 uart async api 2021-01-18 19:07:29 +01:00
uart_xlnx_ps.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
uart_xlnx_uartlite.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
uart_xmc4xxx.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00
usart_sam.c drivers: uart: Convert drivers to new DT device macros 2020-12-15 15:28:49 -06:00