aboutsummaryrefslogtreecommitdiff
path: root/drivers/gator/gator.h
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2013-10-11 12:53:06 +0100
committerJon Medhurst <tixy@linaro.org>2013-10-11 12:53:06 +0100
commit01239d6842a2e2653b7b42736cf2c10b69d0face (patch)
treeeb6e9bbf6c81208ee7b0681af8d500b64fd849ee /drivers/gator/gator.h
parent38529e4e6d6c9a9d18b59e1b165e8cd5d0c596da (diff)
parent4e5eee16c9f3454f74572b7812eb80255d2e31d3 (diff)
Merge in gator version 5.16
Diffstat (limited to 'drivers/gator/gator.h')
-rw-r--r--drivers/gator/gator.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gator/gator.h b/drivers/gator/gator.h
index 205cbcdaeab..2e122da767d 100644
--- a/drivers/gator/gator.h
+++ b/drivers/gator/gator.h
@@ -20,8 +20,6 @@
#define GATOR_CPU_FREQ_SUPPORT (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)) && defined(CONFIG_CPU_FREQ)
#define GATOR_IKS_SUPPORT defined(CONFIG_BL_SWITCHER)
-#define GATOR_LIVE 1
-
// cpu ids
#define ARM1136 0xb36
#define ARM1156 0xb56
@@ -31,6 +29,7 @@
#define CORTEX_A7 0xc07
#define CORTEX_A8 0xc08
#define CORTEX_A9 0xc09
+#define CORTEX_A12 0xc0d
#define CORTEX_A15 0xc0f
#define SCORPION 0x00f
#define SCORPIONMP 0x02d
@@ -46,9 +45,14 @@
struct gator_cpu {
const int cpuid;
+ // Human readable name
const char core_name[MAXSIZE_CORE_NAME];
+ // Perf PMU name
const char * const pmu_name;
+ // gatorfs event name
const char * const pmnc_name;
+ // compatible from Documentation/devicetree/bindings/arm/cpus.txt
+ const char * const dt_name;
const int pmnc_counters;
};