zephyr/drivers/serial
Krzysztof Chruściński 19526795c6 drivers: serial: nrfx_uarte: Fix low power mode for interrupt driven API
Low power mode for non-asynchronous API case is only available when
RX is not used (RX pin is not defined). In that case TX starting
function was using uarte_enable_locked() which tracks if UARTE is
used by TX or RX and TXSTOPPED interrupt was disabling UARTE
unconditionally. Because of that following attempt to TX start
was assuming that UARTE is already enabled when it was disabled.
Fixing it by using uarte_disable_locked function in TXSTOPPED
handling.

Code reordering was required to make uarte_disable_locked()
available earlier.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-01-02 16:03:59 +01:00
..
CMakeLists.txt drivers: serial: Add polling mode support for RZ/G3S 2024-12-12 11:12:22 +01:00
Kconfig drivers: serial: Add polling mode support for RZ/G3S 2024-12-12 11:12:22 +01:00
Kconfig.altera
Kconfig.altera_jtag
Kconfig.apbuart
Kconfig.b91 drivers: all: telink-b91: select PINCTRL 2024-12-05 15:17:47 +01:00
Kconfig.bcm2711
Kconfig.bt serial: bt: Set configurable options for the NUS Work-queue 2024-05-13 16:17:58 -04:00
Kconfig.cc13xx_cc26xx drivers: all: cc12xx_cc26xx: select PINCTRL 2024-12-05 15:18:01 +01:00
Kconfig.cc32xx
Kconfig.cdns
Kconfig.cmsdk_apb
Kconfig.efinix_sapphire
Kconfig.emul emul: Support UART device emulation 2024-07-30 18:28:17 +01:00
Kconfig.ene
Kconfig.esp32 config: esp32: configurable UART FIFO thresholds 2024-07-09 15:24:02 -04:00
Kconfig.gd32 soc: gd32: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:40:42 -06:00
Kconfig.gecko drivers: serial: gecko: Add PINCTRL dependency 2024-11-26 15:42:02 -05:00
Kconfig.hostlink
Kconfig.ifx_cat1 drivers: Remove CONFIG_PINCTRL in defconfig files 2024-09-23 18:08:14 -04:00
Kconfig.imx boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
Kconfig.intel_lw
Kconfig.it8xxx2 ITE: it8xxx2: Remove CONFIG_PINCTRL from soc defconfig file 2024-10-15 13:52:55 +02:00
Kconfig.leuart_gecko
Kconfig.litex dts: bindings: litex: rename uart compatible 2024-08-02 03:32:21 -04:00
Kconfig.lpc11u6x boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
Kconfig.max32 drivers: Add MAX32690 uart driver 2024-05-29 07:30:12 +02:00
Kconfig.mcux
Kconfig.mcux_flexcomm
Kconfig.mcux_iuart boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
Kconfig.mcux_lpsci boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
Kconfig.mcux_lpuart dts: bindings: rename nxp,kinetis-lpuart compatible 2024-12-11 08:00:30 +01:00
Kconfig.miv
Kconfig.msp432p4xx
Kconfig.native_posix drivers: serial: Add name to choice symbol 2024-08-14 09:40:34 +02:00
Kconfig.native_tty
Kconfig.neorv32
Kconfig.npcx board: npcx: remove CONFIG_PINCTRL from defconfig of npcx boards 2024-11-07 08:59:14 -08:00
Kconfig.nrfx drivers: serial: nrfx_uarte: Deprecate CONFIG_UART_x_NRF_HW_ASYNC 2024-12-06 12:14:02 +01:00
Kconfig.nrfx_uart_instance drivers: serial: nrfx_uarte: Fix bool endtx-stoptx prop check 2024-12-17 17:52:26 +01:00
Kconfig.ns16550 drivers: serial: ns16550: select PINCTRL if necessary 2024-12-06 12:13:45 +01:00
Kconfig.numaker boards: nuvoton: numaker: Drop PINCTRL from board defconfig 2024-11-20 08:23:58 -05:00
Kconfig.numicro boards: nuvoton: numaker: Drop PINCTRL from board defconfig 2024-11-20 08:23:58 -05:00
Kconfig.nxp_s32 boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
Kconfig.opentitan
Kconfig.pl011 drivers: serial: rpi_pico: Migrate to pl011 driver 2024-04-10 10:01:25 +02:00
Kconfig.psoc6 Documentation: Update documenation for Infineon boards 2024-11-14 20:36:38 -06:00
Kconfig.ql_usbserialport_s3b
Kconfig.rcar drivers: rcar: Select CONFIG_PINCTRL 2024-11-22 17:41:02 +01:00
Kconfig.renesas_ra boards: mikroe: remove CONFIG_PINCTRL from defconfig of RA4M1 clicker 2024-10-05 14:05:48 -04:00
Kconfig.renesas_ra8 drivers: Select PINCTRL for renesas RA drivers 2024-11-06 09:59:32 -08:00
Kconfig.renesas_rz drivers: serial: Add polling mode support for RZ/G3S 2024-12-12 11:12:22 +01:00
Kconfig.rpi_pico soc: raspberrypi: Drop PINCTRL from Kconfig.defconfig 2024-11-25 14:42:01 +01:00
Kconfig.rtt
Kconfig.rv32m1_lpuart
Kconfig.rzt2m
Kconfig.sam0 soc: atmel: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:43:26 -06:00
Kconfig.sedi
Kconfig.si32 drivers: serial: Add initial SiM3U1xx support 2024-08-26 18:51:36 +02:00
Kconfig.sifive boards: remove CONFIG_PINCTRL from defconfig files of FE310-based boards 2024-09-20 13:14:41 +02:00
Kconfig.smartbond da1469x: Remove CONFIG_PINCTRL from all defconfig files 2024-10-08 16:57:41 +02:00
Kconfig.stellaris
Kconfig.stm32 drivers: stm32: Select PINCTRL when required 2024-09-03 14:40:55 +01:00
Kconfig.sy1xx driver: serial: Add support for sy1xx 2024-09-16 20:19:31 +02:00
Kconfig.test
Kconfig.uart_sam soc: atmel: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:43:26 -06:00
Kconfig.usart_sam soc: atmel: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:43:26 -06:00
Kconfig.wch_usart drivers: add the ch32v00x usart driver 2024-11-26 14:41:46 +00:00
Kconfig.xec drivers: microchip xec: select PINCTRL 2024-11-29 05:41:53 +01:00
Kconfig.xen
Kconfig.xlnx
Kconfig.xmc4xxx SOC: Remove config PINCTRL from xmc4xxx soc 2024-12-02 22:05:16 +00:00
leuart_gecko.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
serial_esp32_usb.c drivers: serial: Move esp32 serial UART API from DRAM to ROM 2024-12-02 22:08:56 +00:00
serial_test.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_altera.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_altera_jtag.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_apbuart.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_async_rx.c serial: uart_async_rx: Avoid possible division by zero 2024-07-27 15:14:26 +03:00
uart_async_to_irq.c drivers: serial: uart_async_to_irq: Fix uart_irq_tx_complete 2024-10-29 07:10:08 -05:00
uart_b91.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_bcm2711.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_bt.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_cc13xx_cc26xx.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_cc32xx.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_cdns.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_cdns.h
uart_cmsdk_apb.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_efinix_sapphire.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_emul.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_ene_kb1200.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_esp32.c drivers: serial: esp32: Standard baudrate on config_get 2024-12-19 19:56:06 +01:00
uart_gecko.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_handlers.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
uart_hostlink.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_hvc_xen.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_hvc_xen_consoleio.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_ifx_cat1.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_imx.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_intel_lw.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_ite_it8xxx2.c drivers: serial: remove '&' when assigning init_fn 2024-07-27 20:48:34 +03:00
uart_litex.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_lpc11u6x.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_lpc11u6x.h zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY 2024-10-03 17:06:52 +01:00
uart_max32.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_mchp_xec.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_mcux.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_mcux_flexcomm.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_mcux_iuart.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_mcux_lpsci.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_mcux_lpuart.c dts: bindings: rename nxp,kinetis-lpuart compatible 2024-12-11 08:00:30 +01:00
uart_miv.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_msp432p4xx.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_native_ptty.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_native_ptty_bottom.c
uart_native_ptty_bottom.h
uart_native_tty.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_native_tty_bottom.c driver: uart: native: fix stop_bits/databits mix 2024-05-14 18:19:11 -04:00
uart_native_tty_bottom.h
uart_neorv32.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_npcx.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_nrfx_uart.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_nrfx_uarte.c drivers: serial: nrfx_uarte: Fix low power mode for interrupt driven API 2025-01-02 16:03:59 +01:00
uart_nrfx_uarte2.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_ns16550.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_numaker.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_numicro.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_nxp_s32_linflexd.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_nxp_s32_linflexd.h
uart_opentitan.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_pipe.c
uart_pl011.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_pl011_ambiq.h drivers: serial: ambiq uart update 2024-09-09 18:40:46 -04:00
uart_pl011_raspberrypi_pico.h drivers: serial: rpi_pico: Migrate to pl011 driver 2024-04-10 10:01:25 +02:00
uart_pl011_registers.h drivers: serial: pl011: Fix ignored const qualifiers 2024-08-12 19:25:34 -04:00
uart_psoc6.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_ql_usbserialport_s3b.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_ql_usbserialport_s3b.h
uart_rcar.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_renesas_ra.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_renesas_ra8_sci_b.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_renesas_ra_sci.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_renesas_rz_scif.c drivers: Move device driver APIs into iterable sections 2024-12-17 02:02:54 +01:00
uart_rpi_pico_pio.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_rtt.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_rv32m1_lpuart.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_rzt2m.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_rzt2m.h
uart_sam.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_sam0.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_sedi.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_si32_usart.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_sifive.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_smartbond.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_stellaris.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_stm32.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_stm32.h
uart_sy1xx.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_wch_usart.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_xlnx_ps.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_xlnx_uartlite.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
uart_xmc4xxx.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
usart_gd32.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00
usart_sam.c drivers: serial: Place API into iterable section 2024-12-02 22:08:56 +00:00