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
Kconfig.altera_jtag
Kconfig.apbuart
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
Kconfig.npcx
Kconfig.nrfx
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
uart_altera_jtag_hal.c
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
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
uart_handlers.c
uart_imx.c
uart_liteuart.c
uart_lpc11u6x.c
uart_lpc11u6x.h
uart_mcux.c drivers: serial: Don't condition uart_irq_rx_ready on irq enabled 2021-02-03 08:36:23 -05:00
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_miv.c
uart_msp432p4xx.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
uart_native_posix.c
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.c drivers: serial: ns16550: Remove hard-coded max instance count 2021-01-18 15:45:58 -05:00
uart_ns16550.h
uart_ns16550_port_x.h drivers: serial: ns16550: Remove hard-coded max instance count 2021-01-18 15:45:58 -05:00
uart_nuvoton.c
uart_pl011.c drivers: pl011: add SBSA mode 2021-01-24 13:59:55 -05:00
uart_psoc6.c
uart_rtt.c
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_sam.c
uart_sam0.c
uart_sifive.c drivers: serial: sifive: use interrupt-cell to set IRQ priority 2021-01-16 17:22:08 -05:00
uart_stellaris.c
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
uart_xmc4xxx.c
usart_sam.c