aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/arc/pct.txt
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-04-15 16:35:38 +0530
committerVineet Gupta <vgupta@synopsys.com>2015-04-20 18:27:36 +0530
commit30fdd373f24cc50e250c71a6e2df89505e267804 (patch)
treeaecf014d62177d8d438fa4a962c5556f491bc557 /Documentation/devicetree/bindings/arc/pct.txt
parentARC: perf: add user space attribution in callchains (diff)
downloadlinux-dev-30fdd373f24cc50e250c71a6e2df89505e267804.tar.xz
linux-dev-30fdd373f24cc50e250c71a6e2df89505e267804.zip
ARC: perf: Rename DT binding to not confuse with power mgmt
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'Documentation/devicetree/bindings/arc/pct.txt')
-rw-r--r--Documentation/devicetree/bindings/arc/pct.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arc/pct.txt b/Documentation/devicetree/bindings/arc/pct.txt
new file mode 100644
index 000000000000..7b9588444f20
--- /dev/null
+++ b/Documentation/devicetree/bindings/arc/pct.txt
@@ -0,0 +1,20 @@
+* ARC Performance Counters
+
+The ARC700 can be configured with a pipeline performance monitor for counting
+CPU and cache events like cache misses and hits. Like conventional PCT there
+are 100+ hardware conditions dynamically mapped to upto 32 counters
+
+Note that:
+ * The ARC 700 PCT 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-pct"
+
+Example:
+
+pmu {
+ compatible = "snps,arc700-pct";
+};