[PATCH v5 1/3] ARM: add CPPI 4.1 DMA support

Ming Lei tom.leiming at gmail.com
Tue Jan 4 10:41:05 EST 2011


2011/1/4 Felipe Balbi <me at felipebalbi.com>:
> Hi,
> On Tue, 2011-01-04 at 22:40 +0800, Ming Lei wrote:
>> > The end goal is just to drop all these ad-hoc "APIs" for accessing DMA
>> > on musb code.
>> If this kind of DMA controllers are only used by MUSB, seems not
>> necessary to convert to dmaengine API.  Any benefit we can get
>> from the convert?   MUSB is cross-platform already after all.
> <irony>
> correct, OMAP GPIO controller is only used on OMAPs, so why do we even
> bother having gpiolib, right ?

OMAP GPIOs have many usages or use cases, so we can use gpiolib
to simplify access to GPIOs.  If GPIOs has only one usage or use case,
it is not necessary to access GPIOs by gpiolib.

Now this kind of DMA controllers are only used by MUSB or only for
MUSB, so it doesn't matter to access them by dmaengine or not.

Lei Ming

More information about the linux-arm-kernel mailing list