[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5BoRsrHv-+5c9bAXO2NCya8sPqmmpy9DOfav6NvQ+VMLQ@mail.gmail.com>
Date: Wed, 3 Aug 2016 11:26:48 -0300
From: Fabio Estevam <festevam@...il.com>
To: Fabien Lahoudere <fabien.lahoudere@...labora.co.uk>
Cc: Mark Rutland <mark.rutland@....com>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>, Russell King <linux@...linux.org.uk>,
open list <linux-kernel@...r.kernel.org>,
Rob Herring <robh+dt@...nel.org>,
Sascha Hauer <kernel@...gutronix.de>,
Fabio Estevam <fabio.estevam@....com>,
Shawn Guo <shawnguo@...nel.org>,
"moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 2/2] imx53.dtsi : Add DMA configuration for UART
Hi Fabien,
On Wed, Aug 3, 2016 at 11:13 AM, Fabien Lahoudere
<fabien.lahoudere@...labora.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@...labora.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
Powered by blists - more mailing lists