brintos

brintos / linux-shallow public Read only

0
0
Text · 904 B · 728d05c Raw
39 lines · plain
1===============================2C-SKY Performance Monitor Units3===============================4 5C-SKY Performance Monitor is designed for ck807/ck810/ck860 SMP soc and6it could count cpu's events for helping analysis performance issues.7 8============================9PMU node bindings definition10============================11 12	Description: Describes PMU13 14	PROPERTIES15 16	- compatible17		Usage: required18		Value type: <string>19		Definition: must be "csky,csky-pmu"20	- interrupts21		Usage: required22		Value type: <u32 IRQ_TYPE_XXX>23		Definition: must be pmu irq num defined by soc24	- count-width25		Usage: optional26		Value type: <u32>27		Definition: the width of pmu counter28 29Examples: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        };39