]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/arm/pmu.txt
Merge remote-tracking branch 'sunxi/sunxi/for-next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / arm / pmu.txt
1 * ARM Performance Monitor Units
2
3 ARM cores often have a PMU for counting cpu and cache events like cache misses
4 and hits. The interface to the PMU is part of the ARM ARM. The ARM PMU
5 representation in the device tree should be done as under:-
6
7 Required properties:
8
9 - compatible : should be one of
10         "apm,potenza-pmu"
11         "arm,armv8-pmuv3"
12         "arm,cortex-a17-pmu"
13         "arm,cortex-a15-pmu"
14         "arm,cortex-a12-pmu"
15         "arm,cortex-a9-pmu"
16         "arm,cortex-a8-pmu"
17         "arm,cortex-a7-pmu"
18         "arm,cortex-a5-pmu"
19         "arm,arm11mpcore-pmu"
20         "arm,arm1176-pmu"
21         "arm,arm1136-pmu"
22         "qcom,scorpion-pmu"
23         "qcom,scorpion-mp-pmu"
24         "qcom,krait-pmu"
25 - interrupts : 1 combined interrupt or 1 per core. If the interrupt is a per-cpu
26                interrupt (PPI) then 1 interrupt should be specified.
27
28 Optional properties:
29
30 - interrupt-affinity : When using SPIs, specifies a list of phandles to CPU
31                        nodes corresponding directly to the affinity of
32                        the SPIs listed in the interrupts property.
33
34                        When using a PPI, specifies a list of phandles to CPU
35                        nodes corresponding to the set of CPUs which have
36                        a PMU of this type signalling the PPI listed in the
37                        interrupts property.
38
39                        This property should be present when there is more than
40                        a single SPI.
41
42
43 - qcom,no-pc-write : Indicates that this PMU doesn't support the 0xc and 0xd
44                      events.
45
46 Example:
47
48 pmu {
49         compatible = "arm,cortex-a9-pmu";
50         interrupts = <100 101>;
51 };