ARM: 6763/1: pl011: add optional RX DMA to PL011 v2
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 24 Feb 2011 12:21:08 +0000 (13:21 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 10 Mar 2011 10:07:22 +0000 (10:07 +0000)
commitead76f329f777c7301e0a5456a0a1c7a081570bd
tree71a2954490057806b4ce87a7d368f11f62b16e85
parenta5abba989deceb731047425812d268daf7536575
ARM: 6763/1: pl011: add optional RX DMA to PL011 v2

This adds an optional RX DMA codepath for the devices that
support this by using the apropriate burst sizes instead of
pulling single bytes.

Includes portions of code written by Russell King during
a PL08x hacking session.

This has been tested on U300 and Ux500.

Tested-by: Jerzy Kasenberg <jerzy.kasenberg@tieto.com>
Tested-by: Grzegorz Sygieda <grzegorz.sygieda@tieto.com>
Tested-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
Signed-off-by: Per Forlin <per.friden@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/tty/serial/amba-pl011.c