mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 13:06:59 +02:00
arm64: dts: qcom: x1p42100: Fix thermal sensor configuration
The 8-core SKUs of the X1 family have a different sensor configuration.
Override it to expose what the sensors really measure.
Fixes: f08edb5299 ("arm64: dts: qcom: Add X1P42100 SoC and CRD")
Tested-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250520-topic-x1p4_tsens-v2-1-9687b789a4fb@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
779d1edd42
commit
63350a0796
|
|
@ -8554,7 +8554,7 @@ timer {
|
|||
<GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
|
||||
};
|
||||
|
||||
thermal-zones {
|
||||
thermal_zones: thermal-zones {
|
||||
aoss0-thermal {
|
||||
thermal-sensors = <&tsens0 0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
/delete-node/ &cpu_pd10;
|
||||
/delete-node/ &cpu_pd11;
|
||||
/delete-node/ &pcie3_phy;
|
||||
/delete-node/ &thermal_zones;
|
||||
|
||||
&gcc {
|
||||
compatible = "qcom,x1p42100-gcc", "qcom,x1e80100-gcc";
|
||||
|
|
@ -79,3 +80,558 @@ pcie3_phy: phy@1bd4000 {
|
|||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
/* While physically present, this controller is left unconfigured and unused */
|
||||
&tsens3 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
/ {
|
||||
thermal-zones {
|
||||
aoss0-thermal {
|
||||
thermal-sensors = <&tsens0 0>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <2000>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu0-0-top-thermal {
|
||||
thermal-sensors = <&tsens0 1>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu0-0-btm-thermal {
|
||||
thermal-sensors = <&tsens0 2>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu0-1-top-thermal {
|
||||
thermal-sensors = <&tsens0 3>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu0-1-btm-thermal {
|
||||
thermal-sensors = <&tsens0 4>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu0-2-top-thermal {
|
||||
thermal-sensors = <&tsens0 5>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu0-2-btm-thermal {
|
||||
thermal-sensors = <&tsens0 6>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu0-3-top-thermal {
|
||||
thermal-sensors = <&tsens0 7>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu0-3-btm-thermal {
|
||||
thermal-sensors = <&tsens0 8>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpuss0-top-thermal {
|
||||
thermal-sensors = <&tsens0 9>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpuss0-btm-thermal {
|
||||
thermal-sensors = <&tsens0 10>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mem-thermal {
|
||||
thermal-sensors = <&tsens0 11>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <2000>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
video-thermal {
|
||||
thermal-sensors = <&tsens0 12>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <2000>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
aoss1-thermal {
|
||||
thermal-sensors = <&tsens1 0>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <2000>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu1-0-top-thermal {
|
||||
thermal-sensors = <&tsens1 1>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu1-0-btm-thermal {
|
||||
thermal-sensors = <&tsens1 2>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu1-1-top-thermal {
|
||||
thermal-sensors = <&tsens1 3>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu1-1-btm-thermal {
|
||||
thermal-sensors = <&tsens1 4>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu1-2-top-thermal {
|
||||
thermal-sensors = <&tsens1 5>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu1-2-btm-thermal {
|
||||
thermal-sensors = <&tsens1 6>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu1-3-top-thermal {
|
||||
thermal-sensors = <&tsens1 7>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu1-3-btm-thermal {
|
||||
thermal-sensors = <&tsens1 8>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpuss1-top-thermal {
|
||||
thermal-sensors = <&tsens1 9>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpuss1-btm-thermal {
|
||||
thermal-sensors = <&tsens1 10>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
aoss2-thermal {
|
||||
thermal-sensors = <&tsens2 0>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <2000>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nsp0-thermal {
|
||||
thermal-sensors = <&tsens2 1>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <2000>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nsp1-thermal {
|
||||
thermal-sensors = <&tsens2 2>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <2000>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nsp2-thermal {
|
||||
thermal-sensors = <&tsens2 3>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <2000>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nsp3-thermal {
|
||||
thermal-sensors = <&tsens2 4>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <2000>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpuss-0-thermal {
|
||||
polling-delay-passive = <200>;
|
||||
|
||||
thermal-sensors = <&tsens2 5>;
|
||||
|
||||
cooling-maps {
|
||||
map0 {
|
||||
trip = <&gpuss0_alert0>;
|
||||
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
};
|
||||
};
|
||||
|
||||
trips {
|
||||
gpuss0_alert0: trip-point0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpuss-1-thermal {
|
||||
polling-delay-passive = <200>;
|
||||
|
||||
thermal-sensors = <&tsens2 6>;
|
||||
|
||||
cooling-maps {
|
||||
map0 {
|
||||
trip = <&gpuss1_alert0>;
|
||||
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
};
|
||||
};
|
||||
|
||||
trips {
|
||||
gpuss1_alert0: trip-point0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpuss-2-thermal {
|
||||
polling-delay-passive = <200>;
|
||||
|
||||
thermal-sensors = <&tsens2 7>;
|
||||
|
||||
cooling-maps {
|
||||
map0 {
|
||||
trip = <&gpuss2_alert0>;
|
||||
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
};
|
||||
};
|
||||
|
||||
trips {
|
||||
gpuss2_alert0: trip-point0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpuss-3-thermal {
|
||||
polling-delay-passive = <200>;
|
||||
|
||||
thermal-sensors = <&tsens2 8>;
|
||||
|
||||
cooling-maps {
|
||||
map0 {
|
||||
trip = <&gpuss3_alert0>;
|
||||
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
};
|
||||
};
|
||||
|
||||
trips {
|
||||
gpuss3_alert0: trip-point0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
camera0-thermal {
|
||||
thermal-sensors = <&tsens2 9>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <2000>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
camera1-thermal {
|
||||
thermal-sensors = <&tsens2 10>;
|
||||
|
||||
trips {
|
||||
trip-point0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <2000>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip-point1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user