i.mx 35 UART using SDMA

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.mx 35 UART using SDMA

1,318 次查看
sridharlakkidi
Contributor I

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.

标记 (1)
0 项奖励
回复
2 回复数

1,136 次查看
fabio_estevam
NXP Employee
NXP Employee

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

0 项奖励
回复

1,136 次查看
sridharlakkidi
Contributor I

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.

0 项奖励
回复