mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <tthayer@opensource.altera.com>
To: <gregkh@linuxfoundation.org>, <robh+dt@kernel.org>,
	<mark.rutland@arm.com>, <lftan@altera.com>, <jslaby@suse.com>,
	<arnd@arndb.de>, <peter@hurleysoftware.com>,
	<andriy.shevchenko@linux.intel.com>, <anton.wuerfel@fau.de>,
	<phillip.raffeck@fau.de>, <yegorslists@googlemail.com>,
	<matwey@sai.msu.ru>, <mail@maciej.szmigiero.name>
Cc: <peter.ujfalusi@ti.com>, <jonathanh@nvidia.com>,
	<dongsheng.wang@nxp.com>, <luis@debethencourt.com>,
	<linux-kernel@vger.kernel.org>, <linux-serial@vger.kernel.org>,
	<devicetree@vger.kernel.org>, <tthayer.linux@gmail.com>,
	<tthayer@opensource.altera.com>,
	<nios2-dev@lists.rocketboards.org>
Subject: [PATCHv2 0/4] Add TX FIFO Threshold for Altera 16550-FIFOxx
Date: Thu, 22 Sep 2016 14:56:13 -0500	[thread overview]
Message-ID: <1474574177-4984-1-git-send-email-tthayer@opensource.altera.com> (raw)

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

             reply	other threads:[~2016-09-22 20:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-22 19:56 tthayer [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1474574177-4984-1-git-send-email-tthayer@opensource.altera.com \
    --to=tthayer@opensource.altera.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=anton.wuerfel@fau.de \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=dongsheng.wang@nxp.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jonathanh@nvidia.com \
    --cc=jslaby@suse.com \
    --cc=lftan@altera.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=luis@debethencourt.com \
    --cc=mail@maciej.szmigiero.name \
    --cc=mark.rutland@arm.com \
    --cc=matwey@sai.msu.ru \
    --cc=nios2-dev@lists.rocketboards.org \
    --cc=peter.ujfalusi@ti.com \
    --cc=peter@hurleysoftware.com \
    --cc=phillip.raffeck@fau.de \
    --cc=robh+dt@kernel.org \
    --cc=tthayer.linux@gmail.com \
    --cc=yegorslists@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®