[PATCH] ARM: add PrimeCell generic DMA to PL011

Linus Walleij linus.ml.walleij at gmail.com
Wed Dec 22 16:23:04 EST 2010


2010/12/22 Russell King - ARM Linux <linux at arm.linux.org.uk>:

> This emptying of the RX UART FIFO of all received data prevents the RX
> timeout condition being satisfied, which in turn prevents any reasonable
> use of the UART port.
>
> I think the answer here is to allow the platform to supply just the TX
> DMA channel, so when a UART is wired up to use the single-character
> request, RX DMA support can be omitted.

Yes atleast that is fully OK until someone comes up with some clever
workaround. I don't know if a software fallback timer flipping the buffers
would work.

There's another reason for not doing UART RX at all: for example
it will occupy one of the channels (PB11MPCores PL081 has only
two!) for good, and then MMCI and AACI cannot use it at the same
time.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list