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

Commit 4e399c02 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Enable CPU/CCI scaling support for MSM8939"

parents 1a005456 ab859c39
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -55,6 +55,36 @@
		#clock-cells = <1>;
	};

	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 =
			<  200000  200000 >,
			<  345600  200000 >,
			<  400000  200000 >,
			<  422400  200000 >,
			<  499200  200000 >,
			<  533330  297600 >,
			<  652800  297600 >,
			<  800000  297600 >,
			< 1113600  400000 >,
			< 1267200  595200 >,
			< 1344000  595200 >;
		};
	};

	qcom,msm-cpufreq {
		compatible = "qcom,msm-cpufreq";
		clock-names = "cpu0_clk", "cpu1_clk", "cpu2_clk",
+37 −0
Original line number Diff line number Diff line
@@ -66,6 +66,43 @@
		#clock-cells = <1>;
	};

	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 =
			<  200000  200000 >,
			<  345600  200000 >,
			<  400000  200000 >,
			<  422400  200000 >,
			<  499200  200000 >,
			<  533330  297600 >,
			<  652800  297600 >,
			<  800000  297600 >,
			< 1113600  400000 >,
			< 1267200  595200 >,
			< 1344000  595200 >;
		cpu-to-dev-map-4 =
			<  200000 200000 >,
			<  249600 200000 >,
			<  400000 297600 >,
			<  499200 297600 >,
			<  800000 400000 >,
			<  998400 400000 >;
		};
	};

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