devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/4] Add TX FIFO Threshold for Altera 16550-FIFOxx
@ 2016-09-22 19:56 tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
  2016-09-22 19:56 ` [PATCHv2 1/4] Documentation: dt: serial: Add TX FIFO threshold parameter tthayer
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx @ 2016-09-22 19:56 UTC (permalink / raw)
  To: gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	lftan-EIB2kfCEclfQT0dZR+AlfA, jslaby-IBi9RG/b67k,
	arnd-r2nGTMty4D4, peter-WaGBZJeGNqdsbIuE7sb01tBPR1lH4CV8,
	andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA,
	anton.wuerfel-d40JDW7QUjc, phillip.raffeck-d40JDW7QUjc,
	yegorslists-gM/Ye1E23mwN+BqQ9rBEUg, matwey-TTlVxmypnbovJsYlp49lxw,
	mail-APzI5cXaD1zVlRWJc41N0YvC60bnQu0Y
  Cc: peter.ujfalusi-l0cyMroinI0, jonathanh-DDmLM1+adcrQT0dZR+AlfA,
	dongsheng.wang-3arQi8VN3Tc, luis-HiykPkW1eAzzDCI4PIEvbQC/G2K4zDHf,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-serial-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	tthayer.linux-Re5JQEeQqe8AvxtiuMwx3w,
	tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx,
	nios2-dev-g9ZBwUv/Ih/yUk5EbOjzuce+I+R0W71w

From: Thor Thayer <tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>

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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2016-10-04  6:17 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-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
2016-09-22 19:56 ` [PATCHv2 1/4] Documentation: dt: serial: Add TX FIFO threshold parameter tthayer
     [not found]   ` <1474574177-4984-2-git-send-email-tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2016-09-23 21:47     ` Rob Herring
2016-09-22 19:56 ` [PATCHv2 3/4] serial: 8250: Set Altera 16550 TX FIFO Threshold tthayer
     [not found] ` <1474574177-4984-1-git-send-email-tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2016-09-22 19:56   ` [PATCHv2 2/4] serial: 8250: of: Load TX FIFO Threshold from DT tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
2016-09-22 19:56   ` [PATCHv2 4/4] nios2: dts: 10m50: Add tx-threshold parameter tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
     [not found]     ` <1474574177-4984-5-git-send-email-tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
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;
as well as URLs for NNTP newsgroup(s).