]> www.infradead.org Git - linux.git/commitdiff
arm64: tegra: Add thermal nodes to AGX Orin SKU8
authorDara Stotland <dstotland@nvidia.com>
Mon, 26 Aug 2024 16:47:25 +0000 (16:47 +0000)
committerThierry Reding <treding@nvidia.com>
Thu, 29 Aug 2024 15:40:35 +0000 (17:40 +0200)
One of the key differences between p3701-0000 and p3701-0008 is the
temperature range. Add this info for p3701-0008.

Signed-off-by: Dara Stotland <dstotland@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi

index f0fa6a76149e611afdf9afb8173d89572f10a54a..0809634e57320d9069d5f68a79a3148ee45e36fa 100644 (file)
@@ -4,4 +4,26 @@
 
 / {
        compatible = "nvidia,p3701-0008", "nvidia,tegra234";
+
+       thermal-zones {
+               tj-thermal {
+                       polling-delay = <1000>;
+                       polling-delay-passive = <1000>;
+                       status = "okay";
+
+                       trips {
+                               tj_trip_active0: active-0 {
+                                       temperature = <85000>;
+                                       hysteresis = <4000>;
+                                       type = "active";
+                               };
+
+                               tj_trip_active1: active-1 {
+                                       temperature = <105000>;
+                                       hysteresis = <4000>;
+                                       type = "active";
+                               };
+                       };
+               };
+       };
 };