diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-08-16 17:47:46 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-23 10:54:19 -0700 |
commit | 6b1a98d1c4851235d9b6764b3f7b7db7909fc760 (patch) | |
tree | c394ab3f6fc315dbfa890b768584a5d7b730d5a8 /drivers/tty/serial/Kconfig | |
parent | 4834d028978583dfe8e1fc19f1180ceb03d8dfb7 (diff) | |
download | blackbird-op-linux-6b1a98d1c4851235d9b6764b3f7b7db7909fc760.tar.gz blackbird-op-linux-6b1a98d1c4851235d9b6764b3f7b7db7909fc760.zip |
tty: serial8250: add helpers for the DesignWare 8250
The Synopsys DesignWare 8250 is an 8250 that has an extra interrupt that
gets raised when writing to the LCR when busy. To handle this we need
special serial_out, serial_in and handle_irq methods. Add a new
function serial8250_use_designware_io() that configures a uart_port with
these accessors.
Cc: Alan Cox <alan@linux.intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r-- | drivers/tty/serial/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index a9b307f582e1..d2d1cc2329b7 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -267,6 +267,13 @@ config SERIAL_8250_RM9K port hardware found on MIPS RM9122 and similar processors. If unsure, say N. +config SERIAL_8250_DW + bool "Support for Synopsys DesignWare 8250 quirks" + depends on SERIAL_8250 + help + Selecting this option will enable handling of the extra features + present in the Synopsys DesignWare APB UART. + comment "Non-8250 serial port support" config SERIAL_AMBA_PL010 |