]> git.baikalelectronics.ru Git - kernel.git/commit
serial8250-em: Emma Mobile UART driver V2
authorMagnus Damm <damm@opensource.se>
Thu, 3 May 2012 12:13:09 +0000 (21:13 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 May 2012 23:45:07 +0000 (16:45 -0700)
commit7c34afb62d039d67e60c805f3fd96514d41bf41e
treece6a442c280827b21da66c771aaec9a4e8613193
parent77f244690d26a2a2f209776404acf2fcc03de86e
serial8250-em: Emma Mobile UART driver V2

This is V2 of the Emma Mobile 8250 platform driver.

The hardware itself has according to the data sheet
up to 64 byte FIFOs but at this point we only make
use of the 16550 compatible mode.

To support this piece of hardware the common UART
registers need to be remapped, and the access size
differences need to be handled.

The DLL and DLM registers can due to offset collision
not be remapped easily, and because of that this
driver makes use of ->dl_read() and ->dl_write()
callbacks. This in turn requires a registration
function that takes 8250-specific paramenters.

Future potential enhancements include DT support,
early platform driver console and fine grained PM.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Alan Cox <alan@linux.intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_em.c [new file with mode: 0644]
drivers/tty/serial/8250/Kconfig
drivers/tty/serial/8250/Makefile