2 * Support file for calling h6300 uart configuration functions.
3 * Used at least by h6300_bt driver.
5 * Copyright (c) 2005 SDG Systems, LLC
6 * 2005-03-29 Todd Blumer Converted basic structure to support hx4700
7 * 2005-10-03 Mika Laitio (lamikr@cc.jyu.fi) Reorganized for the iPAQ h6300 bt driver.
10 #ifndef _H6300_UART_INFO_H
11 #define _H6300_UART_INFO_H
13 #include "omap_serial.h"
15 #define GPIO_BT_PWR_EN 3
16 #define GPIO_N_BT_RST 9
18 #define GPIO_I2C_GPRS_RESET 16
19 #define GPIO_I2C_MIC_OP_EN 10
20 #define GPIO_I2C_SPK_OP_PD 11
22 #define GPIO_VALUE_OFF 0
23 #define GPIO_VALUE_ON 1
25 #define GPIO_DIR_OUTPUT 1
27 struct h6300_uart_funcs {
28 void (*configure)( struct uart_omap_port *up, int state);
29 void (*set_txrx)( struct uart_omap_port *up, int txrx);
30 int (*get_txrx)( struct uart_omap_port *up);