ARM: tegra: Add thermal trip points for Jetson TK1
authorMikko Perttunen <mperttunen@nvidia.com>
Fri, 26 Sep 2014 09:43:12 +0000 (12:43 +0300)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 20 Nov 2014 14:43:17 +0000 (10:43 -0400)
This adds critical trip points to the Jetson TK1 device tree.
The device will do a controlled shutdown when either the CPU, GPU
or MEM thermal zone reaches 101 degrees Celsius.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
arch/arm/boot/dts/tegra124-jetson-tk1.dts

index 029c9a0215413355d3ce7c081a3ac5bd00fcd3d7..f46a7892d269d104b7b44b7b40121228d95203fb 100644 (file)
                         <&tegra_car TEGRA124_CLK_EXTERN1>;
                clock-names = "pll_a", "pll_a_out0", "mclk";
        };
+
+       thermal-zones {
+               cpu {
+                       trips {
+                               trip@0 {
+                                       temperature = <101000>;
+                                       hysteresis = <0>;
+                                       type = "critical";
+                               };
+                       };
+
+                       cooling-maps {
+                               /* There are currently no cooling maps because there are no cooling devices */
+                       };
+               };
+
+               mem {
+                       trips {
+                               trip@0 {
+                                       temperature = <101000>;
+                                       hysteresis = <0>;
+                                       type = "critical";
+                               };
+                       };
+
+                       cooling-maps {
+                               /* There are currently no cooling maps because there are no cooling devices */
+                       };
+               };
+
+               gpu {
+                       trips {
+                               trip@0 {
+                                       temperature = <101000>;
+                                       hysteresis = <0>;
+                                       type = "critical";
+                               };
+                       };
+
+                       cooling-maps {
+                               /* There are currently no cooling maps because there are no cooling devices */
+                       };
+               };
+       };
 };