diff options
author | Fabian Godehardt | 2009-06-11 15:53:18 +0200 |
---|---|---|
committer | Linus Torvalds | 2009-06-11 17:51:08 +0200 |
commit | b6e4913834cd032082e5c76dfade61050212dc98 (patch) | |
tree | 21f7c1b454ced01895ee121c4980a54d7e0e02f9 /arch/arm/plat-mxc/include/mach/imx-uart.h | |
parent | imx: serial: use rational library function (diff) | |
download | kernel-qcow2-linux-b6e4913834cd032082e5c76dfade61050212dc98.tar.gz kernel-qcow2-linux-b6e4913834cd032082e5c76dfade61050212dc98.tar.xz kernel-qcow2-linux-b6e4913834cd032082e5c76dfade61050212dc98.zip |
imx: serial: add IrDA support to serial driver
Using the iMX serial driver with an IrDA device
needs extra peripheral settings and specific
timing depending on the transmitter circuitry used.
Signed-off-by: Fabian Godehardt <fg@emlix.com>
Signed-off-by: Oskar Schirmer <os@emlix.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/imx-uart.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/imx-uart.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/imx-uart.h b/arch/arm/plat-mxc/include/mach/imx-uart.h index 599217b2e13f..f9bd17dd8dd7 100644 --- a/arch/arm/plat-mxc/include/mach/imx-uart.h +++ b/arch/arm/plat-mxc/include/mach/imx-uart.h @@ -20,11 +20,16 @@ #define ASMARM_ARCH_UART_H #define IMXUART_HAVE_RTSCTS (1<<0) +#define IMXUART_IRDA (1<<1) struct imxuart_platform_data { int (*init)(struct platform_device *pdev); int (*exit)(struct platform_device *pdev); unsigned int flags; + void (*irda_enable)(int enable); + unsigned int irda_inv_rx:1; + unsigned int irda_inv_tx:1; + unsigned short transceiver_delay; }; #endif |