diff options
Diffstat (limited to 'arch/arm/mach-tegra/devices.h')
-rw-r--r-- | arch/arm/mach-tegra/devices.h | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/devices.h b/arch/arm/mach-tegra/devices.h new file mode 100644 index 00000000000..97a0c53ccfc --- /dev/null +++ b/arch/arm/mach-tegra/devices.h | |||
@@ -0,0 +1,132 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2010,2011 Google, Inc. | ||
3 | * | ||
4 | * Author: | ||
5 | * Colin Cross <ccross@android.com> | ||
6 | * Erik Gilling <ccross@android.com> | ||
7 | * | ||
8 | * Copyright (C) 2010-2012 NVIDIA Corporation. | ||
9 | * | ||
10 | * This software is licensed under the terms of the GNU General Public | ||
11 | * License version 2, as published by the Free Software Foundation, and | ||
12 | * may be copied, distributed, and modified under those terms. | ||
13 | * | ||
14 | * This program is distributed in the hope that it will be useful, | ||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | ||
18 | * | ||
19 | */ | ||
20 | |||
21 | #ifndef __MACH_TEGRA_DEVICES_H | ||
22 | #define __MACH_TEGRA_DEVICES_H | ||
23 | |||
24 | #include <linux/platform_device.h> | ||
25 | #include <linux/nvhost.h> | ||
26 | |||
27 | extern struct platform_device tegra_sdhci_device1; | ||
28 | extern struct platform_device tegra_sdhci_device2; | ||
29 | extern struct platform_device tegra_sdhci_device3; | ||
30 | extern struct platform_device tegra_sdhci_device4; | ||
31 | extern struct platform_device tegra_i2c_device1; | ||
32 | extern struct platform_device tegra_i2c_device2; | ||
33 | extern struct platform_device tegra_i2c_device3; | ||
34 | extern struct platform_device tegra_i2c_device4; | ||
35 | extern struct platform_device tegra_kbc_device; | ||
36 | extern struct platform_device tegra_pci_device; | ||
37 | #ifndef CONFIG_ARCH_TEGRA_2x_SOC | ||
38 | extern struct platform_device tegra_i2c_device5; | ||
39 | #endif | ||
40 | extern struct platform_device tegra_spi_device1; | ||
41 | extern struct platform_device tegra_spi_device2; | ||
42 | extern struct platform_device tegra_spi_device3; | ||
43 | extern struct platform_device tegra_spi_device4; | ||
44 | extern struct platform_device tegra_spi_slave_device1; | ||
45 | extern struct platform_device tegra_spi_slave_device2; | ||
46 | extern struct platform_device tegra_spi_slave_device3; | ||
47 | extern struct platform_device tegra_spi_slave_device4; | ||
48 | #ifndef CONFIG_ARCH_TEGRA_2x_SOC | ||
49 | extern struct platform_device tegra_spi_device5; | ||
50 | extern struct platform_device tegra_spi_device6; | ||
51 | extern struct platform_device tegra_spi_slave_device5; | ||
52 | extern struct platform_device tegra_spi_slave_device6; | ||
53 | extern struct platform_device tegra_dtv_device; | ||
54 | #endif | ||
55 | extern struct platform_device tegra_ehci1_device; | ||
56 | extern struct platform_device tegra_ehci2_device; | ||
57 | extern struct platform_device tegra_ehci3_device; | ||
58 | extern struct platform_device tegra_uarta_device; | ||
59 | extern struct platform_device tegra_uartb_device; | ||
60 | extern struct platform_device tegra_uartc_device; | ||
61 | extern struct platform_device tegra_uartd_device; | ||
62 | extern struct platform_device tegra_uarte_device; | ||
63 | extern struct platform_device tegra_pmu_device; | ||
64 | extern struct platform_device tegra_i2s_device1; | ||
65 | extern struct platform_device tegra_i2s_device2; | ||
66 | extern struct platform_device tegra_spdif_device; | ||
67 | extern struct platform_device tegra_das_device; | ||
68 | extern struct platform_device spdif_dit_device; | ||
69 | extern struct platform_device bluetooth_dit_device; | ||
70 | extern struct platform_device baseband_dit_device; | ||
71 | extern struct platform_device tegra_pcm_device; | ||
72 | extern struct platform_device tegra_w1_device; | ||
73 | extern struct platform_device tegra_udc_device; | ||
74 | extern struct platform_device tegra_ehci1_device; | ||
75 | extern struct platform_device tegra_ehci2_device; | ||
76 | extern struct platform_device tegra_ehci3_device; | ||
77 | extern struct platform_device tegra_i2s_device1; | ||
78 | extern struct platform_device tegra_i2s_device2; | ||
79 | #ifndef CONFIG_ARCH_TEGRA_2x_SOC | ||
80 | extern struct platform_device tegra_i2s_device0; | ||
81 | extern struct platform_device tegra_i2s_device3; | ||
82 | extern struct platform_device tegra_i2s_device4; | ||
83 | extern struct platform_device tegra_ahub_device; | ||
84 | extern struct platform_device tegra_apbif0_device; | ||
85 | extern struct platform_device tegra_apbif1_device; | ||
86 | extern struct platform_device tegra_apbif2_device; | ||
87 | extern struct platform_device tegra_apbif3_device; | ||
88 | extern struct platform_device tegra_dam_device0; | ||
89 | extern struct platform_device tegra_dam_device1; | ||
90 | extern struct platform_device tegra_dam_device2; | ||
91 | extern struct platform_device tegra_hda_device; | ||
92 | extern struct platform_device tegra_sata_device; | ||
93 | #endif | ||
94 | #if defined(CONFIG_ARCH_TEGRA_2x_SOC) | ||
95 | extern struct platform_device tegra_gart_device; | ||
96 | #else | ||
97 | extern struct platform_device tegra_smmu_device; | ||
98 | #endif | ||
99 | extern struct platform_device tegra_wdt_device; | ||
100 | extern struct platform_device tegra_pwfm0_device; | ||
101 | extern struct platform_device tegra_pwfm1_device; | ||
102 | extern struct platform_device tegra_pwfm2_device; | ||
103 | extern struct platform_device tegra_pwfm3_device; | ||
104 | extern struct platform_device tegra_otg_device; | ||
105 | extern struct platform_device tegra_uarta_device; | ||
106 | extern struct platform_device tegra_uartb_device; | ||
107 | extern struct platform_device tegra_uartc_device; | ||
108 | extern struct platform_device tegra_uartd_device; | ||
109 | extern struct platform_device tegra_uarte_device; | ||
110 | extern struct platform_device tegra_avp_device; | ||
111 | extern struct nvhost_device tegra_grhost_device; | ||
112 | extern struct nvhost_device nvavp_device; | ||
113 | extern struct platform_device tegra_aes_device; | ||
114 | #if !defined(CONFIG_ARCH_TEGRA_2x_SOC) | ||
115 | extern struct platform_device tegra_tsensor_device; | ||
116 | #endif | ||
117 | extern struct platform_device tegra_nor_device; | ||
118 | extern struct platform_device debug_uarta_device; | ||
119 | extern struct platform_device debug_uartb_device; | ||
120 | extern struct platform_device debug_uartc_device; | ||
121 | extern struct platform_device debug_uartd_device; | ||
122 | #if !defined(CONFIG_ARCH_TEGRA_2x_SOC) | ||
123 | extern struct platform_device tegra_se_device; | ||
124 | extern struct platform_device debug_uarte_device; | ||
125 | #endif | ||
126 | |||
127 | extern struct nvhost_device tegra_disp1_device; | ||
128 | extern struct platform_device tegra_nvmap_device; | ||
129 | |||
130 | void __init tegra_init_debug_uart_rate(void); | ||
131 | |||
132 | #endif | ||