mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCHv2 0/4] Add TX FIFO Threshold for Altera 16550-FIFOxx
@ 2016-09-22 19:56 tthayer
  2016-09-22 19:56 ` [PATCHv2 1/4] Documentation: dt: serial: Add TX FIFO threshold parameter tthayer
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: tthayer @ 2016-09-22 19:56 UTC (permalink / raw)
  To: gregkh, robh+dt, mark.rutland, lftan, jslaby, arnd, peter,
	andriy.shevchenko, anton.wuerfel, phillip.raffeck, yegorslists,
	matwey, mail
  Cc: peter.ujfalusi, jonathanh, dongsheng.wang, luis, linux-kernel,
	linux-serial, devicetree, tthayer.linux, tthayer, nios2-dev

From: Thor Thayer <tthayer@opensource.altera.com>

Some variants of the 16550 have a programmable TX FIFO threshold that
will trigger an IRQ when the FIFO drops below the threshold. The Altera
16550 compatible soft IP supports programmable TX FIFO thresholds.

This patch series adds the tx-threshold parameter to the device tree.
The tx_loadsz variable is amount of data that can be loaded into the
FIFO on an IRQ and is updated based on the tx-threshold value.

This patch series also adds support for the TX FIFO threshold registers
in the Altera 16550-FIFOxx soft IP.

Thor Thayer (4):
  Documentation: dt: serial: Add TX FIFO threshold parameter
  serial: 8250: of: Load TX FIFO Threshold from DT
  serial: 8250: Set Altera 16550 TX FIFO Threshold
  nios2: dts: 10m50: Add tx-threshold parameter

 Documentation/devicetree/bindings/serial/8250.txt |    2 +
 arch/nios2/boot/dts/10m50_devboard.dts            |    1 +
 drivers/tty/serial/8250/8250_of.c                 |    7 ++++
 drivers/tty/serial/8250/8250_port.c               |   43 +++++++++++++++++++++
 include/uapi/linux/serial_reg.h                   |    8 ++++
 5 files changed, 61 insertions(+)

-- 
1.7.9.5

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

end of thread, other threads:[~2016-10-04  6:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-22 19:56 [PATCHv2 0/4] Add TX FIFO Threshold for Altera 16550-FIFOxx tthayer
2016-09-22 19:56 ` [PATCHv2 1/4] Documentation: dt: serial: Add TX FIFO threshold parameter tthayer
2016-09-23 21:47   ` Rob Herring
2016-09-22 19:56 ` [PATCHv2 2/4] serial: 8250: of: Load TX FIFO Threshold from DT tthayer
2016-09-22 19:56 ` [PATCHv2 3/4] serial: 8250: Set Altera 16550 TX FIFO Threshold tthayer
2016-09-22 19:56 ` [PATCHv2 4/4] nios2: dts: 10m50: Add tx-threshold parameter tthayer
2016-10-04  6:17   ` Ley Foon Tan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®