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

Commit af96ad6a authored by c_masira's avatar c_masira Committed by Shreyas Narayan
Browse files

ARM: dts: msm: Add GPU fmax support for QM215.



QM215 GPU Fmax needed is 465Mhz, so add support for the same.

Change-Id: I8419d4b8bd0d97b76234b2bcdd093edc380531cf
Signed-off-by: default avatarc_masira <masira@codeaurora.org>
parent bd5f1e54
Loading
Loading
Loading
Loading
+47 −1
Original line number Diff line number Diff line
@@ -1727,7 +1727,9 @@
/* GPU overrides */
&msm_gpu {

	qcom,gpu-speed-bin = <0x6018 0x80000000 31>;
	qcom,gpu-speed-bin-vectors =
		<0x6018 0x80000000 31>,
		<0x0164 0x00000400 9>;
	/delete-node/qcom,gpu-pwrlevels;

	qcom,gpu-pwrlevel-bins {
@@ -1859,5 +1861,49 @@
				qcom,bus-max = <0>;
			};
		};

		qcom,gpu-pwrlevels-2 {
			#address-cells = <1>;
			#size-cells = <0>;

			qcom,speed-bin = <2>;
			qcom,initial-pwrlevel = <1>;

			/* NOM */
			qcom,gpu-pwrlevel@0 {
				reg = <0>;
				qcom,gpu-freq = <465000000>;
				qcom,bus-freq = <7>;
				qcom,bus-min = <5>;
				qcom,bus-max = <7>;
			};

			/* SVS+ */
			qcom,gpu-pwrlevel@1 {
				reg = <1>;
				qcom,gpu-freq = <400000000>;
				qcom,bus-freq = <4>;
				qcom,bus-min = <3>;
				qcom,bus-max = <5>;
			};

			/* SVS */
			qcom,gpu-pwrlevel@2 {
				reg = <2>;
				qcom,gpu-freq = <270000000>;
				qcom,bus-freq = <3>;
				qcom,bus-min = <1>;
				qcom,bus-max = <3>;
			};

			/* XO */
			qcom,gpu-pwrlevel@3 {
				reg = <3>;
				qcom,gpu-freq = <19200000>;
				qcom,bus-freq = <0>;
				qcom,bus-min = <0>;
				qcom,bus-max = <0>;
			};
		};
	};
};