Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1455819

Re: [PATCH 2/2] imx53.dtsi : Add DMA configuration for UART

From Fabio Estevam <festevam@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] imx53.dtsi : Add DMA configuration for UART
Date 2016-08-03 16:30 +0200
Message-ID <s25lf-3EJ-5@gated-at.bofh.it> (permalink)
References <s25lf-3EJ-7@gated-at.bofh.it> <s25lf-3EJ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] imx53.dtsi : Add DMA configuration for UART Fabio Estevam <festevam@gmail.com> - 2016-08-03 16:30 +0200
  [PATCH v2 2/2] imx53.dtsi : Add DMA configuration for UART Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> - 2016-08-04 12:30 +0200
    Re: [PATCH v2 2/2] imx53.dtsi : Add DMA configuration for UART Alexander Shiyan <shc_work@mail.ru> - 2016-08-04 13:30 +0200
      Re: [PATCH v2 2/2] imx53.dtsi : Add DMA configuration for UART Fabio Estevam <festevam@gmail.com> - 2016-08-06 22:10 +0200
        [PATCH 2/2] imx53.dtsi : Add DMA configuration for UART Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> - 2016-08-08 11:30 +0200
        [PATCH 1/2] Allowing UART DMA to be configured on i.MX53 Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> - 2016-08-08 11:40 +0200
    Re: [PATCH v2 2/2] imx53.dtsi : Add DMA configuration for UART Shawn Guo <shawnguo@kernel.org> - 2016-08-09 15:40 +0200
  [PATCH v2 1/2] Allowing UART DMA to be configured on i.MX53 Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> - 2016-08-04 12:40 +0200
  [PATCH 1/1] imx53.dtsi: Add IPU nodes for csi Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> - 2016-08-04 16:00 +0200
    Re: [PATCH 1/1] imx53.dtsi: Add IPU nodes for csi Philipp Zabel <p.zabel@pengutronix.de> - 2016-08-05 11:40 +0200
    Re: [PATCH 1/1] imx53.dtsi: Add IPU nodes for csi Shawn Guo <shawnguo@kernel.org> - 2016-08-09 15:40 +0200

csiph-web