Commit 1ae55caf authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: msm8996pro: expand Adreno OPP table



There are minor differeces between msm8996 and msm8996pro in terms of
GPU frequencies support. For example msm8996pro supports 652.8 MHz
frequency for the Adreno. Reclect these differences in msm8996pro.dtsi.

Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220724140421.1933004-8-dmitry.baryshkov@linaro.org
parent 0d440d81
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -264,3 +264,28 @@ opp-2342400000 {
		};
	};
};

&gpu_opp_table {
	/*
	 * Unlike CPU opp tables, the GPU driver does not shift speed bins.
	 *
	 * 652.8 Mhz is available on speed bin 0 only.
	 * 624 Mhz and 560 Mhz are available on speed bins 0 and 1.
	 * All the rest are available on all bins of the hardware (like on
	 * plain 8996).
	 */

	opp-652800000 {
		opp-hz = /bits/ 64 <652800000>;
		opp-supported-hw = <0x01>;
	};
	opp-624000000 {
		opp-hz = /bits/ 64 <624000000>;
		opp-supported-hw = <0x03>;
	};
	opp-560000000 {
		opp-hz = /bits/ 64 <560000000>;
		opp-supported-hw = <0x03>;
	};
	/* The rest is inherited from msm8996 */
};