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

Commit 67645ace authored by Junjie Wu's avatar Junjie Wu
Browse files

ARM: dts: msm: Update cpufreq related mapping for MSM8994V2



Update cpufreq table, devfreq-cpufreq mapping and cci levels for
MSM8994V2.

Change-Id: I86c23ce48029cb9e91ef6313b6318b9498065579
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent 957c188a
Loading
Loading
Loading
Loading
+109 −0
Original line number Diff line number Diff line
@@ -95,6 +95,115 @@
			<  787200000 12>;
};

&cci_cache {
	freq-tbl-khz =
		<  300000 >,
		<  384000 >,
		<  537600 >,
		<  600000 >,
		<  729600 >,
		<  787200 >;
};

&msm_cpufreq {
	qcom,cpufreq-table-0 =
		<  300000 >,
		<  384000 >,
		<  460800 >,
		<  600000 >,
		<  672000 >,
		<  768000 >,
		<  864000 >,
		<  960000 >,
		< 1248000 >,
		< 1344000 >,
		< 1440000 >;

	qcom,cpufreq-table-4 =
		<  300000 >,
		<  384000 >,
		<  480000 >,
		<  633600 >,
		<  768000 >,
		<  864000 >,
		<  960000 >,
		< 1248000 >,
		< 1344000 >,
		< 1440000 >,
		< 1536000 >,
		< 1632000 >,
		< 1728000 >,
		< 1824000 >,
		< 1920000 >,
		< 1996800 >;
};

&devfreq_cpufreq {
	cpubw-cpufreq {
		cpu-to-dev-map-0 =
			<  300000  1525 >,
			<  384000  1525 >,
			<  460800  1525 >,
			<  600000  1525 >,
			<  672000  2288 >,
			<  768000  3509 >,
			<  864000  4066 >,
			<  960000  5928 >,
			< 1248000  7904 >,
			< 1344000  9887 >,
			< 1440000 11863 >;
		cpu-to-dev-map-4 =
			<  300000  1525 >,
			<  384000  1525 >,
			<  480000  2288 >,
			<  633600  2288 >,
			<  768000  3509 >,
			<  864000  4066 >,
			<  960000  5126 >,
			< 1248000  5928 >,
			< 1344000  7904 >,
			< 1440000  7904 >,
			< 1536000  7904 >,
			< 1632000  9887 >,
			< 1728000  9887 >,
			< 1824000 11863 >,
			< 1920000 11863 >,
			< 1996800 11863 >;
	};

	cci-cpufreq {
		cpu-to-dev-map-0 =
			<  300000 300000 >,
			<  384000 300000 >,
			<  460800 300000 >,
			<  600000 300000 >,
			<  672000 384000 >,
			<  768000 384000 >,
			<  864000 537600 >,
			<  960000 600000 >,
			< 1248000 729600 >,
			< 1344000 787200 >,
			< 1440000 787200 >;
		cpu-to-dev-map-4 =
			<  300000 300000 >,
			<  384000 300000 >,
			<  480000 300000 >,
			<  633600 384000 >,
			<  768000 537600 >,
			<  864000 600000 >,
			<  960000 600000 >,
			< 1248000 729600 >,
			< 1344000 729600 >,
			< 1440000 729600 >,
			< 1536000 787200 >,
			< 1632000 787200 >,
			< 1728000 787200 >,
			< 1824000 787200 >,
			< 1920000 787200 >,
			< 1996800 787200 >;
	};
};

/* GPU overrides */
&msm_gpu {
	/* Updated chip ID */
+2 −5
Original line number Diff line number Diff line
@@ -1750,7 +1750,7 @@
		qcom,target-dev = <&cpubw>;
	};

	devfreq-cpufreq {
	devfreq_cpufreq: devfreq-cpufreq {
		cpubw-cpufreq {
			target-dev = <&cpubw>;
			cpu-to-dev-map-0 =
@@ -1823,10 +1823,7 @@
			<  768000 >,
			<  844800 >,
			<  921600 >,
			<  940800 >,
			< 1248000 >,
			< 1344000 >,
			< 1440000 >;
			<  940800 >;

		qcom,cpufreq-table-4 =
			<  199200 >,