1 =============================== 1 =============================== 2 C-SKY Performance Monitor Units 2 C-SKY Performance Monitor Units 3 =============================== 3 =============================== 4 4 5 C-SKY Performance Monitor is designed for ck80 5 C-SKY Performance Monitor is designed for ck807/ck810/ck860 SMP soc and 6 it could count cpu's events for helping analys 6 it could count cpu's events for helping analysis performance issues. 7 7 8 ============================ 8 ============================ 9 PMU node bindings definition 9 PMU node bindings definition 10 ============================ 10 ============================ 11 11 12 Description: Describes PMU 12 Description: Describes PMU 13 13 14 PROPERTIES 14 PROPERTIES 15 15 16 - compatible 16 - compatible 17 Usage: required 17 Usage: required 18 Value type: <string> 18 Value type: <string> 19 Definition: must be "csky,csky 19 Definition: must be "csky,csky-pmu" 20 - interrupts 20 - interrupts 21 Usage: required 21 Usage: required 22 Value type: <u32 IRQ_TYPE_XXX> 22 Value type: <u32 IRQ_TYPE_XXX> 23 Definition: must be pmu irq nu 23 Definition: must be pmu irq num defined by soc 24 - count-width 24 - count-width 25 Usage: optional 25 Usage: optional 26 Value type: <u32> 26 Value type: <u32> 27 Definition: the width of pmu c 27 Definition: the width of pmu counter 28 28 29 Examples: 29 Examples: 30 --------- 30 --------- 31 #include <dt-bindings/interrupt-controller/irq 31 #include <dt-bindings/interrupt-controller/irq.h> 32 32 33 pmu: performace-monitor { 33 pmu: performace-monitor { 34 compatible = "csky,csky-pmu"; 34 compatible = "csky,csky-pmu"; 35 interrupts = <23 IRQ_TYPE_EDGE 35 interrupts = <23 IRQ_TYPE_EDGE_RISING>; 36 interrupt-parent = <&intc>; 36 interrupt-parent = <&intc>; 37 count-width = <48>; 37 count-width = <48>; 38 }; 38 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.