zephyr/drivers/serial
Krzysztof Chruściński 79c93dd5ec drivers: serial: Add gpio management to low power mode
When low power mode is enabled then whenever UARTE is not active,
driver attempts to put the peripheral into the lowest power state
by stopping and disabling UARTE. However, it did not put pins into
sleep state which could lead to increased current consumption.
Adding pins state handling to the low power mode.

Pins are put into sleep state only if CONFIG_PM_DEVICE=y.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-06-07 19:07:56 -04:00
..
CMakeLists.txt drivers: Add MAX32690 uart driver 2024-05-29 07:30:12 +02:00
Kconfig drivers: Add MAX32690 uart driver 2024-05-29 07:30:12 +02:00
Kconfig.altera
Kconfig.altera_jtag
Kconfig.apbuart
Kconfig.b91
Kconfig.bcm2711 boards: arm64: add support for Raspberry Pi 4 Model B 2023-09-28 13:40:45 +02:00
Kconfig.bt serial: bt: Set configurable options for the NUS Work-queue 2024-05-13 16:17:58 -04:00
Kconfig.cc13xx_cc26xx
Kconfig.cc32xx drivers: serial: cc32xx: add support for pinctrl 2023-06-17 07:55:43 -04:00
Kconfig.cdns
Kconfig.cmsdk_apb
Kconfig.efinix_sapphire drivers: serial: add uart_efinix_sapphire initial version 2023-06-27 12:09:57 +00:00
Kconfig.emul drivers: serial: correct spelling 2024-01-13 00:24:36 +00:00
Kconfig.ene drivers: uart: initial device driver for ENE KB1200 2024-03-15 09:39:48 +00:00
Kconfig.esp32 soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
Kconfig.gd32
Kconfig.gecko hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.hostlink
Kconfig.ifx_cat1
Kconfig.imx
Kconfig.intel_lw drivers: serial: uart_intel_lw: add driver 2023-10-21 11:54:23 +02:00
Kconfig.it8xxx2 drivers/serial: ns16550: Add high speed baud rate support for IT8XXX2 2023-10-20 14:56:06 +02:00
Kconfig.leuart_gecko
Kconfig.litex drivers: serial: liteuart: Enable interrupt driven mode 2024-02-15 09:19:57 +01:00
Kconfig.lpc11u6x
Kconfig.max32 drivers: Add MAX32690 uart driver 2024-05-29 07:30:12 +02:00
Kconfig.mcux
Kconfig.mcux_flexcomm drivers: uart_mcux_flexcomm: Merge conditions for enabling ISR 2023-07-06 11:48:49 +02:00
Kconfig.mcux_iuart
Kconfig.mcux_lpsci
Kconfig.mcux_lpuart soc: nxp: Select the MFD Kconfig when LPFlexcomm is enabled 2024-04-02 21:00:24 -04:00
Kconfig.miv
Kconfig.msp432p4xx
Kconfig.native_posix drivers/serial native: Replace native_posix with native_sim in comments 2023-12-07 10:39:31 +00:00
Kconfig.native_tty uart_native_tty: Emulate an interrupt driven uart 2024-02-27 14:49:02 +01:00
Kconfig.neorv32
Kconfig.npcx drivers: uart: npcx: add asychronous API support 2024-04-26 16:13:25 +02:00
Kconfig.nrfx drivers: serial: nrfx_uarte: Allow use of legacy shim on RISCV cores 2024-06-05 01:37:57 -07:00
Kconfig.nrfx_uart_instance drivers: serial: nrfx_uarte: Allow use of legacy shim on RISCV cores 2024-06-05 01:37:57 -07:00
Kconfig.ns16550 drivers: uart: uart_ns16550: Enable Async operations using DMA 2023-11-22 17:31:08 +01:00
Kconfig.numaker drivers: serial: support for Nuvoton numaker series UART 2023-06-21 09:26:00 +00:00
Kconfig.numicro
Kconfig.nxp_s32 drivers: select nocache only when supported 2023-09-26 15:09:51 +02:00
Kconfig.opentitan
Kconfig.pl011 drivers: serial: rpi_pico: Migrate to pl011 driver 2024-04-10 10:01:25 +02:00
Kconfig.psoc6 soc: psoc6: update pinctrl for PSoC6 MCU (legacy) 2024-06-04 16:35:39 +02:00
Kconfig.ql_usbserialport_s3b drivers: pinctrl: add driver for EOS S3 2023-07-26 14:59:59 +02:00
Kconfig.rcar drivers: serial: add support of hscif driver for RCar boards 2024-02-26 11:34:16 +00:00
Kconfig.renesas_ra drivers: serial: Rename renesas ra driver 2024-01-29 11:32:46 +01:00
Kconfig.rpi_pico drivers: serial: rpi_pico: Migrate to pl011 driver 2024-04-10 10:01:25 +02:00
Kconfig.rtt
Kconfig.rv32m1_lpuart
Kconfig.rzt2m drivers: pinctrl: add RZT2M driver 2023-11-15 11:41:35 +01:00
Kconfig.sam0 uart_sam0: don't consume CONFIG_UART_ASYNC_API directly. 2023-08-21 17:15:29 +02:00
Kconfig.sedi drivers: serial: Add Intel SEDI driver 2023-07-28 17:49:09 +02:00
Kconfig.sifive
Kconfig.smartbond drivers: serial: Smartbond: add support RX line wakeup 2024-05-12 17:03:17 -04:00
Kconfig.stellaris
Kconfig.stm32 driver: serial: stm32u5: DMAT Errata behavior valid only on some SoCs 2023-11-21 15:49:57 +01:00
Kconfig.test drivers: serial: serial_test: Move ring buf dep to Kconfig 2023-09-28 16:38:30 -04:00
Kconfig.uart_sam
Kconfig.usart_sam
Kconfig.xec
Kconfig.xen drivers: serial: add missed binding for xen dom0 consoleio driver 2024-01-30 18:52:13 -05:00
Kconfig.xlnx
Kconfig.xmc4xxx
leuart_gecko.c
serial_esp32_usb.c soc: esp32s3: add esp32s3_appcpu for AMP support 2023-09-27 12:07:21 +02:00
serial_test.c drivers: serial: serial_test.c: Patch 64-bit incompat 2023-09-28 16:38:30 -04:00
uart_altera_jtag.c
uart_altera.c serial: CONFIG_UART_USE_RUNTIME_CONFIGURE on API for cfg funcs 2023-07-21 17:46:12 -04:00
uart_apbuart.c
uart_async_rx.c drivers: serial: uart_async_rx: Fix uart_async_rx_reset function 2024-04-16 09:07:55 +02:00
uart_async_to_irq.c drivers: serial: uart_async_to_irq: Move resetting to disabling function 2024-04-16 09:07:55 +02:00
uart_b91.c drivers: serial: b91: add missing RISC-V PLIC header 2024-01-15 09:58:03 +01:00
uart_bcm2711.c boards: arm64: add support for Raspberry Pi 4 Model B 2023-09-28 13:40:45 +02:00
uart_bt.c serial: bt: Set configurable options for the NUS Work-queue 2024-05-13 16:17:58 -04:00
uart_cc13xx_cc26xx.c drivers: serial: uart_cc13xx_cc26xx: fix race 2023-09-08 09:26:34 +02:00
uart_cc32xx.c drivers: serial: cc32xx: add support for pinctrl 2023-06-17 07:55:43 -04:00
uart_cdns.c
uart_cdns.h drivers: serial: correct spelling 2024-01-13 00:24:36 +00:00
uart_cmsdk_apb.c drivers: serial: cmsdk_apb: fix irq_rx_ready deviation 2023-08-07 12:01:25 -04:00
uart_efinix_sapphire.c drivers: serial: add uart_efinix_sapphire initial version 2023-06-27 12:09:57 +00:00
uart_emul.c drivers: serial: emul: Make fifo_read() respect size 2024-02-07 12:52:43 -06:00
uart_ene_kb1200.c drivers: uart: initial device driver for ENE KB1200 2024-03-15 09:39:48 +00:00
uart_esp32.c Driver: Add pin inversion to Esp32 Uart 2024-05-14 18:21:27 -04:00
uart_gecko.c
uart_handlers.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
uart_hostlink.c drivers: serial: correct spelling 2024-01-13 00:24:36 +00:00
uart_hvc_xen_consoleio.c drivers: serial: add missed binding for xen dom0 consoleio driver 2024-01-30 18:52:13 -05:00
uart_hvc_xen.c xen: change HVM functions signature to run it for other domains 2023-09-15 11:15:00 +01:00
uart_ifx_cat1.c drivers: cat1: Updates to support latest version of HAL/PDL 2023-09-01 09:52:25 +02:00
uart_imx.c
uart_intel_lw.c drivers: serial: uart_intel_lw: add driver 2023-10-21 11:54:23 +02:00
uart_ite_it8xxx2.c
uart_liteuart.c drivers: serial: liteuart: add missing include 2024-01-19 15:13:53 +00:00
uart_lpc11u6x.c modules: cmsis: move glue code to modules/cmsis 2023-08-24 13:20:21 +02:00
uart_lpc11u6x.h
uart_max32.c drivers: Add MAX32690 uart driver 2024-05-29 07:30:12 +02:00
uart_mchp_xec.c serial: mchp_xec: fix PM dependencies in driver 2023-11-01 11:18:07 +00:00
uart_mcux_flexcomm.c drivers: uart_mcux_flexcomm: remove incorrect dma_slot. 2024-05-29 10:48:44 -07:00
uart_mcux_iuart.c drivers: serial: uart_mcux_iuart: Add parity bit handling 2023-09-30 18:45:34 +02:00
uart_mcux_lpsci.c
uart_mcux_lpuart.c drivers: lpuart: Fix async configure 2024-05-18 15:50:11 +03:00
uart_mcux.c
uart_miv.c soc: riscv: microchip_miv: miv: move MIV_UART_0_LINECFG to driver 2024-01-19 15:13:53 +00:00
uart_msp432p4xx.c
uart_native_ptty_bottom.c drivers uart_native_ptty: Set standard source macro appropriately 2024-01-26 07:48:55 -05:00
uart_native_ptty_bottom.h drivers serial native ptty: Split in top and bottom 2023-07-10 09:53:22 +02:00
uart_native_ptty.c drivers serial native ptty: Split in top and bottom 2023-07-10 09:53:22 +02: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_native_tty: Emulate an interrupt driven uart 2024-02-27 14:49:02 +01:00
uart_native_tty.c driver: uart: native: fix stop_bits/databits mix 2024-05-14 18:19:11 -04:00
uart_neorv32.c drivers: serial: neorv32: add missing include 2024-01-19 15:13:53 +00:00
uart_npcx.c drivers: uart: npcx: extend the UART baudrate support 2024-04-26 16:13:25 +02:00
uart_nrfx_uart.c drivers: serial: uart_nrfx_uart: fix NRFX_WAIT_FOR result type 2023-09-14 16:51:32 -05:00
uart_nrfx_uarte2.c drivers: serial: nrfx_uarte2: Fix error event not being sent 2024-04-18 11:14:58 +02:00
uart_nrfx_uarte.c drivers: serial: Add gpio management to low power mode 2024-06-07 19:07:56 -04:00
uart_ns16550.c coding guidelines: comply with MISRA Rule 12.1. 2024-05-13 16:05:53 -04:00
uart_ns16550.h
uart_numaker.c drivers: serial: support for Nuvoton numaker series UART 2023-06-21 09:26:00 +00:00
uart_numicro.c
uart_nxp_s32_linflexd.c drivers: uart_nxp_s32_linflexed: update to RTD 1.0.0 2023-11-16 09:28:16 +01:00
uart_nxp_s32_linflexd.h serial: nxp_s32: use instance-based DT macros 2023-11-08 10:06:46 +01:00
uart_opentitan.c drivers: serial: opentitan: remove redundant include 2024-01-19 15:13:53 +00:00
uart_pipe.c
uart_pl011_ambiq.h drivers: serial: pl011: Add support for Ambiq Apollo3 SoCs UART 2024-05-07 18:57:19 +02: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: add definitions for CLKEN/CLKSEL registers 2023-08-04 10:48:58 +02:00
uart_pl011.c drivers: serial: rpi_pico: Migrate to pl011 driver 2024-04-10 10:01:25 +02:00
uart_psoc6.c soc: psoc6: update pinctrl for PSoC6 MCU (legacy) 2024-06-04 16:35:39 +02:00
uart_ql_usbserialport_s3b.c
uart_ql_usbserialport_s3b.h drivers: serial: correct spelling 2024-01-13 00:24:36 +00:00
uart_rcar.c drivers: use DT_INST_NODE_HAS_COMPAT 2024-04-26 20:04:38 +01:00
uart_renesas_ra.c drivers: serial: ra: reduce uart baud rate error 2024-02-04 19:55:45 -06:00
uart_rpi_pico_pio.c
uart_rtt.c
uart_rv32m1_lpuart.c
uart_rzt2m.c drivers: serial: correct spelling 2024-01-13 00:24:36 +00:00
uart_rzt2m.h drivers: serial: add RZT2M uart driver 2023-11-15 11:41:35 +01:00
uart_sam0.c drivers: use DT_INST_PROP over DT_INST_PROP_OR if possible 2024-01-30 00:26:58 +00:00
uart_sam.c drivers: serial: sam u(s)art: correct interpretation of RXRDY flag 2024-01-16 10:01:17 +01:00
uart_sedi.c drivers: serial: correct spelling 2024-01-13 00:24:36 +00:00
uart_sifive.c
uart_smartbond.c drivers: serial: Smartbond: add support DTR line wakeup 2024-05-12 17:03:17 -04:00
uart_stellaris.c
uart_stm32.c drivers: serial: stm32: replace config parameter with usart 2024-05-28 09:49:09 +02:00
uart_stm32.h drivers: uart: stm32: Allow enabling FIFO mode 2023-12-01 10:52:49 +00:00
uart_xlnx_ps.c drivers/serial/uart_xlnx_ps.c: uart_xlnx_ps_driver_api is defined twice 2023-08-31 20:18:56 +02:00
uart_xlnx_uartlite.c
uart_xmc4xxx.c serial: allow callback setting to be exclusive 2023-07-18 11:13:02 +00:00
usart_gd32.c
usart_sam.c drivers: serial: sam u(s)art: correct interpretation of RXRDY flag 2024-01-16 10:01:17 +01:00