Files
linux/arch/arm64/boot/dts/qcom/sdm632.dtsi
Vladimir Lypak 655815649f arm64: dts: qcom: msm8953: Add GPU
Add the GPU node for the Adreno 506 found on this family of SoCs. The
clock speeds are a bit different per SoC variant, SDM450 maxes out at
600MHz while MSM8953 (= SDM625) goes up to 650MHz and SDM632 goes up to
725MHz.

To achieve this, create a new sdm450.dtsi to hold the 600MHz OPP and
use the new dtsi for sdm450-motorola-ali.

Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com>
Co-developed-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240125-msm8953-gpu-v1-2-f6493a5951f3@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2024-02-06 16:06:06 -06:00

90 lines
1.5 KiB
Plaintext

// SPDX-License-Identifier: BSD-3-Clause
/* Copyright (c) 2022, The Linux Foundation. All rights reserved. */
#include "msm8953.dtsi"
/ {
thermal-zones {
/delete-node/cpu1-thermal;
/delete-node/cpu2-thermal;
/delete-node/cpu3-thermal;
cpu0-thermal {
thermal-sensors = <&tsens0 13>;
cooling-maps {
map0 {
cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cpu4-thermal {
thermal-sensors = <&tsens0 5>;
};
cpu5-thermal {
thermal-sensors = <&tsens0 6>;
};
cpu6-thermal {
thermal-sensors = <&tsens0 7>;
};
cpu7-thermal {
thermal-sensors = <&tsens0 8>;
};
};
};
/*
* SDM632 uses Kryo 250 instead of Cortex A53
* CPU0-3 are efficiency cores, CPU4-7 are performance cores
*/
&CPU0 {
compatible = "qcom,kryo250";
};
&CPU1 {
compatible = "qcom,kryo250";
};
&CPU2 {
compatible = "qcom,kryo250";
};
&CPU3 {
compatible = "qcom,kryo250";
};
&CPU4 {
compatible = "qcom,kryo250";
capacity-dmips-mhz = <1980>;
};
&CPU5 {
compatible = "qcom,kryo250";
capacity-dmips-mhz = <1980>;
};
&CPU6 {
compatible = "qcom,kryo250";
capacity-dmips-mhz = <1980>;
};
&CPU7 {
compatible = "qcom,kryo250";
capacity-dmips-mhz = <1980>;
};
&gpu_opp_table {
opp-725000000 {
opp-hz = /bits/ 64 <725000000>;
opp-supported-hw = <0xff>;
required-opps = <&rpmpd_opp_turbo>;
};
};