From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Subject: Re: [PATCH 2/2] imx53.dtsi : Add DMA configuration for UART Date: Wed, 3 Aug 2016 11:26:48 -0300 Message-ID: References: <1470233593-4513-1-git-send-email-fabien.lahoudere@collabora.co.uk> <1470233593-4513-2-git-send-email-fabien.lahoudere@collabora.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <1470233593-4513-2-git-send-email-fabien.lahoudere-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Fabien Lahoudere Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Russell King , open list , Rob Herring , Sascha Hauer , Fabio Estevam , Shawn Guo , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" List-Id: devicetree@vger.kernel.org Hi Fabien, On Wed, Aug 3, 2016 at 11:13 AM, Fabien Lahoudere wrote: > In order to use sdma with UART, we need to add DMA configuration in device tree. > > Signed-off-by: Fabien Lahoudere > --- > 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 -- 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