zephyr/drivers/serial
Sylvio Alves d0d7a7909e driver: uart: esp32: get port number from reg address
ESP32 uart driver requires uart port number to its low level calls.

In case uart0 is disabled and uart1 is enabled, driver will set
default port num to 0 when it should be 1. This fixes this scenario
by retrieving uart pot number based on periphral address.

Fixes #69973

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-12 09:48:36 +00:00
..
CMakeLists.txt drivers: serial: Rename renesas ra driver 2024-01-29 11:32:46 +01:00
Kconfig drivers: serial: Rename renesas ra driver 2024-01-29 11:32:46 +01: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.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.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.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
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
Kconfig.nrfx drivers: serial: nrfx: Allow new UARTE instances to be used 2024-02-02 16:40:11 +01:00
Kconfig.nrfx_uart_instance drivers: serial: Kconfig.nrfx: Filter out options unsupported on nRF54H20 2024-02-02 16:40:11 +01: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: pl011: Select PINCTRL for Apollo4 SoC family 2023-08-04 10:48:58 +02:00
Kconfig.psoc6
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
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
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: Add uart_async_rx module 2023-11-14 09:21:46 +01:00
uart_async_to_irq.c drivers: serial: Fix async to interrupt driven adaptation layer 2024-02-06 09:54:34 +01: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_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_esp32.c driver: uart: esp32: get port number from reg address 2024-03-12 09:48:36 +00:00
uart_gecko.c
uart_handlers.c syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01: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 drivers: serial: ite_it8xxx2: add a dedicated priority symbol 2023-05-26 13:51:08 -04:00
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_mchp_xec.c serial: mchp_xec: fix PM dependencies in driver 2023-11-01 11:18:07 +00:00
uart_mcux_flexcomm.c hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05: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: serial: uart_mcux_lpuart: support the flow control pin mux 2024-03-12 09:46:50 +00: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 uart_native_tty: Emulate an interrupt driven uart 2024-02-27 14:49:02 +01: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 uart_native_tty: Emulate an interrupt driven uart 2024-02-27 14:49:02 +01:00
uart_neorv32.c drivers: serial: neorv32: add missing include 2024-01-19 15:13:53 +00:00
uart_npcx.c drivers,subsys: fix few missing k_work_delayable_from_work 2023-08-28 10:12:21 +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: drop soc.h 2024-02-02 16:40:11 +01:00
uart_nrfx_uarte.c drivers: serial: nrfx_uarte: Fix misbehavior due to preemption 2024-02-12 12:52:32 +01:00
uart_ns16550.c drivers: serial: ns16550: Add IOPORT_ENABLED check condition 2024-01-09 15:52:10 -06: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: Remove busy wait in Ambiq UART initiate 2023-12-11 10:10:39 +01: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: pl011: Add support for Ambiq UART 2023-08-04 10:48:58 +02:00
uart_psoc6.c
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: serial: add support of hscif driver for RCar boards 2024-02-26 11:34:16 +00: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_rpi_pico.c drivers: serial: Removed all function calls from Raspberry Pi Pico SDK 2023-12-20 11:14:24 +01:00
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
uart_stellaris.c
uart_stm32.c drivers: serial: uart_stm32: fix for async_rx_buf_rsp 2024-02-26 14:30:27 +01: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