From: Mark Rutland <mark.rutland@arm.com>
To: Yuan Yao <yao.yuan@freescale.com>
Cc: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
"shawn.guo@linaro.org" <shawn.guo@linaro.org>,
"linux@arm.linux.org.uk" <linux@arm.linux.org.uk>,
"arnd@arndb.de" <arnd@arndb.de>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>
Subject: Re: [PATCH v4 2/3] serial: fsl_lpuart: add DMA support
Date: Fri, 24 Jan 2014 11:31:14 +0000 [thread overview]
Message-ID: <20140124113114.GE814@e106331-lin.cambridge.arm.com> (raw)
In-Reply-To: <1390363773-24108-3-git-send-email-yao.yuan@freescale.com>
On Wed, Jan 22, 2014 at 04:09:32AM +0000, Yuan Yao wrote:
> Add dma support for lpuart. This function depend on DMA driver.
> You can turn on it by write both the dmas and dma-name properties in dts node.
>
> Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
> ---
> .../devicetree/bindings/serial/fsl-lpuart.txt | 19 +-
> drivers/tty/serial/fsl_lpuart.c | 430 ++++++++++++++++++++-
> 2 files changed, 433 insertions(+), 16 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.txt b/Documentation/devicetree/bindings/serial/fsl-lpuart.txt
> index 6fd1dd1..6e1cbbf 100644
> --- a/Documentation/devicetree/bindings/serial/fsl-lpuart.txt
> +++ b/Documentation/devicetree/bindings/serial/fsl-lpuart.txt
> @@ -5,10 +5,21 @@ Required properties:
> - reg : Address and length of the register set for the device
> - interrupts : Should contain uart interrupt
>
> +Optional properties:
> +- dmas: Generic dma devicetree binding as described
> + in Documentation/devicetree/bindings/dma/dma.txt.
> +- dma-names: Two dmas have to be defined, "rx" and "tx".
> + An ordered list of channel names affiliated to the above.
Please describe dmas in terms of dma-names (as with the patch describing
clocks and clock-names).
It would be nice to describe the type of the dmas property, but I see
that we have a propblem with inconsistent terminology in the area of
${THING}-specifiers, so I'll try to get that cleaned up separately.
Cheers,
Mark.
next prev parent reply other threads:[~2014-01-24 11:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 4:09 [PATCH v4 0/3] serial: fsl_lpuart: add DMA support Yuan Yao
2014-01-22 4:09 ` [PATCH v4 1/3] ARM: dts: vf610: lpuart: Add eDMA support Yuan Yao
2014-01-22 4:09 ` [PATCH v4 2/3] serial: fsl_lpuart: add DMA support Yuan Yao
2014-01-24 11:31 ` Mark Rutland [this message]
2014-01-22 4:09 ` [PATCH v4 3/3] serial: fsl_lpuart: documented the clock requirement Yuan Yao
2014-01-24 11:26 ` Mark Rutland
2014-01-27 7:50 ` [PATCH v4 0/3] serial: fsl_lpuart: add DMA support Shawn Guo
2014-02-11 1:50 ` Yao Yuan
2014-02-11 2:59 ` Shawn Guo
2014-02-11 5:34 ` Yao Yuan
2014-02-11 5:45 ` Shawn Guo
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=20140124113114.GE814@e106331-lin.cambridge.arm.com \
--to=mark.rutland@arm.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=shawn.guo@linaro.org \
--cc=yao.yuan@freescale.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;
as well as URLs for NNTP newsgroup(s).