mbox series

[0/4] serial: stm32: improve driver for stm32mp25

Message ID 20240111152712.1842790-1-valentin.caron@foss.st.com
Headers show
Series serial: stm32: improve driver for stm32mp25 | expand

Message

Valentin Caron Jan. 11, 2024, 3:27 p.m. UTC
STM32MP25 got the same serial hardware block as STM32MP1x but with two improvements:
 - TX and RX FIFO have been extended to 64 bytes.
 - one instance more than in STM32MP1x series.

Valentin Caron (4):
  serial: stm32: implement prescaler tuning to compute low baudrate
  serial: stm32: extend max number of U(S)ART to 9
  serial: stm32: change register's offset type from u8 to u16
  serial: stm32: get FIFO size from hwcfg register

 drivers/tty/serial/stm32-usart.c | 222 +++++++++++++++++++------------
 drivers/tty/serial/stm32-usart.h |  38 ++++--
 2 files changed, 159 insertions(+), 101 deletions(-)