Hello All,
Porting UART software from Linux 2.6 to Linux 3.2 kernel, which uses SDMA APIs(mentioned below) . I do see a lot of interfaces are changed in 3.2 kernel . I am looking some information how to fulfill below interfaces.
Linux 2.6 interfaces
----------------------
mxc_dma_request -- Not there in Linux 3.2 kernel
mxc_dma_config -- Not there in Linux 3.2 kernel
mxc_dma_callback_set -- Not there in Linux 3.2 kernel
mxc_dma_enable -- Not there in Linux 3.2 kernel
Can any one let me know where can i find patch for this interfaces ? What types of interfaces i need to use to get similar functionality.
I would suggest you to try a more recent kernel such as 3.13.7.
The sdma driver is available at drivers/dma/imx-sdma.c
Regards,
Fabio Estevam
Hi Fabio,
I have looked in to the 3.13.7 Kernel version. Seems like it also have same API, but not the API's mentioned above. I trying to find out how to fill the structure elements sdma_engine.
Any one have sample application that uses SDMA driver for I.Mx35.
Thanks in advance.