Merge current mainline tree into linux-omap tree
[pandora-kernel.git] / arch / arm / plat-omap / include / mach / board-nokia.h
1 /*
2  *  arch/arm/plat-omap/include/mach/board-nokia.h
3  *
4  *  Information structures for Nokia-specific board config data
5  *
6  *  Copyright (C) 2005  Nokia Corporation
7  */
8
9 #ifndef __ASM_ARCH_OMAP_NOKIA_H
10 #define __ASM_ARCH_OMAP_NOKIA_H
11
12 #include <linux/types.h>
13
14 struct tsc2301_platform_data;
15 struct dsp_kfunc_device;
16 extern void n800_bt_init(void);
17 extern void n800_dsp_init(void);
18 extern void n800_flash_init(void);
19 extern void n800_mmc_init(void);
20 extern void n800_pm_init(void);
21 extern void n800_usb_init(void);
22 extern void n800_cam_init(void);
23 extern void n800_audio_init(struct tsc2301_platform_data *);
24 extern int n800_audio_enable(struct dsp_kfunc_device *kdev, int stage);
25 extern int n800_audio_disable(struct dsp_kfunc_device *kdev, int stage);
26 extern void n800_mmc_slot1_cover_handler(void *arg, int state);
27
28 #define OMAP_TAG_NOKIA_BT       0x4e01
29 #define OMAP_TAG_WLAN_CX3110X   0x4e02
30 #define OMAP_TAG_CBUS           0x4e03
31 #define OMAP_TAG_EM_ASIC_BB5    0x4e04
32
33 #define BT_CHIP_CSR             1
34 #define BT_CHIP_TI              2
35
36 #define BT_SYSCLK_12            1
37 #define BT_SYSCLK_38_4          2
38
39 struct omap_bluetooth_config {
40         u8    chip_type;
41         u8    bt_wakeup_gpio;
42         u8    host_wakeup_gpio;
43         u8    reset_gpio;
44         u8    bt_uart;
45         u8    bd_addr[6];
46         u8    bt_sysclk;
47 };
48
49 struct omap_wlan_cx3110x_config {
50         u8  chip_type;
51         s16 power_gpio;
52         s16 irq_gpio;
53         s16 spi_cs_gpio;
54 };
55
56 struct omap_cbus_config {
57         s16 clk_gpio;
58         s16 dat_gpio;
59         s16 sel_gpio;
60 };
61
62 struct omap_em_asic_bb5_config {
63         s16 retu_irq_gpio;
64         s16 tahvo_irq_gpio;
65 };
66
67 #endif