mbox series

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

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

Message

Valentin Caron Jan. 12, 2024, 9:52 a.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.
 
Since v1:
 - Correct include issue reported by kernel test robot:
   https://lore.kernel.org/oe-kbuild-all/202401121426.pnTJrQes-lkp@intel.com/

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 | 223 +++++++++++++++++++------------
 drivers/tty/serial/stm32-usart.h |  38 ++++--
 2 files changed, 160 insertions(+), 101 deletions(-)