]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/asm-arm/arch-omap/h6300_uart_info.h
h63xx: bluetooth support
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-omap / h6300_uart_info.h
1 /*
2  * Support file for calling h6300 uart configuration functions.
3  * Used at least by h6300_bt driver.
4  * 
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.
8  */
9
10 #ifndef _H6300_UART_INFO_H
11 #define _H6300_UART_INFO_H
12
13 #include "omap_serial.h"
14
15 #define GPIO_BT_PWR_EN 3
16 #define GPIO_N_BT_RST 9
17
18 #define GPIO_I2C_GPRS_RESET 16
19 #define GPIO_I2C_MIC_OP_EN 10
20 #define GPIO_I2C_SPK_OP_PD 11
21
22 #define GPIO_VALUE_OFF  0
23 #define GPIO_VALUE_ON   1
24
25 #define GPIO_DIR_OUTPUT 1
26
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);
31 };
32
33 #endif