nv-platform: Update thermal settings for tmp451

This change adds hot trip point temperatures for tmp451 sensors as per
//hw/ar/doc/t23x/sysarch/power/global_functions/thermal_management/
T234_Thermal_Settings.xlsx#31.

The polling interval is set to 0 since no periodic thermal management is
required from thermal framework.

Bug 4139424
Bug 4635474

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I6b9d9e77a34475e02cf1b4a63f4a35a1dd731b2e
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3143159
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
This commit is contained in:
Yi-Wei Wang
2024-05-22 23:07:01 +08:00
committed by mobile promotions
parent 7def907479
commit ba17dd5afe
2 changed files with 14 additions and 17 deletions

View File

@@ -3,8 +3,6 @@
#include "tegra234-p3701-0000-prod-overlay.dtsi" #include "tegra234-p3701-0000-prod-overlay.dtsi"
#define TEGRA234_TMP451_SHUTDOWN_TEMP 106500
/ { / {
bus@0 { bus@0 {
spi@3270000 { spi@3270000 {
@@ -59,31 +57,31 @@
thermal-zones { thermal-zones {
tboard-thermal { tboard-thermal {
polling-delay = <1000>; polling-delay = <0>;
polling-delay-passive = <1000>; polling-delay-passive = <0>;
thermal-sensors = <&tegra_tmp451 0>; thermal-sensors = <&tegra_tmp451 0>;
status = "okay"; status = "okay";
trips { trips {
tboard-shutdown { tboard-hot {
temperature = <TEGRA234_TMP451_SHUTDOWN_TEMP>; temperature = <106000>;
hysteresis = <0>; hysteresis = <0>;
type = "critical"; type = "hot";
}; };
}; };
}; };
tdiode-thermal { tdiode-thermal {
polling-delay = <1000>; polling-delay = <0>;
polling-delay-passive = <1000>; polling-delay-passive = <0>;
thermal-sensors = <&tegra_tmp451 1>; thermal-sensors = <&tegra_tmp451 1>;
status = "okay"; status = "okay";
trips { trips {
tdiode-shutdown { tdiode-hot {
temperature = <TEGRA234_TMP451_SHUTDOWN_TEMP>; temperature = <106000>;
hysteresis = <0>; hysteresis = <0>;
type = "critical"; type = "hot";
}; };
}; };
}; };

View File

@@ -5,7 +5,6 @@
#define TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP 112000 #define TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP 112000
#define TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP 117500 #define TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP 117500
#define TEGRA234_INDUSTRIAL_TMP451_SHUTDOWN_TEMP 119500
/ { / {
opp-table-cluster0 { opp-table-cluster0 {
@@ -151,16 +150,16 @@
tboard-thermal { tboard-thermal {
trips { trips {
tboard-shutdown { tboard-hot {
temperature = <TEGRA234_INDUSTRIAL_TMP451_SHUTDOWN_TEMP>; temperature = <119000>;
}; };
}; };
}; };
tdiode-thermal { tdiode-thermal {
trips { trips {
tdiode-shutdown { tdiode-hot {
temperature = <TEGRA234_INDUSTRIAL_TMP451_SHUTDOWN_TEMP>; temperature = <119000>;
}; };
}; };
}; };