nuttx/drivers/serial
p-szafonimateusz ceb2921d79 drivers: prepare 16550 UART driver to support PCI
prepare 16550 UART driver to support PCI:

- [breaking change] change argument of uart_ioctl() from `struct file *filep` to `FAR struct u16550_s *priv`
  Also fix moxart_16550.c build related to this change

- [breaking change] change argument of uart_getreg() and uart_putreg from `uart_addrwidth_t base` to `FAR struct u16550_s *priv`
  Also fix arch/x86/src/qemu/qemu_serial.c and arch/x86_64/src/intel64/intel64_serial.c related to this change

- [breaking change] change argument of uart_dmachan() from `uart_addrwidth_t base` to `FAR struct u16550_s *priv`

- move `struct u16550_s` to public header

- generalize UART_XXX_OFFSET so we can use it with any register increment

- make u16550_bind(), u16550_interrupt(), u16550_interrupt() public

- remove arch/or1k/src/common/or1k_uart.c and use common 16550 MIMO interfacve

- change irq type in `struct u16550_s` from uint8_t to int to match MSI API

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
2024-09-15 03:37:58 +08:00
..
CMakeLists.txt drivers/serial:support arm cmsdk drivers 2024-04-26 18:42:35 -03:00
Kconfig drivers/serial:support arm cmsdk drivers 2024-04-26 18:42:35 -03:00
Kconfig-16550 drivers/uart_16550: configure MCR_OUT2 bit from Kconfig 2024-09-15 03:37:58 +08:00
Kconfig-cmsdk drivers/serial:support arm cmsdk drivers 2024-04-26 18:42:35 -03:00
Kconfig-lpuart
Kconfig-pl011 drivers/serial/uart_pl011.c : add the interface about clock and reset control for reducing power consumption. 2024-06-03 21:18:44 +08:00
Kconfig-sci
Kconfig-uart
Kconfig-usart
Make.defs drivers/serial:support arm cmsdk drivers 2024-04-26 18:42:35 -03:00
ptmx.c pty: use mutex to protect alloc minor 2024-08-25 22:16:53 +08:00
pty.c nuttx: use sizeof instead of define or number in snprintf 2024-08-25 19:22:15 +08:00
pty.h
serial_cmsdk.c drivers/serial:support arm cmsdk drivers 2024-04-26 18:42:35 -03:00
serial_dma.c drivers/serial: unmodify head and tail pointers 2023-09-19 09:41:07 +08:00
serial_gdbstub.c serial/gdbstub: Change GDBSTUB_ to GDB_ 2024-06-24 23:51:43 +08:00
serial_io.c tty:support tty c_cc VMIN & VTIME 2023-04-29 13:48:52 +08:00
serial.c drivers/serial: fix deadlock when executing rexec in a user task 2024-09-14 10:27:40 +08:00
uart_16550.c drivers: prepare 16550 UART driver to support PCI 2024-09-15 03:37:58 +08:00
uart_bth4.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
uart_bth5.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
uart_pl011.c serial/uart_pl011: default syslog needs to check flow control in up_putc 2024-09-12 17:15:40 +08:00
uart_ram.c drivers/serial: add ram uart driver 2023-09-19 09:41:07 +08:00
uart_rpmsg.c fix:uart_rpmsg_dmareceive data copy to nbuffer should start from data + length 2024-08-22 09:23:12 -03:00