[PATCH 0/2] stm32 usart add fifo threshold configuration

From: Erwan Le Ray
Date: Tue Apr 06 2021 - 03:22:02 EST


This series adds the support for two optional DT properties, to configure
RX and TX FIFO thresholds:
- st,rx-fifo-threshold-bytes
- st,tx-fifo-threshold-bytes
This replaces hard-coded 8 bytes threshold. No functional change expected
if unspecified (keep 8 as default).

Erwan Le Ray (1):
dt-bindings: serial: stm32: add fifo threshold configuration

Fabrice Gasnier (1):
serial: stm32: add fifo threshold configuration

.../bindings/serial/st,stm32-uart.yaml | 31 ++++++++++-
drivers/tty/serial/stm32-usart.c | 53 ++++++++++++++++---
drivers/tty/serial/stm32-usart.h | 8 +--
3 files changed, 79 insertions(+), 13 deletions(-)

--
2.17.1