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

Commit 71927516 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: add cpufreq node for sdm439/429"

parents 233882a5 415b9cf4
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
@@ -38,6 +38,53 @@
			/delete-node/qcom,pm-cluster@1;
		};
	};

	msm_cpufreq: qcom,msm-cpufreq {
		compatible = "qcom,msm-cpufreq";
		clock-names =
			"l2_clk",
			"cpu0_clk";
		clocks = <&clock_cpu clk_cci_clk>,
			 <&clock_cpu clk_a53_bc_clk>;

		qcom,governor-per-policy;

		qcom,cpufreq-table =
			 <  960000 >,
			 < 1305600 >,
			 < 1497600 >,
			 < 1708800 >,
			 < 1958400 >;
	};

	devfreq-cpufreq {
		cpubw-cpufreq {
		target-dev = <&cpubw>;
		cpu-to-dev-map =
			< 960000   2929 >,
			< 1305600  5053 >,
			< 1497600  5712 >,
			< 1708800  7031 >,
			< 1958400  7031 >;
		};

		cci-cpufreq {
		target-dev = <&cci_cache>;
		cpu-to-dev-map =
			< 960000   400000 >,
			< 1305600  400000 >,
			< 1497600  533333 >,
			< 1708800  533333 >,
			< 1958400  533333 >;
		};

		mincpubw-cpufreq {
			target-dev = <&mincpubw>;
			cpu-to-dev-map =
				< 1305600 2929 >,
				< 1958400 4248 >;
		};
	};
};

&funnel_apss {
+69 −0
Original line number Diff line number Diff line
@@ -31,6 +31,75 @@
	qcom,csid@1b30800 {
		/delete-property/ qcom,mipi-csi-vdd-supply;
	};

	msm_cpufreq: qcom,msm-cpufreq {
		compatible = "qcom,msm-cpufreq";
		clock-names =
			"l2_clk",
			"cpu0_clk",
			"cpu4_clk";
		clocks = <&clock_cpu clk_cci_clk>,
			 <&clock_cpu clk_a53_bc_clk>,
			 <&clock_cpu clk_a53_lc_clk>;

		qcom,governor-per-policy;

		qcom,cpufreq-table-0 =
			 < 1305600 >,
			 < 1497600 >,
			 < 1708800 >,
			 < 1958400 >;

		qcom,cpufreq-table-4 =
			 <  768000 >,
			 < 1001600 >,
			 < 1171200 >,
			 < 1305600 >,
			 < 1459200 >;
	};

	devfreq-cpufreq {
		cpubw-cpufreq {
		target-dev = <&cpubw>;
		cpu-to-dev-map-0 =
			< 1305600  2929 >,
			< 1497600  5053 >,
			< 1708800  5712 >,
			< 1958400  7031 >;
		cpu-to-dev-map-4 =
			<  768000  2929 >,
			< 1001600  4101 >,
			< 1171200  5053 >,
			< 1305600  6152 >,
			< 1459200  7031 >;

		};

		cci-cpufreq {
		target-dev = <&cci_cache>;
		cpu-to-dev-map-0 =
			< 1305600  400000 >,
			< 1497600  400000 >,
			< 1708800  533333 >,
			< 1958400  533333 >;
		cpu-to-dev-map-4 =
			<  768000  400000 >,
			< 1001600  400000 >,
			< 1171200  533333 >,
			< 1305600  533333 >,
			< 1459200  533333 >;
		};

		mincpubw-cpufreq {
			target-dev = <&mincpubw>;
			cpu-to-dev-map-0 =
				< 1305600 2929 >,
				< 1958400 4248 >;
			cpu-to-dev-map-4 =
				< 1171200 2929 >,
				< 1459200 4248 >;
		};
	};
};

&energy_costs {