mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
dt-bindings: Add DT bindings for specifying the count factor
This patch adds the DT bindings to specify a property that indicates the number of bytes the monitor counts in so we can properly scale the count we read from the hardware to reflect the traffic. Change-Id: I7b3819b3849faff34ee6aa4cf8133df7d46f1bfb
This commit is contained in:
parent
5f06aec02f
commit
ce1f1954f7
1 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ Required properties:
|
|||
Optional properties:
|
||||
- qcom,byte-mid-match: Byte count MID match value
|
||||
- qcom,byte-mid-mask: Byte count MID mask value
|
||||
- qcom,count-unit: Number of bytes monitor counts in
|
||||
|
||||
Example:
|
||||
qcom,cpu-bwmon {
|
||||
|
|
@ -32,5 +33,5 @@ Example:
|
|||
qcom,hw-timer-hz = <19200000>;
|
||||
qcom,byte-mid-match = <0x1e00>;
|
||||
qcom,byte-mid-mask = <0x1e00>;
|
||||
|
||||
qcom,count-unit = <0x100000>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue