aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/include/mach/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/pci.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/pci.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/pci.h b/arch/arm/mach-tegra/include/mach/pci.h
new file mode 100644
index 00000000000..388ad320775
--- /dev/null
+++ b/arch/arm/mach-tegra/include/mach/pci.h
@@ -0,0 +1,38 @@
1/*
2 * arch/arm/mach-tegra/include/mach/pci.h
3 *
4 * Header file containing constants for the tegra PCIe driver.
5 *
6 * Copyright (c) 2011, NVIDIA Corporation.
7 *
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.
11 *
12 * This program is distributed in the hope that it will be useful, but WITHOUT
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 * more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 */
21
22#ifndef __MACH_PCI_H
23#define __MACH_PCI_H
24
25#include <linux/pci.h>
26
27#ifdef CONFIG_ARCH_TEGRA_2x_SOC
28 #define MAX_PCIE_SUPPORTED_PORTS 2
29#else
30 #define MAX_PCIE_SUPPORTED_PORTS 3
31#endif
32
33struct tegra_pci_platform_data {
34 int port_status[MAX_PCIE_SUPPORTED_PORTS];
35 bool use_dock_detect;
36 int gpio;
37};
38#endif