[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210413174015.23011-1-erwan.leray@foss.st.com>
Date: Tue, 13 Apr 2021 19:40:11 +0200
From: Erwan Le Ray <erwan.leray@...s.st.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>, Rob Herring <robh+dt@...nel.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>
CC: <linux-serial@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>,
Erwan Le Ray <erwan.leray@...s.st.com>,
Fabrice Gasnier <fabrice.gasnier@...s.st.com>,
Valentin Caron <valentin.caron@...s.st.com>
Subject: [PATCH v2 0/4] stm32 usart add fifo threshold configuration
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
Powered by blists - more mailing lists