* mxs-auart serial driver DMA support?
@ 2012-01-12 6:30 Lauri Hintsala
0 siblings, 0 replies; 5+ messages in thread
From: Lauri Hintsala @ 2012-01-12 6:30 UTC (permalink / raw)
To: Sascha Hauer; +Cc: linux-serial, linux-arm-kernel-request
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* mxs-auart serial driver DMA support?
@ 2012-01-12 6:33 Lauri Hintsala
2012-01-12 9:42 ` Wolfram Sang
0 siblings, 1 reply; 5+ messages in thread
From: Lauri Hintsala @ 2012-01-12 6:33 UTC (permalink / raw)
To: Sascha Hauer; +Cc: linux-arm-kernel@lists.infradead.org, linux-serial
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mxs-auart serial driver DMA support?
2012-01-12 6:33 mxs-auart serial driver DMA support? Lauri Hintsala
@ 2012-01-12 9:42 ` Wolfram Sang
2012-01-12 10:28 ` Lauri Hintsala
0 siblings, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2012-01-12 9:42 UTC (permalink / raw)
To: Lauri Hintsala
Cc: Sascha Hauer, linux-arm-kernel@lists.infradead.org, linux-serial
[-- Attachment #1: Type: text/plain, Size: 572 bytes --]
> 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.
> 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
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mxs-auart serial driver DMA support?
2012-01-12 9:42 ` Wolfram Sang
@ 2012-01-12 10:28 ` Lauri Hintsala
2012-01-12 11:00 ` Wolfram Sang
0 siblings, 1 reply; 5+ messages in thread
From: Lauri Hintsala @ 2012-01-12 10:28 UTC (permalink / raw)
To: Wolfram Sang
Cc: Sascha Hauer, linux-arm-kernel@lists.infradead.org, linux-serial
On 01/12/2012 11:42 AM, Wolfram Sang wrote:
>
>> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mxs-auart serial driver DMA support?
2012-01-12 10:28 ` Lauri Hintsala
@ 2012-01-12 11:00 ` Wolfram Sang
0 siblings, 0 replies; 5+ messages in thread
From: Wolfram Sang @ 2012-01-12 11:00 UTC (permalink / raw)
To: Lauri Hintsala
Cc: Sascha Hauer, linux-arm-kernel@lists.infradead.org, linux-serial
[-- Attachment #1: Type: text/plain, Size: 838 bytes --]
On Thu, Jan 12, 2012 at 12:28:11PM +0200, Lauri Hintsala wrote:
> On 01/12/2012 11:42 AM, Wolfram Sang wrote:
> >
> >>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
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-01-12 11:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-12 6:33 mxs-auart serial driver DMA support? Lauri Hintsala
2012-01-12 9:42 ` Wolfram Sang
2012-01-12 10:28 ` Lauri Hintsala
2012-01-12 11:00 ` Wolfram Sang
-- strict thread matches above, loose matches on Subject: below --
2012-01-12 6:30 Lauri Hintsala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).