Merge tag 'for-linus-5.3-2' of git://github.com/cminyard/linux-ipmi
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / csky / pmu.txt
1 ===============================
2 C-SKY Performance Monitor Units
3 ===============================
4
5 C-SKY Performance Monitor is designed for ck807/ck810/ck860 SMP soc and
6 it could count cpu's events for helping analysis performance issues.
7
8 ============================
9 PMU node bindings definition
10 ============================
11
12         Description: Describes PMU
13
14         PROPERTIES
15
16         - compatible
17                 Usage: required
18                 Value type: <string>
19                 Definition: must be "csky,csky-pmu"
20         - interrupts
21                 Usage: required
22                 Value type: <u32 IRQ_TYPE_XXX>
23                 Definition: must be pmu irq num defined by soc
24         - count-width
25                 Usage: optional
26                 Value type: <u32>
27                 Definition: the width of pmu counter
28
29 Examples:
30 ---------
31 #include <dt-bindings/interrupt-controller/irq.h>
32
33         pmu: performace-monitor {
34                 compatible = "csky,csky-pmu";
35                 interrupts = <23 IRQ_TYPE_EDGE_RISING>;
36                 interrupt-parent = <&intc>;
37                 count-width = <48>;
38         };