arm64: dts: qcom: msm8996: Add MSM8996 Pro support
authorYassine Oudjana <y.oudjana@protonmail.com>
Sun, 24 Jul 2022 14:04:16 +0000 (17:04 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 17 Oct 2022 18:55:26 +0000 (13:55 -0500)
commit8898c9748a872866f8c2973e719b26bf7c6ab64e
tree31808ee458e20cc2194bdce1a4789d63f614bb5f
parent358ef0c03e7ce62ab197af02e91b843b92ef4717
arm64: dts: qcom: msm8996: Add MSM8996 Pro support

Qualcomm MSM8996 Pro is a variant of MSM8996 with higher frequencies
supported both on CPU and GPU. There are other minor hardware
differencies in the CPU and GPU regulators and bus fabrics.

However this results in significant differences between 8996 and 8996
Pro CPU OPP tables. Judging from msm-3.18 there are only few common
frequencies supported by both msm8996 and msm8996pro. Rather than
hacking the tables for msm8996, split msm8996pro support into a separate
file. Later this would allow having additional customizations for the
CBF, CPR, retulators, etc.

[DB: dropped all non-CPU-OPP changes]

Fixes: 90173a954a22 ("arm64: dts: qcom: msm8996: Add CPU opps")
Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
[DB: Realigned supported-hw to keep compat with current cpufreq driver]
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220724140421.1933004-3-dmitry.baryshkov@linaro.org
arch/arm64/boot/dts/qcom/msm8996.dtsi
arch/arm64/boot/dts/qcom/msm8996pro.dtsi [new file with mode: 0644]