From 82746253aa02cf3c0d99fa1404a906ec6f55bb44 Mon Sep 17 00:00:00 2001 From: Yi-Wei Wang Date: Thu, 25 Jul 2024 14:22:48 +0800 Subject: [PATCH] t23x: nv-public: Disable hot surface alert for IGX For IGX platform, the module and baseboard are inside the chassis, the hot surface alert should not rely on on-chip or on-board thermal sensors to judge whether the surface is hot or not. So, this change disables the hot surface alert for IGX platform to avoid the false alarm. Bug 4084478 Bug 4561083 Bug 4611631 Signed-off-by: Yi-Wei Wang Change-Id: Ib4f9ca3e2822c593744668a82ebaabb3910ac594 Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3181470 Reviewed-by: svcacv Reviewed-by: Rajkumar Kasirajan GVS: buildbot_gerritrpt --- ...ra234-p3740-0002+p3701-0008-nv-common.dtsi | 50 ++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/nv-platform/tegra234-p3740-0002+p3701-0008-nv-common.dtsi b/nv-platform/tegra234-p3740-0002+p3701-0008-nv-common.dtsi index 5a5e1fe..f777973 100644 --- a/nv-platform/tegra234-p3740-0002+p3701-0008-nv-common.dtsi +++ b/nv-platform/tegra234-p3740-0002+p3701-0008-nv-common.dtsi @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. #include "nv-soc/tegra234-overlay.dtsi" #include "nv-soc/tegra234-soc-thermal.dtsi" @@ -46,34 +46,82 @@ thermal-zones { cpu-thermal { status = "okay"; + + cooling-maps { + map-hot-surface-alert { + cooling-device = <&hot_surface_alert 0 0>; + }; + }; }; cv0-thermal { status = "okay"; + + cooling-maps { + map-hot-surface-alert { + cooling-device = <&hot_surface_alert 0 0>; + }; + }; }; cv1-thermal { status = "okay"; + + cooling-maps { + map-hot-surface-alert { + cooling-device = <&hot_surface_alert 0 0>; + }; + }; }; cv2-thermal { status = "okay"; + + cooling-maps { + map-hot-surface-alert { + cooling-device = <&hot_surface_alert 0 0>; + }; + }; }; gpu-thermal { status = "okay"; + + cooling-maps { + map-hot-surface-alert { + cooling-device = <&hot_surface_alert 0 0>; + }; + }; }; soc0-thermal { status = "okay"; + + cooling-maps { + map-hot-surface-alert { + cooling-device = <&hot_surface_alert 0 0>; + }; + }; }; soc1-thermal { status = "okay"; + + cooling-maps { + map-hot-surface-alert { + cooling-device = <&hot_surface_alert 0 0>; + }; + }; }; soc2-thermal { status = "okay"; + + cooling-maps { + map-hot-surface-alert { + cooling-device = <&hot_surface_alert 0 0>; + }; + }; }; tj-thermal {