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

Commit bdf32560 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: update cpufreq list and devfreq mapping for msm8996pro"

parents 6021ddc7 fbcce4f6
Loading
Loading
Loading
Loading
+179 −0
Original line number Diff line number Diff line
@@ -666,3 +666,182 @@
		< 1516800000 18 >,
		< 1593600000 19 >;
};

&clock_mmss {
	compatible = "qcom,mmsscc-8996-pro";
	reg = <0x8c0000 0xb00c>,
	      < 0x7013c 0x8 >;
	reg-names = "cc_base", "efuse";
};

&clock_gpu {
	compatible = "qcom,gpucc-8996-pro";
	qcom,gfxfreq-speedbin0 =
		<	   0  0  0 >,
		<  133000000  2  4 >,
		<  214000000  3  4 >,
		<  315000000  4  4 >,
		<  401800000  5  5 >,
		<  510000000  6  5 >,
		<  560000000  7  7 >,
		<  624000000  8  7 >,
		<  652800000  9  7 >;
	qcom,gfxfreq-mx-speedbin0 =
		<	   0  0 >,
		<  133000000  4 >,
		<  214000000  4 >,
		<  315000000  4 >,
		<  401800000  5 >,
		<  510000000  5 >,
		<  560000000  7 >,
		<  624000000  7 >,
		<  652800000  7 >;

	qcom,gfxfreq-speedbin1 =
		<	   0  0  0 >,
		<  133000000  2  4 >,
		<  214000000  3  4 >,
		<  315000000  4  4 >,
		<  401800000  5  5 >,
		<  510000000  6  5 >,
		<  560000000  7  7 >,
		<  624000000  8  7 >;
	qcom,gfxfreq-mx-speedbin1 =
		<	   0  0 >,
		<  133000000  4 >,
		<  214000000  4 >,
		<  315000000  4 >,
		<  401800000  5 >,
		<  510000000  5 >,
		<  560000000  7 >,
		<  624000000  7 >;
};

&msm_cpufreq {
	qcom,cpufreq-table-0 =
		<  307200 >,
		<  384000 >,
		<  460800 >,
		<  537600 >,
		<  614400 >,
		<  691200 >,
		<  768000 >,
		<  844800 >,
		<  902400 >,
		<  979200 >,
		< 1056000 >,
		< 1132800 >,
		< 1209600 >,
		< 1286400 >,
		< 1363200 >,
		< 1440000 >,
		< 1516800 >,
		< 1593600 >;
	qcom,cpufreq-table-2 =
		<  307200 >,
		<  384000 >,
		<  460800 >,
		<  537600 >,
		<  614400 >,
		<  691200 >,
		<  748800 >,
		<  825600 >,
		<  902400 >,
		<  979200 >,
		< 1056000 >,
		< 1132800 >,
		< 1209600 >,
		< 1286400 >,
		< 1363200 >,
		< 1440000 >,
		< 1516800 >,
		< 1593600 >,
		< 1670400 >,
		< 1747200 >,
		< 1824000 >,
		< 1900800 >,
		< 1977600 >,
		< 2054400 >,
		< 2150400 >;
};

&m4m_cache {
	freq-tbl-khz =
		<  192000 >,
		<  307200 >,
		<  384000 >,
		<  441600 >,
		<  537600 >,
		<  614400 >,
		<  691200 >,
		<  768000 >,
		<  844800 >,
		<  902400 >,
		<  979200 >,
		< 1056000 >,
		< 1132800 >,
		< 1190400 >,
		< 1286400 >,
		< 1363200 >,
		< 1440000 >,
		< 1516800 >,
		< 1593600 >;
};

&devfreq_cpufreq {
	m4m-cpufreq {
		cpu-to-dev-map-0 =
			<  307200  192000 >,
			<  384000  192000 >,
			<  460800  307200 >,
			<  537600  384000 >,
			<  614400  441600 >,
			<  691200  537600 >,
			<  768000  614400 >,
			<  844800  691200 >,
			<  902400  768000 >,
			<  979200  844800 >,
			< 1056000  902400 >,
			< 1132800  979200 >,
			< 1209600 1056000 >,
			< 1286400 1132800 >,
			< 1363200 1190400 >,
			< 1440000 1286400 >,
			< 1516800 1363200 >,
			< 1593600 1440000 >;
		cpu-to-dev-map-2 =
			<  307200  192000 >,
			<  384000  192000 >,
			<  460800  192000 >,
			<  537600  307200 >,
			<  614400  384000 >,
			<  691200  441600 >,
			<  748800  537600 >,
			<  825600  614400 >,
			<  902400  691200 >,
			<  979200  768000 >,
			< 1056000  844800 >,
			< 1132800  902400 >,
			< 1209600  979200 >,
			< 1286400 1056000 >,
			< 1363200 1132800 >,
			< 1440000 1190400 >,
			< 1516800 1286400 >,
			< 1593600 1363200 >,
			< 1670400 1440000 >,
			< 1747200 1516800 >,
			< 1824000 1593600 >,
			< 1900800 1593600 >,
			< 1977600 1593600 >,
			< 2054400 1593600 >,
			< 2150400 1593600 >;
	};

	mincpubw-cpufreq {
		cpu-to-dev-map-0 =
			< 1593600 1525 >;
		cpu-to-dev-map-2 =
			< 2054400 1525 >,
			< 2150400 5195 >;
	};
};