linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: festevam@gmail.com (Fabio Estevam)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] imx53.dtsi : Add DMA configuration for UART
Date: Wed, 3 Aug 2016 11:26:48 -0300	[thread overview]
Message-ID: <CAOMZO5BoRsrHv-+5c9bAXO2NCya8sPqmmpy9DOfav6NvQ+VMLQ@mail.gmail.com> (raw)
In-Reply-To: <1470233593-4513-2-git-send-email-fabien.lahoudere@collabora.co.uk>

Hi Fabien,

On Wed, Aug 3, 2016 at 11:13 AM, Fabien Lahoudere
<fabien.lahoudere@collabora.co.uk> wrote:
> In order to use sdma with UART, we need to add DMA configuration in device tree.
>
> Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
> ---
>  arch/arm/boot/dts/imx53.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi
> index cd17037..de545e2 100644
> --- a/arch/arm/boot/dts/imx53.dtsi
> +++ b/arch/arm/boot/dts/imx53.dtsi
> @@ -217,6 +217,8 @@
>                                         clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
>                                                  <&clks IMX5_CLK_UART3_PER_GATE>;
>                                         clock-names = "ipg", "per";
> +                                       dmas = <&sdma 42 4 0>, <&sdma 43 4 0>;
> +                                       dma-names = "rx", "tx";
>                                         status = "disabled";
>                                 };

Care to add the dma channels for uart1 as well?

Thanks

  reply	other threads:[~2016-08-03 14:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1470233593-4513-1-git-send-email-fabien.lahoudere@collabora.co.uk>
2016-08-03 14:13 ` [PATCH 2/2] imx53.dtsi : Add DMA configuration for UART Fabien Lahoudere
2016-08-03 14:26   ` Fabio Estevam [this message]
     [not found]     ` <1470306157-11181-1-git-send-email-fabien.lahoudere@collabora.co.uk>
2016-08-04 10:22       ` [PATCH v2 " Fabien Lahoudere
2016-08-04 10:49         ` Alexander Shiyan
2016-08-06 13:59           ` Fabio Estevam
     [not found]             ` <1470648566-11698-1-git-send-email-fabien.lahoudere@collabora.co.uk>
2016-08-08  9:29               ` [PATCH " Fabien Lahoudere
2016-08-09 13:35         ` [PATCH v2 " Shawn Guo
2016-08-04 13:47     ` [PATCH 1/1] imx53.dtsi: Add IPU nodes for csi Fabien Lahoudere
2016-08-05  9:33       ` Philipp Zabel
2016-08-09 13:38       ` 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=CAOMZO5BoRsrHv-+5c9bAXO2NCya8sPqmmpy9DOfav6NvQ+VMLQ@mail.gmail.com \
    --to=festevam@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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).