summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-enterprise.h
diff options
context:
space:
mode:
authorKasoju Mallikarjun <mkasoju@nvidia.com>2011-04-07 00:41:48 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:46:00 -0800
commit662573bb1bad71322b9292617bedcedd879ac851 (patch)
treea1d2c3cd1baa88b6bdb4e354c0d79e3c9be770a4 /arch/arm/mach-tegra/board-enterprise.h
parentc157acd9d0d8c3849fbe59db6eddc2e3a2fda016 (diff)
arm: tegra: tegra_enterprise: Creating board files
Creating initial board files and config files for tegra_enterprise board. Original-Change-Id: I77dcd612421167b9c6441d5d6fb779bb51491efa Reviewed-on: http://git-master/r/20852 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com> Change-Id: I498fe3cde454657c22fb1c1bc2212eb5e2f7fd6e Rebase-Id: Rcf164609f08780297a383d040e934a1ecd3c86b5
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise.h')
-rw-r--r--arch/arm/mach-tegra/board-enterprise.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise.h b/arch/arm/mach-tegra/board-enterprise.h
new file mode 100644
index 000000000000..f4c1bf8fbad1
--- /dev/null
+++ b/arch/arm/mach-tegra/board-enterprise.h
@@ -0,0 +1,40 @@
+/*
+ * arch/arm/mach-tegra/board-enterprise.h
+ *
+ * Copyright (c) 2011, NVIDIA Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#ifndef _MACH_TEGRA_BOARD_ENTERPRISE_H
+#define _MACH_TEGRA_BOARD_ENTERPRISE_H
+
+#include <mach/gpio.h>
+#include <mach/irqs.h>
+
+int tegra_enterprise_charge_init(void);
+int tegra_enterprise_sdhci_init(void);
+int tegra_enterprise_pinmux_init(void);
+int tegra_enterprise_panel_init(void);
+int touch_init(void);
+int tegra_enterprise_emc_init(void);
+
+/* Touchscreen GPIO addresses */
+#ifdef CONFIG_TOUCHSCREEN_ATMEL_MT_T9
+#define TOUCH_GPIO_IRQ_ATMEL_T9 TEGRA_GPIO_PH4
+#define TOUCH_GPIO_RST_ATMEL_T9 TEGRA_GPIO_PH6
+#endif
+
+#endif