Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
90 lines
1.5 KiB
Devicetree
90 lines
1.5 KiB
Devicetree
// 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>;
|
|
};
|
|
};
|