Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3ebbaa5 authored by Rama Aparna Mallavarapu's avatar Rama Aparna Mallavarapu
Browse files

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
Signed-off-by: default avatarRama Aparna Mallavarapu <aparnam@codeaurora.org>
parent 404a46a6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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>;
	};