Skip to contentSkip to conversation

mxs-auart serial driver DMA support?

DISCUSSION Lauri Hintsala 2 participants 4 messages Jan 12, 2012 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

Hi,

Any plans to add DMA support for mxs-auart serial driver? I noticed it is impossible to archive full 3.25 Mbs speed with current one.

There is DMA supported driver on freescale's git tree:
http://opensource.freescale.com/git?p=imx/linux-2.6-imx.git;a=blob;f=drivers/serial/mxs-auart.c;hb=imx_2.6.35_11.09.01

As I understood porting DMA support from freescale's driver is not trivial because MXS DMA implementation has been changed to mainline version.

Regards,
Lauri Hintsala

#1 lore raw
Quoted 3 lines

Any plans to add DMA support for mxs-auart serial driver? I noticed it is impossible to archive full 3.25 Mbs speed with current one.

No plans from our side, currently.

Quoted 3 lines

As I understood porting DMA support from freescale's driver is not trivial because MXS DMA implementation has been changed to mainline version.

Yes, luckily. DMAENGINE is really the way to go.

Regards,

Wolfram

Signature · 9 lines
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120112/267d55f1/attachment.sig>
#2 lore raw
Quoted 5 lines · Wolfram Sang
Quoted 3 lines

Any plans to add DMA support for mxs-auart serial driver? I noticed it is impossible to archive full 3.25 Mbs speed with current one.

No plans from our side, currently.

OK, AUART works fine with 115200 bps but over that it loose data randomly. I have seen fifo overrun errors during receiving data with 1Mbs and over. So current driver is unuseful with higher baud rates.

Regards,
Lauri

#3 lore raw
Quoted 10 lines · Lauri Hintsala
Quoted 5 lines · Wolfram Sang
Quoted 3 lines

Any plans to add DMA support for mxs-auart serial driver? I noticed it is impossible to archive full 3.25 Mbs speed with current one.

No plans from our side, currently.

OK, AUART works fine with 115200 bps but over that it loose data randomly. I have seen fifo overrun errors during receiving data with 1Mbs and over. So current driver is unuseful with higher baud rates.

Care to send a patch adding this information to Kconfig help text and/or source code? Would be much more useful there, I think.

Regards,

Wolfram

Signature · 9 lines
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120112/a517d75b/attachment.sig>