summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/fuse.h
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-06-23 15:49:17 -0700
committerColin Cross <ccross@android.com>2010-10-21 18:12:09 -0700
commit73625e3e2e2bc36198f5b43e0f32d9dfb8e3b77c (patch)
tree14cadc153b0d27de39b06d5afe6ff7fac7fab853 /arch/arm/mach-tegra/fuse.h
parent2e47b8b3c2dc0f9f0651ee0f20e163da09b20fb9 (diff)
[ARM] tegra: Add support for reading fuses
The Tegra SOC contains fuses to identify the CPU type and bin, and a unique id. The CPU info is required to determine the correct voltages for each cpu and core frequency. Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/fuse.h')
-rw-r--r--arch/arm/mach-tegra/fuse.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/fuse.h b/arch/arm/mach-tegra/fuse.h
new file mode 100644
index 00000000000..584b2e27dbd
--- /dev/null
+++ b/arch/arm/mach-tegra/fuse.h
@@ -0,0 +1,24 @@
+/*
+ * arch/arm/mach-tegra/fuse.c
+ *
+ * Copyright (C) 2010 Google, Inc.
+ *
+ * Author:
+ * Colin Cross <ccross@android.com>
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * 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.
+ *
+ */
+
+unsigned long long tegra_chip_uid(void);
+int tegra_sku_id(void);
+int tegra_cpu_process_id(void);
+int tegra_core_process_id(void);
+void tegra_init_fuse(void);