SPI, DMA and an i.MX31
Andy Green
andy at warmcat.com
Fri Sep 25 03:26:12 EDT 2009
On 09/24/09 11:51, Somebody in the thread at some point said:
Hi Rene -
> The drivers/mmc/host/mxcmmc.c from 2.6.31 uses some different dma api: all
> those fkt start with 'imx_', the sdma's from the ltib have a 'mxc' prefix.
> I tried to match them and wrap those 'mxc' in defines, mapping them to the
> 'imx' ones. Unfortunately for some fkts I didn't find a matching 'mxc' one.
> The driver compiles, but I guess it's pretty useless the way it is. May be
> I should have looked to the driver version in ltib, instead.
>
> After that I tried to register a SDMA channel with a device. As far as I
> can see that works. The Registered channel shows under
> '/proc/sdma/channels'. Freeing that also works.
>
> Next: Will try to start a SDMA transfer with SPI.
Thanks a lot for taking a look at it anyway.
Since this mxcmmc.c imx_ stuff is platform stuff cover mx1 and mx2, I
guess there'll be trouble getting any mx3 DMA stuff accepted that
doesn't play along with its existing game or change them all to some
more standard method.
-Andy
More information about the linux-arm-kernel
mailing list