mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
dt-bindings: devfreq: Add DT bindings to add a stall cycle count event
This patch adds the DT bindings to specify the event ID needed to count the stall cycles. Change-Id: I96fe9582d4aa9ae9a393f0ec7a337eeb6196bb6b
This commit is contained in:
@@ -15,6 +15,9 @@ Optional properties:
|
||||
Defaults to 0x17 if not specified.
|
||||
- qcom,inst-ev: The instruction count event that this monitor is supposed to measure.
|
||||
Defaults to 0x08 if not specified.
|
||||
- qcom,stall-cycle-ev: The stall cycle count that this monitor is supposed to measure.
|
||||
Assumes 100% stall if not specified.
|
||||
|
||||
|
||||
|
||||
Example:
|
||||
@@ -24,6 +27,7 @@ Example:
|
||||
qcom,target-dev = <&memlat0>;
|
||||
qcom,cachemiss-ev = <0x2A>;
|
||||
qcom,inst-ev = <0x08>;
|
||||
qcom,stall-cycle-ev = <0xE7>;
|
||||
qcom,core-dev-table =
|
||||
< 300000 1525>,
|
||||
< 499200 3143>,
|
||||
|
||||
Reference in New Issue
Block a user