linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: pebolle@tiscali.nl (Paul Bolle)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 3/5] dmaengine: pxa: add pxa dmaengine driver
Date: Tue, 26 May 2015 09:28:34 +0200	[thread overview]
Message-ID: <1432625314.27695.200.camel@x220> (raw)
In-Reply-To: <1432589362-23241-3-git-send-email-robert.jarzmik@free.fr>

Vinod already applied this, so my remarks, if valid, should probably be
handled in a follow up patch.

On Mon, 2015-05-25 at 23:29 +0200, Robert Jarzmik wrote:
> --- a/drivers/dma/Kconfig
> +++ b/drivers/dma/Kconfig
 
> +config PXA_DMA
> +	bool "PXA DMA support"
> +	depends on (ARCH_MMP || ARCH_PXA)
> +	select DMA_ENGINE
> +	select DMA_VIRTUAL_CHANNELS
> +	help
> +	  Support the DMA engine for PXA. It is also compatible with MMP PDMA
> +	  platform. The internal DMA IP of all PXA variants is supported, with
> +	  16 to 32 channels for peripheral to memory or memory to memory
> +	  transfers.

> --- a/drivers/dma/Makefile
> +++ b/drivers/dma/Makefile

> +obj-$(CONFIG_PXA_DMA) += pxa_dma.o

> --- /dev/null
> +++ b/drivers/dma/pxa_dma.c

> +#include <linux/module.h>

> +MODULE_DEVICE_TABLE(of, pxad_dt_ids);

> +module_platform_driver(pxad_driver);

(The series starting at https://lkml.org/lkml/2015/5/10/131 would allow
to use builtin_platform_driver() for built-in only code.)

> +MODULE_DESCRIPTION("Marvell PXA Peripheral DMA Driver");
> +MODULE_AUTHOR("Robert Jarzmik <robert.jarzmik@free.fr>");
> +MODULE_LICENSE("GPL v2");

This patch added a bool Kconfig symbol. So pxa_dma.c will never be part
of a module. Its code contains a few module specific macros. Was it
actually intended for PXA_DMA to be tristate?


Paul Bolle

  reply	other threads:[~2015-05-26  7:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-25 21:29 [PATCH v4 1/5] Documentation: dmaengine: pxa-dma design Robert Jarzmik
2015-05-25 21:29 ` [PATCH v4 2/5] MAINTAINERS: add pxa dma driver to pxa architecture Robert Jarzmik
2015-05-25 21:29 ` [PATCH v4 3/5] dmaengine: pxa: add pxa dmaengine driver Robert Jarzmik
2015-05-26  7:28   ` Paul Bolle [this message]
2015-05-27  6:15     ` Robert Jarzmik
2015-05-27  6:55       ` Paul Bolle
2015-05-27 19:34         ` Robert Jarzmik
2015-05-25 21:29 ` [PATCH v4 4/5] dmaengine: pxa_dma: add debug information Robert Jarzmik
2015-05-25 21:29 ` [PATCH v4 5/5] dmaengine: pxa_dma: add support for legacy transition Robert Jarzmik
2015-05-26  3:48 ` [PATCH v4 1/5] Documentation: dmaengine: pxa-dma design Vinod Koul
2015-05-26  6:12   ` Robert Jarzmik

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=1432625314.27695.200.camel@x220 \
    --to=pebolle@tiscali.nl \
    --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).