diff options
| author | Holger Schurig <h.schurig@de.rmk.(none)> | 2004-02-20 16:52:31 +0000 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2004-02-20 16:52:31 +0000 |
| commit | 7752a71efcb48edcdc8fa7e1fb8244b4bed9660b (patch) | |
| tree | 538c2a4f56a466d5561db6f42ca2da55c27988b4 /include/linux | |
| parent | 06d1514e85d1e5161a3e081880bc2e9244fe7e8a (diff) | |
[ARM PATCH] 1670/1: PXA serial driver
Patch from Holger Schurig
PXA Serial port (FFUART, BTUART, STUART) and console support
This patch works perfectly here with "console=ttyS0,115200" in the
kernel command line. It contains Jean-frederic Clere fix to detect
STUART and BTUART.
Nico said that I should post it to your patch tracker. It replaces patch 1662/1
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/serial_core.h | 1 | ||||
| -rw-r--r-- | include/linux/serial_reg.h | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 8e09c20be413..da998dc9389d 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -46,6 +46,7 @@ * separate so any additions to the old serial.c that occur before * we are merged can be easily merged here. */ +#define PORT_PXA 31 #define PORT_AMBA 32 #define PORT_CLPS711X 33 #define PORT_SA1100 34 diff --git a/include/linux/serial_reg.h b/include/linux/serial_reg.h index 947da230a189..f2fee651085f 100644 --- a/include/linux/serial_reg.h +++ b/include/linux/serial_reg.h @@ -141,6 +141,21 @@ #define UART_MSR_ANY_DELTA 0x0F /* Any of the delta bits! */ /* + * The Intel PXA2xx chip defines those bits + */ +#define UART_IER_DMAE 0x80 /* DMA Requests Enable */ +#define UART_IER_UUE 0x40 /* UART Unit Enable */ +#define UART_IER_NRZE 0x20 /* NRZ coding Enable */ +#define UART_IER_RTOIE 0x10 /* Receiver Time Out Interrupt Enable */ + +#define UART_IIR_TOD 0x08 /* Character Timeout Indication Detected */ + +#define UART_FCR_PXAR1 0x00 /* receive FIFO treshold = 1 */ +#define UART_FCR_PXAR8 0x40 /* receive FIFO treshold = 8 */ +#define UART_FCR_PXAR16 0x80 /* receive FIFO treshold = 16 */ +#define UART_FCR_PXAR32 0xc0 /* receive FIFO treshold = 32 */ + +/* * These are the definitions for the Extended Features Register * (StarTech 16C660 only, when DLAB=1) */ |
