arm64: dts: qcom: Add MSM8996v3.0 DTSI file

Add an overlay for MSM8996v3.0, which is a pre-final revision
of the said SoC. It has some stark differences with regards to
GPU, or more specifically its power delivery path. Oh, and of
course a different msm-id.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210608202143.247427-2-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
Konrad Dybcio 2021-06-08 22:21:40 +02:00 committed by Bjorn Andersson
parent db718417e8
commit a569b10bf7

View file

@ -0,0 +1,63 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org>
*/
#include "msm8996.dtsi"
/ {
qcom,msm-id = <246 0x30000>;
};
/*
* This revision seems to have differ GPU CPR
* parameters, GPU frequencies and some differences
* when it comes to voltage delivery to.. once again
* the GPU. Funnily enough, it's simpler to make it an
* overlay on top of 3.1 (the final one) than vice versa.
* The differences will show here as more and more
* features get enabled upstream.
*/
gpu_opp_table_3_0: gpu-opp-table-30 {
compatible = "operating-points-v2";
opp-624000000 {
opp-hz = /bits/ 64 <624000000>;
opp-level = <7>;
};
opp-560000000 {
opp-hz = /bits/ 64 <560000000>;
opp-level = <6>;
};
opp-510000000 {
opp-hz = /bits/ 64 <510000000>;
opp-level = <5>;
};
opp-401800000 {
opp-hz = /bits/ 64 <401800000>;
opp-level = <4>;
};
opp-315000000 {
opp-hz = /bits/ 64 <315000000>;
opp-level = <3>;
};
opp-214000000 {
opp-hz = /bits/ 64 <214000000>;
opp-level = <3>;
};
opp-133000000 {
opp-hz = /bits/ 64 <133000000>;
opp-level = <3>;
};
};
&gpu {
operating-points-v2 = <&gpu_opp_table_3_0>;
};