Skip to content

Commit

Permalink
ARC: Add documentation on DT binding for ARC700 PMU
Browse files Browse the repository at this point in the history
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
  • Loading branch information
Mischa Jonker authored and Vineet Gupta committed Nov 12, 2013
1 parent 0dd450f commit d6a7f73
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Documentation/devicetree/bindings/arc/pmu.txt
Original file line number Diff line number Diff line change
@@ -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";
};

0 comments on commit d6a7f73

Please sign in to comment.