From mboxrd@z Thu Jan 1 00:00:00 1970 From: emilio@elopez.com.ar (=?ISO-8859-1?Q?Emilio_L=F3pez?=) Date: Tue, 20 May 2014 09:40:53 -0300 Subject: [linux-sunxi] [PATCH v7] DMA: sun6i: Add driver for the Allwinner A31 DMA controller In-Reply-To: <1398349364-10726-2-git-send-email-maxime.ripard@free-electrons.com> References: <1398349364-10726-1-git-send-email-maxime.ripard@free-electrons.com> <1398349364-10726-2-git-send-email-maxime.ripard@free-electrons.com> Message-ID: <537B4D55.5040804@elopez.com.ar> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Maxime, El 24/04/14 11:22, Maxime Ripard escribi?: > The Allwinner A31 has a 16 channels DMA controller that it shares with the > newer A23. Although sharing some similarities with the DMA controller of the > older Allwinner SoCs, it's significantly different, I don't expect it to be > possible to share the driver for these two. > > The A31 Controller is able to memory-to-memory or memory-to-device transfers on > the 16 channels in parallel. > > Signed-off-by: Maxime Ripard > Acked-by: Arnd Bergmann > --- (snip) > diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig > index 5c5863842de9..360a10c71388 100644 > --- a/drivers/dma/Kconfig > +++ b/drivers/dma/Kconfig > @@ -361,6 +361,14 @@ config FSL_EDMA > multiplexing capability for DMA request sources(slot). > This module can be found on Freescale Vybrid and LS-1 SoCs. > > +config DMA_SUN6I > + tristate "Allwinner A31 SoCs DMA support" > + depends on ARCH_SUNXI > + select DMA_ENGINE > + select DMA_VIRTUAL_CHANNELS I think you also need to select DMA_OF here as you are using of_dma_controller_register > + help > + Support for the DMA engine for Allwinner A31 SoCs. > + > config DMA_ENGINE > bool Cheers, Emilio From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Emilio_L=F3pez?= Subject: Re: [PATCH v7] DMA: sun6i: Add driver for the Allwinner A31 DMA controller Date: Tue, 20 May 2014 09:40:53 -0300 Message-ID: <537B4D55.5040804@elopez.com.ar> References: <1398349364-10726-1-git-send-email-maxime.ripard@free-electrons.com> <1398349364-10726-2-git-send-email-maxime.ripard@free-electrons.com> Reply-To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1398349364-10726-2-git-send-email-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> List-Post: , List-Help: , List-Archive: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , To: Maxime Ripard Cc: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Dan Williams , Vinod Koul , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kevin.z.m.zh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, sunny-0TFLnhJekD6UEPyfVivIlAC/G2K4zDHf@public.gmane.org, shuge-0TFLnhJekD6UEPyfVivIlAC/G2K4zDHf@public.gmane.org, zhuzhenhua-0TFLnhJekD6UEPyfVivIlAC/G2K4zDHf@public.gmane.org, andriy.shevchenko-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, Arnd Bergmann List-Id: devicetree@vger.kernel.org Hi Maxime, El 24/04/14 11:22, Maxime Ripard escribi=F3: > The Allwinner A31 has a 16 channels DMA controller that it shares with th= e > newer A23. Although sharing some similarities with the DMA controller of = the > older Allwinner SoCs, it's significantly different, I don't expect it to = be > possible to share the driver for these two. > > The A31 Controller is able to memory-to-memory or memory-to-device transf= ers on > the 16 channels in parallel. > > Signed-off-by: Maxime Ripard > Acked-by: Arnd Bergmann > --- (snip) > diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig > index 5c5863842de9..360a10c71388 100644 > --- a/drivers/dma/Kconfig > +++ b/drivers/dma/Kconfig > @@ -361,6 +361,14 @@ config FSL_EDMA > multiplexing capability for DMA request sources(slot). > This module can be found on Freescale Vybrid and LS-1 SoCs. > > +config DMA_SUN6I > + tristate "Allwinner A31 SoCs DMA support" > + depends on ARCH_SUNXI > + select DMA_ENGINE > + select DMA_VIRTUAL_CHANNELS I think you also need to select DMA_OF here as you are using=20 of_dma_controller_register > + help > + Support for the DMA engine for Allwinner A31 SoCs. > + > config DMA_ENGINE > bool Cheers, Emilio --=20 You received this message because you are subscribed to the Google Groups "= linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753501AbaETMlJ (ORCPT ); Tue, 20 May 2014 08:41:09 -0400 Received: from yotta.elopez.com.ar ([31.220.24.173]:50290 "EHLO yotta.elopez.com.ar" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751062AbaETMlH (ORCPT ); Tue, 20 May 2014 08:41:07 -0400 Message-ID: <537B4D55.5040804@elopez.com.ar> Date: Tue, 20 May 2014 09:40:53 -0300 From: =?ISO-8859-1?Q?Emilio_L=F3pez?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Maxime Ripard CC: linux-sunxi@googlegroups.com, Dan Williams , Vinod Koul , linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kevin.z.m.zh@gmail.com, sunny@allwinnertech.com, shuge@allwinnertech.com, zhuzhenhua@allwinnertech.com, andriy.shevchenko@intel.com, Arnd Bergmann Subject: Re: [linux-sunxi] [PATCH v7] DMA: sun6i: Add driver for the Allwinner A31 DMA controller References: <1398349364-10726-1-git-send-email-maxime.ripard@free-electrons.com> <1398349364-10726-2-git-send-email-maxime.ripard@free-electrons.com> In-Reply-To: <1398349364-10726-2-git-send-email-maxime.ripard@free-electrons.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maxime, El 24/04/14 11:22, Maxime Ripard escribió: > The Allwinner A31 has a 16 channels DMA controller that it shares with the > newer A23. Although sharing some similarities with the DMA controller of the > older Allwinner SoCs, it's significantly different, I don't expect it to be > possible to share the driver for these two. > > The A31 Controller is able to memory-to-memory or memory-to-device transfers on > the 16 channels in parallel. > > Signed-off-by: Maxime Ripard > Acked-by: Arnd Bergmann > --- (snip) > diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig > index 5c5863842de9..360a10c71388 100644 > --- a/drivers/dma/Kconfig > +++ b/drivers/dma/Kconfig > @@ -361,6 +361,14 @@ config FSL_EDMA > multiplexing capability for DMA request sources(slot). > This module can be found on Freescale Vybrid and LS-1 SoCs. > > +config DMA_SUN6I > + tristate "Allwinner A31 SoCs DMA support" > + depends on ARCH_SUNXI > + select DMA_ENGINE > + select DMA_VIRTUAL_CHANNELS I think you also need to select DMA_OF here as you are using of_dma_controller_register > + help > + Support for the DMA engine for Allwinner A31 SoCs. > + > config DMA_ENGINE > bool Cheers, Emilio