[PATCH 1/7] PL330: Add common core driver

Linus Walleij linus.ml.walleij at gmail.com
Sat Apr 24 21:59:26 EDT 2010


2010/4/24 jassi brar <jassisinghbrar at gmail.com>:

> You mean the DMA engine driver for PL330, right?
> Since Joonyoung's driver was pre-empted by these patches,
> he might want to re-write parts of his driver for this backend.
> If he doesn't show any interest in a few days, I'll do it.

Great, my interest here is mainly that this PrimeCell has
a DMAengine API, if it e.g. runs the DMAengine tests
nicely, we know it works.

> Btw, I think that driver should be divided in two files
> drivers/dma/api-pl330.c with common code and
> drivers/dma/<soc>-pl330.c for platform specific stuff like IRQ,
> registers base mapping and other quirks(if any). Any opinions?

Sounds like a plan, this design pattern is already in a lot
of shared peripherals like drivers/usb/musb for example.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list