summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAlexey Charkov <alchark@gmail.com>2010-11-08 20:33:20 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-11 11:35:57 -0800
commit304e12665a4a7b8b25dfe8c64fa4fd56a04a67ea (patch)
tree4aedac5376401bba9ed59c52d2fc89545fe9886b /include/linux
parentaf3b8881f4c9852eefe9c7f1a997b3ecf580561b (diff)
downloadblackbird-obmc-linux-304e12665a4a7b8b25dfe8c64fa4fd56a04a67ea.tar.gz
blackbird-obmc-linux-304e12665a4a7b8b25dfe8c64fa4fd56a04a67ea.zip
serial: Add support for UART on VIA VT8500 and compatibles
This adds a driver for the serial ports found in VIA and WonderMedia Systems-on-Chip. Interrupt-driven FIFO operation is implemented. The hardware also supports pure register-based operation (which is slower) and DMA-based FIFO operation. As the FIFOs are only 16 bytes long, DMA operation is probably not worth the hassle. Signed-off-by: Alexey Charkov <alchark@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/serial_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 212eb4c67797..41603d690433 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -199,6 +199,9 @@
/* TI OMAP-UART */
#define PORT_OMAP 96
+/* VIA VT8500 SoC */
+#define PORT_VT8500 97
+
#ifdef __KERNEL__
#include <linux/compiler.h>
OpenPOWER on IntegriCloud