upload tizen1.0 source
[kernel/linux-2.6.36.git] / arch / arm / mach-s5pv310 / bcm4330.h
1 /*
2  * Header file for BCM4330 driver.
3  *
4  * Copyright (c) 2009-2010 Samsung Electronics
5  * Jaehoon Chung<jh80.chung@samsung.com>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10 */
11
12 #ifndef _BCM4330_H
13 #define _BCM4330_H
14
15 enum bcm4330_type {
16         TYPE_BCM4330_B1,
17         TYPE_BCM4330_B0,
18         TYPE_BCM4330_NUM
19 };
20
21 struct bcm4330_platform_data {
22         int wlan_en;
23         int wlan_host_wake;
24         int bt_en;
25         int bt_nrst;
26         int bt_wake;
27         int bt_host_wake;
28         int bt_uart[4];
29
30         int type;
31         int state;
32
33         /* sdhci wlan host enable control function */
34         int     (*wlan_host_enable)(int on);
35 };
36
37 extern int wlan_set_power(int flag);
38 extern int wlan_host_enable(int on);
39 #endif /* _BCM4330_H */