summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-kai.h
diff options
context:
space:
mode:
authorJohnny Qiu <joqiu@nvidia.com>2012-01-10 12:40:05 -0800
committerVarun Colbert <vcolbert@nvidia.com>2012-01-30 11:46:19 -0800
commit00ce1168fe25fa398a758c1b05dc3fc40d4fb497 (patch)
tree3e3d34c276d5e177016956bef18c1e0af7e16b16 /arch/arm/mach-tegra/board-kai.h
parente818b6ec2c0ab3bf142291983eb0f2840f62570c (diff)
arm: tegra: kai: create board files
Create initial board files and config files for Kai. Reviewed-on: http://git-master/r/74441 Change-Id: I4b07607da85fe4bcb00e5fce2ddbc2a83471b1de Signed-off-by: Johnny Qiu <joqiu@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77296 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'arch/arm/mach-tegra/board-kai.h')
-rw-r--r--arch/arm/mach-tegra/board-kai.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-kai.h b/arch/arm/mach-tegra/board-kai.h
new file mode 100644
index 000000000000..992cf0a8c014
--- /dev/null
+++ b/arch/arm/mach-tegra/board-kai.h
@@ -0,0 +1,51 @@
+/*
+ * arch/arm/mach-tegra/board-kai.h
+ *
+ * Copyright (c) 2012, NVIDIA Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * 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_KAI_H
+#define _MACH_TEGRA_BOARD_KAI_H
+
+#include <mach/gpio.h>
+#include <mach/irqs.h>
+
+/* Processor Board ID */
+#define BOARD_E1565 0xF41
+
+/* Board Fab version */
+#define BOARD_FAB_A00 0x0
+#define BOARD_FAB_A01 0x1
+#define BOARD_FAB_A02 0x2
+#define BOARD_FAB_A03 0x3
+#define BOARD_FAB_A04 0x4
+#define BOARD_FAB_A05 0x5
+
+int kai_charge_init(void);
+int kai_regulator_init(void);
+int kai_suspend_init(void);
+int kai_sdhci_init(void);
+int kai_pinmux_init(void);
+int kai_panel_init(void);
+int kai_keys_init(void);
+int kai_pins_state_init(void);
+int kai_power_off_init(void);
+int kai_edp_init(void);
+void __init kai_tsensor_init(void);
+
+#define TDIODE_OFFSET (10000) /* in millicelsius */
+
+#endif