All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] stm32 usart add fifo threshold configuration
@ 2021-04-13 17:40 ` Erwan Le Ray
  0 siblings, 0 replies; 16+ messages in thread
From: Erwan Le Ray @ 2021-04-13 17:40 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Maxime Coquelin,
	Alexandre Torgue
  Cc: linux-serial, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel, Erwan Le Ray, Fabrice Gasnier, Valentin Caron

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-04-15 21:15 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 17:40 [PATCH v2 0/4] stm32 usart add fifo threshold configuration Erwan Le Ray
2021-04-13 17:40 ` Erwan Le Ray
2021-04-13 17:40 ` [PATCH v2 1/4] dt-bindings: serial: add RX and TX FIFO properties Erwan Le Ray
2021-04-13 17:40   ` Erwan Le Ray
2021-04-15 21:12   ` Rob Herring
2021-04-15 21:12     ` Rob Herring
2021-04-13 17:40 ` [PATCH v2 2/4] dt-bindings: serial: stm32: override FIFO threshold properties Erwan Le Ray
2021-04-13 17:40   ` Erwan Le Ray
2021-04-15 21:13   ` Rob Herring
2021-04-15 21:13     ` Rob Herring
2021-04-13 17:40 ` [PATCH v2 3/4] dt-bindings: serial: 8250: update TX FIFO trigger level Erwan Le Ray
2021-04-13 17:40   ` Erwan Le Ray
2021-04-15 21:13   ` Rob Herring
2021-04-15 21:13     ` Rob Herring
2021-04-13 17:40 ` [PATCH v2 4/4] serial: stm32: add FIFO threshold configuration Erwan Le Ray
2021-04-13 17:40   ` Erwan Le Ray

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.