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

Commit 32ebd2b5 authored by Rahul Shahare's avatar Rahul Shahare Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add "qcom,core-dev-table" for msm8996 target



This will enable memlat_cpu0 & msmlat_cpu2.
The governor expects a "qcom,core-dev-table" table as part of a given
memlat hardware monitor's device tree node.

This table is read upon registration of the memlat governor. The table
is then used to determine the memory bandwidth vote corresponding to the
maximum of the core frequencies.

Change-Id: If2f3d86a830e8c2fcd341510e93eb32b41c18812
Signed-off-by: default avatarRahul Shahare <rshaha@codeaurora.org>
parent f4d62ca1
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
@@ -652,14 +652,25 @@
		compatible = "qcom,arm-memlat-mon";
		qcom,cpulist =	<&CPU0 &CPU1>;
		qcom,target-dev = <&memlat_cpu0>;
		status = "disabled";
		qcom,core-dev-table =
			<  307200 1525>,
			<  537600 3509>,
			<  691200 4066>,
			<  768000 5928>;
	};

	qcom,arm-memlat-mon-2 {
		compatible = "qcom,arm-memlat-mon";
		qcom,cpulist =	<&CPU2 &CPU3>;
		qcom,target-dev = <&memlat_cpu2>;
		status = "disabled";
		qcom,core-dev-table =
			<  307200 1525>,
			<  825600 3509>,
			<  1209600 4066>,
			<  1440000 7904>,
			<  1747200 9887>,
			<  2054400 11863>,
			<  2342400 13763>;
	};

	devfreq_cpufreq: devfreq-cpufreq {