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

Commit 154d4c7b authored by Banajit Goswami's avatar Banajit Goswami
Browse files

ARM: dts: msm: Add support for Qtimer as a avtimer source for SDM845



Qtimer can be used as a source to avtimer. Add right multiplier
and divisor to derive the msecs value out of avtimer tick counts
without using a floating point operation, even when the clock is
running at decimal MHz value (e.g. 19.2MHz etc.).

Change-Id: I1196273060887691e7ff16554ed2ae02290cc492
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
parent 65d2cda1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -27,7 +27,8 @@
		reg = <0x170f700c 0x4>,
		      <0x170f7010 0x4>;
		reg-names = "avtimer_lsb_addr", "avtimer_msb_addr";
		qcom,clk-div = <27>;
		qcom,clk-div = <192>;
		qcom,clk-mult = <10>;
	};

	sound-tavil {