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

Commit 0b40bf4e authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dt-bindings: Add DT bindings for specifying the count factor"

parents 16a8846f ce1f1954
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -17,6 +17,11 @@ Required properties:
- qcom,target-dev:	The DT device that corresponds to this master port
- qcom,hw-timer-hz:	Hardware sampling rate in Hz. This field must be
			specified for "qcom,bimc-bwmon4"
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 {
		compatible = "qcom,bimc-bwmon";
@@ -26,4 +31,7 @@ Example:
		qcom,mport = <0>;
		qcom,target-dev = <&cpubw>;
		qcom,hw-timer-hz = <19200000>;
		qcom,byte-mid-match = <0x1e00>;
		qcom,byte-mid-mask = <0x1e00>;
		qcom,count-unit = <0x100000>;
	};