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

Commit d73a6f1f authored by Venkatesh Yadav Abbarapu's avatar Venkatesh Yadav Abbarapu
Browse files

ARM: dts: msm: Add MPM timer for mdmfermium target



Add MPM timer entries for mdmfermium to collect
KPI boot times. Updating the documentation also.

Change-Id: I6efb36d96c98825b7b52a809c7fd5ad691755ab5
Signed-off-by: default avatarVenkatesh Yadav Abbarapu <vabbar@codeaurora.org>
parent 2d0f0840
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
* MSM MPM sleep counter (mpm-v2)

The MPM provides a timetick that starts when the device is powered up and
is not reset by any of the boot loaders or the HLOS. The MPM timetick counter
driver provides an api to get this value.

The required nodes for the MPM timetick counter driver are:

- compatible: "qcom,mpm2-sleep-counter"
- reg: Specifies the physical address of the timetick count register.
- clock-frequency: the physical counter frequency.

Example:
	qcom,mpm2-sleep-counter@4a3000 {
		compatible = "qcom,mpm2-sleep-counter";
		reg = <0x4a3000 0x1000>;
		clock-frequency = <32768>;
	};
+6 −0
Original line number Diff line number Diff line
@@ -94,6 +94,12 @@
		      <0x0b002000 0x1000>;
	};

	qcom,mpm2-sleep-counter@4a3000 {
		compatible = "qcom,mpm2-sleep-counter";
		reg = <0x4a3000 0x1000>;
		clock-frequency = <32768>;
	};

	timer@b020000 {
		#address-cells = <1>;
		#size-cells = <1>;