lkml.org 
[lkml]   [2021]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] stm32 usart add fifo threshold configuration
Date
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

\
 
 \ /
  Last update: 2021-04-13 19:41    [W:0.077 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site