Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) ===============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) C-SKY Performance Monitor Units
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) ===============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) C-SKY Performance Monitor is designed for ck807/ck810/ck860 SMP soc and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) it could count cpu's events for helping analysis performance issues.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) ============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) PMU node bindings definition
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) ============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	Description: Describes PMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	PROPERTIES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	- compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 		Usage: required
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 		Value type: <string>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 		Definition: must be "csky,csky-pmu"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	- interrupts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 		Usage: required
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 		Value type: <u32 IRQ_TYPE_XXX>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 		Definition: must be pmu irq num defined by soc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	- count-width
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 		Usage: optional
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 		Value type: <u32>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 		Definition: the width of pmu counter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) ---------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #include <dt-bindings/interrupt-controller/irq.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	pmu: performace-monitor {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 		compatible = "csky,csky-pmu";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 		interrupts = <23 IRQ_TYPE_EDGE_RISING>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 		interrupt-parent = <&intc>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 		count-width = <48>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)         };