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

Commit 6cbadca6 authored by Rohit Gupta's avatar Rohit Gupta
Browse files

ARM: dts: msm: Fix l3-cpu* devices' frequency maps for SDM845



Since l3 voter clocks get their frequency table from OPP, the
frequency values are in Hz. But l3-cpu* devices still have l3
frequencies listed in kHz which causes their votes to be low.
Change the l3 frequencies votes of the l3-cpu* devices to be in
Hz to follow the same convention as OPP, so that they can vote
correctly.

Change-Id: I3287afd22aa03be559697dacdc66bd72bc63a577
Signed-off-by: default avatarRohit Gupta <rohgup@codeaurora.org>
parent 2f4cbe5b
Loading
Loading
Loading
Loading
+13 −13
Original line number Diff line number Diff line
@@ -969,13 +969,13 @@
		qcom,target-dev = <&l3_cpu0>;
		qcom,cachemiss-ev = <0x17>;
		qcom,core-dev-table =
			<  300000  300000 >,
			<  748800  576000 >,
			<  979200  652800 >,
			< 1209600  806400 >,
			< 1516800  883200 >,
			< 1593600  960000 >,
			< 1708800 1094400 >;
			<  300000  300000000 >,
			<  748800  576000000 >,
			<  979200  652800000 >,
			< 1209600  806400000 >,
			< 1516800  883200000 >,
			< 1593600  960000000 >,
			< 1708800 1094400000 >;
	};

	devfreq_l3lat_4: qcom,cpu4-l3lat-mon {
@@ -984,12 +984,12 @@
		qcom,target-dev = <&l3_cpu4>;
		qcom,cachemiss-ev = <0x17>;
		qcom,core-dev-table =
			<  300000  300000 >,
			< 1036800  576000 >,
			< 1190400  806400 >,
			< 1574400  883200 >,
			< 1804800  960000 >,
			< 2092800 1094400 >;
			<  300000  300000000 >,
			< 1036800  576000000 >,
			< 1190400  806400000 >,
			< 1574400  883200000 >,
			< 1804800  960000000 >,
			< 2092800 1094400000 >;
	};

	cpu_pmu: cpu-pmu {