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

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

Merge "dt-bindings: devfreq: Add DT bindings to add a stall cycle count event"

parents 0b40bf4e 00570822
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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>,
+2 −2
Original line number Diff line number Diff line
@@ -9,12 +9,12 @@ Required properties:
- compatible:		Must be "devfreq-simple-dev"
- clock-names:		Must be "devfreq_clk"
- clocks:		Must refer to the clock that's fed to the device.
- freq-tbl-khz:		A list of usable frequencies (in KHz) for the device
			clock.
Optional properties:
- polling-ms:	Polling interval for the device in milliseconds. Default: 50
- governor:	Initial governor to user for the device. Default: "performance"
- qcom,prepare-clk:	Prepare the device clock during initialization.
- freq-tbl-khz:		A list of usable frequencies (in kHz) for the device
			clock.

Example: