Commit | Line | Data |
---|---|---|
bcc0f6af BS |
1 | /* linux/arch/arm/mach-msm/devices.h |
2 | * | |
3 | * Copyright (C) 2008 Google, Inc. | |
4 | * | |
5 | * This software is licensed under the terms of the GNU General Public | |
6 | * License version 2, as published by the Free Software Foundation, and | |
7 | * may be copied, distributed, and modified under those terms. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | * | |
14 | */ | |
15 | ||
16 | #ifndef __ARCH_ARM_MACH_MSM_DEVICES_H | |
17 | #define __ARCH_ARM_MACH_MSM_DEVICES_H | |
18 | ||
bd32344a SB |
19 | #include <linux/clkdev.h> |
20 | ||
5e96da5d DW |
21 | #include "clock.h" |
22 | ||
7bce696b SB |
23 | extern struct platform_device msm_device_gpio_7201; |
24 | extern struct platform_device msm_device_gpio_7x30; | |
25 | extern struct platform_device msm_device_gpio_8x50; | |
26 | ||
bcc0f6af BS |
27 | extern struct platform_device msm_device_uart1; |
28 | extern struct platform_device msm_device_uart2; | |
29 | extern struct platform_device msm_device_uart3; | |
30 | ||
d056fca3 SM |
31 | extern struct platform_device msm8960_device_uart_gsbi2; |
32 | extern struct platform_device msm8960_device_uart_gsbi5; | |
33 | ||
bcc0f6af BS |
34 | extern struct platform_device msm_device_sdc1; |
35 | extern struct platform_device msm_device_sdc2; | |
36 | extern struct platform_device msm_device_sdc3; | |
37 | extern struct platform_device msm_device_sdc4; | |
38 | ||
39 | extern struct platform_device msm_device_hsusb; | |
7032d512 PK |
40 | extern struct platform_device msm_device_otg; |
41 | extern struct platform_device msm_device_hsusb_host; | |
bcc0f6af BS |
42 | |
43 | extern struct platform_device msm_device_i2c; | |
44 | ||
45 | extern struct platform_device msm_device_smd; | |
46 | ||
47 | extern struct platform_device msm_device_nand; | |
48 | ||
50bc0ef4 DW |
49 | extern struct platform_device msm_device_mddi0; |
50 | extern struct platform_device msm_device_mddi1; | |
51 | extern struct platform_device msm_device_mdp; | |
52 | ||
bd32344a | 53 | extern struct clk_lookup msm_clocks_7x01a[]; |
5e96da5d DW |
54 | extern unsigned msm_num_clocks_7x01a; |
55 | ||
bd32344a | 56 | extern struct clk_lookup msm_clocks_7x30[]; |
1ed8d58f DW |
57 | extern unsigned msm_num_clocks_7x30; |
58 | ||
bd32344a | 59 | extern struct clk_lookup msm_clocks_8x50[]; |
acb241cb DW |
60 | extern unsigned msm_num_clocks_8x50; |
61 | ||
bcc0f6af | 62 | #endif |