spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / mach-tegra / devices.h
blobec455679b219a987dcade1063f7770559746e9f4
1 /*
2 * Copyright (C) 2010,2011 Google, Inc.
4 * Author:
5 * Colin Cross <ccross@android.com>
6 * Erik Gilling <ccross@android.com>
8 * This software is licensed under the terms of the GNU General Public
9 * License version 2, as published by the Free Software Foundation, and
10 * may be copied, distributed, and modified under those terms.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
19 #ifndef __MACH_TEGRA_DEVICES_H
20 #define __MACH_TEGRA_DEVICES_H
22 #include <linux/platform_device.h>
23 #include <linux/platform_data/tegra_usb.h>
25 extern struct tegra_ehci_platform_data tegra_ehci1_pdata;
26 extern struct tegra_ehci_platform_data tegra_ehci2_pdata;
27 extern struct tegra_ehci_platform_data tegra_ehci3_pdata;
29 extern struct platform_device tegra_gpio_device;
30 extern struct platform_device tegra_pinmux_device;
31 extern struct platform_device tegra_sdhci_device1;
32 extern struct platform_device tegra_sdhci_device2;
33 extern struct platform_device tegra_sdhci_device3;
34 extern struct platform_device tegra_sdhci_device4;
35 extern struct platform_device tegra_i2c_device1;
36 extern struct platform_device tegra_i2c_device2;
37 extern struct platform_device tegra_i2c_device3;
38 extern struct platform_device tegra_i2c_device4;
39 extern struct platform_device tegra_spi_device1;
40 extern struct platform_device tegra_spi_device2;
41 extern struct platform_device tegra_spi_device3;
42 extern struct platform_device tegra_spi_device4;
43 extern struct platform_device tegra_ehci1_device;
44 extern struct platform_device tegra_ehci2_device;
45 extern struct platform_device tegra_ehci3_device;
46 extern struct platform_device tegra_uarta_device;
47 extern struct platform_device tegra_uartb_device;
48 extern struct platform_device tegra_uartc_device;
49 extern struct platform_device tegra_uartd_device;
50 extern struct platform_device tegra_uarte_device;
51 extern struct platform_device tegra_pmu_device;
52 extern struct platform_device tegra_i2s_device1;
53 extern struct platform_device tegra_i2s_device2;
54 extern struct platform_device tegra_das_device;
55 extern struct platform_device tegra_pcm_device;
57 #endif