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

Commit 8becd813 authored by Taniya Das's avatar Taniya Das
Browse files

ARM: dts: msm: Enable CPU-CCI scaling support on msmtellurium



Add the table of clock frequencies for CCI scaling and CPU to CCI scaling
frequency.

Change-Id: I94539826a773ac660041377475f128d9b1196246
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent 3aed68ed
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -191,6 +191,33 @@
		clock-frequency = <19200000>;
	};

	cci_cache: qcom,cci {
		compatible = "devfreq-simple-dev";
		clock-names = "devfreq_clk";
		clocks = <&clock_cpu clk_a53ssmux_cci>;
		governor = "cpufreq";
		freq-tbl-khz =
			<  200000 >,
			<  297600 >,
			<  400000 >,
			<  595200 >;
	};

	devfreq-cpufreq {
		cci-cpufreq {
		target-dev = <&cci_cache>;
		cpu-to-dev-map-0 =
			<  400000  200000 >,
			< 1113600  297600 >,
			< 1536000  595200 >;
		cpu-to-dev-map-4 =
			<  249600 200000 >,
			<  800000 297600 >,
			<  998400 595200 >;
		};
	};


	qcom,msm-cpufreq {
		compatible = "qcom,msm-cpufreq";
		clock-names = "l2_clk", "cpu0_clk", "cpu1_clk", "cpu2_clk",