Commit 40823f8e authored by Wei Ni's avatar Wei Ni Committed by Zhang Rui

arm: tegra: set critical trips for Tegra124

Set general "critical" trip temperatures for cpu, gpu, mem and pllx
thermal zones for all Tegra124 platform, these trips can trigger
shut down or reset.
Tegra124 Jetson TK1 was already set "critical" trips before, so it
can overwrite the general values.
Signed-off-by: default avatarWei Ni <wni@nvidia.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 6c7c3245
...@@ -2045,44 +2045,32 @@ sound { ...@@ -2045,44 +2045,32 @@ sound {
thermal-zones { thermal-zones {
cpu { cpu {
trips { trips {
trip { cpu-shutdown-trip {
temperature = <101000>; temperature = <101000>;
hysteresis = <0>; hysteresis = <0>;
type = "critical"; type = "critical";
}; };
}; };
cooling-maps {
/* There are currently no cooling maps because there are no cooling devices */
};
}; };
mem { mem {
trips { trips {
trip { mem-shutdown-trip {
temperature = <101000>; temperature = <101000>;
hysteresis = <0>; hysteresis = <0>;
type = "critical"; type = "critical";
}; };
}; };
cooling-maps {
/* There are currently no cooling maps because there are no cooling devices */
};
}; };
gpu { gpu {
trips { trips {
trip { gpu-shutdown-trip {
temperature = <101000>; temperature = <101000>;
hysteresis = <0>; hysteresis = <0>;
type = "critical"; type = "critical";
}; };
}; };
cooling-maps {
/* There are currently no cooling maps because there are no cooling devices */
};
}; };
}; };
}; };
...@@ -1154,6 +1154,21 @@ cpu { ...@@ -1154,6 +1154,21 @@ cpu {
thermal-sensors = thermal-sensors =
<&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>; <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>;
trips {
cpu-shutdown-trip {
temperature = <103000>;
hysteresis = <0>;
type = "critical";
};
};
cooling-maps {
/*
* There are currently no cooling maps,
* because there are no cooling devices.
*/
};
}; };
mem { mem {
...@@ -1162,6 +1177,21 @@ mem { ...@@ -1162,6 +1177,21 @@ mem {
thermal-sensors = thermal-sensors =
<&soctherm TEGRA124_SOCTHERM_SENSOR_MEM>; <&soctherm TEGRA124_SOCTHERM_SENSOR_MEM>;
trips {
mem-shutdown-trip {
temperature = <103000>;
hysteresis = <0>;
type = "critical";
};
};
cooling-maps {
/*
* There are currently no cooling maps,
* because there are no cooling devices.
*/
};
}; };
gpu { gpu {
...@@ -1170,6 +1200,21 @@ gpu { ...@@ -1170,6 +1200,21 @@ gpu {
thermal-sensors = thermal-sensors =
<&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>; <&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>;
trips {
gpu-shutdown-trip {
temperature = <101000>;
hysteresis = <0>;
type = "critical";
};
};
cooling-maps {
/*
* There are currently no cooling maps,
* because there are no cooling devices.
*/
};
}; };
pllx { pllx {
...@@ -1178,6 +1223,21 @@ pllx { ...@@ -1178,6 +1223,21 @@ pllx {
thermal-sensors = thermal-sensors =
<&soctherm TEGRA124_SOCTHERM_SENSOR_PLLX>; <&soctherm TEGRA124_SOCTHERM_SENSOR_PLLX>;
trips {
pllx-shutdown-trip {
temperature = <103000>;
hysteresis = <0>;
type = "critical";
};
};
cooling-maps {
/*
* There are currently no cooling maps,
* because there are no cooling devices.
*/
};
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment