aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Jonker2013-11-07 14:55:12 +0100
committerVineet Gupta2013-11-12 09:45:56 +0530
commitd6a7f73db712a11b1c30b2566758de65b308da73 (patch)
tree7448159922746b61e0f4a9ee00a2456398ad688f
parent0dd450fe13da4aeacc69916ecfe39d3d0b531900 (diff)
ARC: Add documentation on DT binding for ARC700 PMU
Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r--Documentation/devicetree/bindings/arc/pmu.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arc/pmu.txt b/Documentation/devicetree/bindings/arc/pmu.txt
new file mode 100644
index 000000000000..49d517340de3
--- /dev/null
+++ b/Documentation/devicetree/bindings/arc/pmu.txt
@@ -0,0 +1,24 @@
+* ARC Performance Monitor Unit
+
+The ARC 700 can be configured with a pipeline performance monitor for counting
+CPU and cache events like cache misses and hits.
+
+Note that:
+ * ARC 700 refers to a family of ARC processor cores;
+ - There is only one type of PMU available for the whole family;
+ - The PMU may support different sets of events; supported events are probed
+ at boot time, as required by the reference manual.
+
+ * The ARC 700 PMU does not support interrupts; although HW events may be
+ counted, the HW events themselves cannot serve as a trigger for a sample.
+
+Required properties:
+
+- compatible : should contain
+ "snps,arc700-pmu"
+
+Example:
+
+pmu {
+ compatible = "snps,arc700-pmu";
+};