[PATCH v2 0/4] stm32 usart add fifo threshold configuration

From: Erwan Le Ray
Date: Tue Apr 13 2021 - 13:40:48 EST


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

Changes in v2:
Change added properties naming and factorize it in serial.yaml as proposed
by Rob Herring.

Erwan Le Ray (3):
dt-bindings: serial: add RX and TX FIFO properties
dt-bindings: serial: stm32: override FIFO threshold properties
dt-bindings: serial: 8250: update TX FIFO trigger level

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

.../devicetree/bindings/serial/8250.yaml | 1 -
.../devicetree/bindings/serial/serial.yaml | 10 ++++
.../bindings/serial/st,stm32-uart.yaml | 27 +++++++++-
drivers/tty/serial/stm32-usart.c | 53 ++++++++++++++++---
drivers/tty/serial/stm32-usart.h | 8 +--
5 files changed, 85 insertions(+), 14 deletions(-)

--
2.17.1