Back to home page

OSCL-LXR

 
 

    


0001 ===============================
0002 C-SKY Performance Monitor Units
0003 ===============================
0004 
0005 C-SKY Performance Monitor is designed for ck807/ck810/ck860 SMP soc and
0006 it could count cpu's events for helping analysis performance issues.
0007 
0008 ============================
0009 PMU node bindings definition
0010 ============================
0011 
0012         Description: Describes PMU
0013 
0014         PROPERTIES
0015 
0016         - compatible
0017                 Usage: required
0018                 Value type: <string>
0019                 Definition: must be "csky,csky-pmu"
0020         - interrupts
0021                 Usage: required
0022                 Value type: <u32 IRQ_TYPE_XXX>
0023                 Definition: must be pmu irq num defined by soc
0024         - count-width
0025                 Usage: optional
0026                 Value type: <u32>
0027                 Definition: the width of pmu counter
0028 
0029 Examples:
0030 ---------
0031 #include <dt-bindings/interrupt-controller/irq.h>
0032 
0033         pmu: performace-monitor {
0034                 compatible = "csky,csky-pmu";
0035                 interrupts = <23 IRQ_TYPE_EDGE_RISING>;
0036                 interrupt-parent = <&intc>;
0037                 count-width = <48>;
0038         };