aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sirfsoc_uart.h
diff options
context:
space:
mode:
authorBarry Song <Baohua.Song@csr.com>2013-08-07 01:35:38 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-12 14:29:53 -0400
commit909102db44faf40bae96d8f9d23de79e1ca0853a (patch)
treebb42958f670ab18e859a25dd2b1e5a3c48086527 /drivers/tty/serial/sirfsoc_uart.h
parentf7d2c0bbdb7b784cc035cacb7d36b379ba1c3bef (diff)
serial: sirf: add support for Marco chip
the marco and coming new CSR multiple SoCs have SET/CLR pair for INTEN registers to avoid some read-modify-write. this patch adds support for this and make the driver support current up and coming mp SoCs. Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sirfsoc_uart.h')
-rw-r--r--drivers/tty/serial/sirfsoc_uart.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tty/serial/sirfsoc_uart.h b/drivers/tty/serial/sirfsoc_uart.h
index 85328ba0c4e3..6216660e72cb 100644
--- a/drivers/tty/serial/sirfsoc_uart.h
+++ b/drivers/tty/serial/sirfsoc_uart.h
@@ -13,6 +13,7 @@
13#define SIRFUART_DIVISOR 0x0050 13#define SIRFUART_DIVISOR 0x0050
14#define SIRFUART_INT_EN 0x0054 14#define SIRFUART_INT_EN 0x0054
15#define SIRFUART_INT_STATUS 0x0058 15#define SIRFUART_INT_STATUS 0x0058
16#define SIRFUART_INT_EN_CLR 0x0060
16#define SIRFUART_TX_DMA_IO_CTRL 0x0100 17#define SIRFUART_TX_DMA_IO_CTRL 0x0100
17#define SIRFUART_TX_DMA_IO_LEN 0x0104 18#define SIRFUART_TX_DMA_IO_LEN 0x0104
18#define SIRFUART_TX_FIFO_CTRL 0x0108 19#define SIRFUART_TX_FIFO_CTRL 0x0108
@@ -164,6 +165,8 @@ struct sirfsoc_uart_port {
164 struct uart_port port; 165 struct uart_port port;
165 struct pinctrl *p; 166 struct pinctrl *p;
166 struct clk *clk; 167 struct clk *clk;
168 /* for SiRFmarco, there are SET/CLR for UART_INT_EN */
169 bool is_marco;
167}; 170};
168 171
169/* Hardware Flow Control */ 172/* Hardware Flow Control */