[lkml]   [2014]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectPorting 3.5 Kernel to a new ARM platform: DMA issues

I'm working to port 3.5 Kernel to a new platform and I'm trying to be
compliant with the new features of newer Kernel versions (I'm familiar
with 2.6). To be more specific I'm trying to adapt the port to the DMA
engine: I've got the DMA driver and the peripheral's driver which use
the DMA engine.
On older Kernel version one could write for example a dma.c under
linux/arch/arm/mach-<arch> to provide dma's specific alloc/release
functions to take care for example of a MUX between peripherals and DMA.
In release 3.5 I found the function dma_filter called during the
dma_request_channel () that seems to provide the functionality I need to
set a MUX for example during the allocation of the DMA channel, but I
can't find any customizable function called during the
dma_release_channel() to change the configuration of the MUX I set
during the dma_request_channel().
Am I missing something or in new releases this kind of operation isn't

Thank you

Dr. Villa Alberto
Sw Engineer

SeleTech srl
via Collodi, 8 20052 Monza (MI)
tel: +39 039 5962000
fax: +39 039 9716905

 \ /
  Last update: 2014-04-08 11:21    [W:0.030 / U:65.576 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site