2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00

arm64: tegra: set critical trips for Tegra132

Set general "critical" trip temperatures for cpu, gpu, mem and pllx
thermal zones on Tegra132, these trips can trigger shut down or reset.

Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
This commit is contained in:
Wei Ni 2016-05-11 18:20:22 +08:00 committed by Zhang Rui
parent 0fa2bfcd1a
commit a6ebde2540

View File

@ -746,6 +746,21 @@
thermal-sensors = thermal-sensors =
<&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>; <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>;
trips {
cpu_shutdown_trip {
temperature = <105000>;
hysteresis = <1000>;
type = "critical";
};
};
cooling-maps {
/*
* There are currently no cooling maps,
* because there are no cooling devices.
*/
};
}; };
mem { mem {
polling-delay-passive = <0>; polling-delay-passive = <0>;
@ -753,6 +768,21 @@
thermal-sensors = thermal-sensors =
<&soctherm TEGRA124_SOCTHERM_SENSOR_MEM>; <&soctherm TEGRA124_SOCTHERM_SENSOR_MEM>;
trips {
mem_shutdown_trip {
temperature = <101000>;
hysteresis = <1000>;
type = "critical";
};
};
cooling-maps {
/*
* There are currently no cooling maps,
* because there are no cooling devices.
*/
};
}; };
gpu { gpu {
polling-delay-passive = <1000>; polling-delay-passive = <1000>;
@ -760,6 +790,21 @@
thermal-sensors = thermal-sensors =
<&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>; <&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>;
trips {
gpu_shutdown_trip {
temperature = <101000>;
hysteresis = <1000>;
type = "critical";
};
};
cooling-maps {
/*
* There are currently no cooling maps,
* because there are no cooling devices.
*/
};
}; };
pllx { pllx {
polling-delay-passive = <0>; polling-delay-passive = <0>;
@ -767,6 +812,21 @@
thermal-sensors = thermal-sensors =
<&soctherm TEGRA124_SOCTHERM_SENSOR_PLLX>; <&soctherm TEGRA124_SOCTHERM_SENSOR_PLLX>;
trips {
pllx_shutdown_trip {
temperature = <105000>;
hysteresis = <1000>;
type = "critical";
};
};
cooling-maps {
/*
* There are currently no cooling maps,
* because there are no cooling devices.
*/
};
}; };
}; };