Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp363015imu; Fri, 7 Dec 2018 02:16:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xkt8YV/gefUejEYMHvnTbQ2WSqOic5SURZ61wuZXSI3TbDy82Rk54aSpbHrUnnucJ51Llp X-Received: by 2002:a17:902:20b:: with SMTP id 11mr1578044plc.57.1544177806905; Fri, 07 Dec 2018 02:16:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544177806; cv=none; d=google.com; s=arc-20160816; b=E1/J8GU3Wqz01nX8FSDhqDNDK4sJZ1f8lgPTlK5BOYbxBK+QYwuGiP9U3idumkHuFf YuGc6DGlCCLdRSdLefsnGlKi/aXyf8t7lwBHFi/zYooqAqCE6MIdRVc4+Ta/o1redFFg t+6b++CNItkT07taBrc69uv6IT5AoBv1oduiNaKkFcd7N3YQhmSHPVEcdeRprFTICmCY uCOAojdrOuCC39SRUkR54FgTU+74JbIMbnSh4ifRfVn6/sLPvQV+XXB3gs2d77ClG4P8 svEGBIP1IYbK+iYkP6Orecwll3Xy0y24U7F6B+sqkhIso4+KhOTh3ZhPunRd4gSGJJ7t 7+HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=9AJ9SFRAIcIBPmc/HlPCTC67fy3Vwake9TMBHYQ2Bbc=; b=LYKoldBVm4uNk2oPwYwwUR/vDbh9yBeRs8ChAIdR33TudsR9Ze4VC6myTlPybuVNcj eO1cZolMnsUKcJLuwaBbKePWqy28hrtWRCl8zetoO+Btld9I4SKebTjEEctzd55a7El/ CQRGtHKUSunIJfEuPsdJF6kIX7Z2H9IIXwTKAEKzSJ8T3chWUXHitLcOS/1z4bo7rYPC QQCVQxTv56eq4lyDxccBEaIFjm3WylcVJsAkrVPz7qJlU+BF8WjcDE0KU/2sI5jyxbPX loBLjtdABfKT0iFha1VSdbMD/XkWGk23KZe6B8faXB9Q1pf6pkSb94qtjWQxedvNIFhh Lclw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=VhDs1+WD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q8si2432693pgk.40.2018.12.07.02.16.30; Fri, 07 Dec 2018 02:16:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=VhDs1+WD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726080AbeLGKOc (ORCPT + 99 others); Fri, 7 Dec 2018 05:14:32 -0500 Received: from hqemgate15.nvidia.com ([216.228.121.64]:14618 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbeLGKOa (ORCPT ); Fri, 7 Dec 2018 05:14:30 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Fri, 07 Dec 2018 02:14:18 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Fri, 07 Dec 2018 02:14:29 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Fri, 07 Dec 2018 02:14:29 -0800 Received: from HQMAIL106.nvidia.com (172.18.146.12) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 7 Dec 2018 10:14:28 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL106.nvidia.com (172.18.146.12) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Fri, 7 Dec 2018 10:14:29 +0000 Received: from niwei-ubuntu.nvidia.com (Not Verified[10.19.225.182]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Fri, 07 Dec 2018 02:14:28 -0800 From: Wei Ni To: , , CC: , , , , Wei Ni Subject: [PATCH v1 3/3] arm64: dts: tegra210: set thermtrip Date: Fri, 7 Dec 2018 18:10:07 +0800 Message-ID: <1544177407-20203-4-git-send-email-wni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544177407-20203-1-git-send-email-wni@nvidia.com> References: <1544177407-20203-1-git-send-email-wni@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1544177658; bh=9AJ9SFRAIcIBPmc/HlPCTC67fy3Vwake9TMBHYQ2Bbc=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=VhDs1+WD525q9lizbZM3gtgHKBefyjjsitjzIrly9qbvCnKa2W9oY1mOcxd4TTJFu VzPKRElC7K3Pj1cKI2vBko196ean3b/5JbsoG088gyfSiyD/hHxNbV4JzvhcMhPwvA 1M/0lfdktnmWtFkhVCfZieuiG1ng7aaIpf0GQLHZ3b4M+JwIyv9qozV5Kxv6IN50oW +YpIWD/1MI1lL+4bEBTS2Snr5R3oWpWH+gZ88P/OBAmUJDBnmArxnSEGEdOihzCjQF aJsW84vyKAY6JJ3rVdXsFcFNbecT5+7cjdnnR13OuxvyQRh3WPy4k+436rfJdmmaNV Lf80eULrqzsdg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Set "nvidia,thermtrips" property, it used to set HW shutdown temperatures. Signed-off-by: Wei Ni --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts/nvidia/tegra210.dtsi index 8fe47d6445a5..f2e89b218b23 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi @@ -1330,6 +1330,9 @@ reset-names = "soctherm"; #thermal-sensor-cells = <1>; + nvidia,thermtrips = ; + throttle-cfgs { throttle_heavy: heavy { nvidia,priority = <100>; @@ -1349,8 +1352,8 @@ <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>; trips { - cpu-shutdown-trip { - temperature = <102500>; + cpu-critical-trip { + temperature = <102000>; hysteresis = <0>; type = "critical"; }; @@ -1377,7 +1380,7 @@ <&soctherm TEGRA124_SOCTHERM_SENSOR_MEM>; trips { - mem-shutdown-trip { + mem-critical-trip { temperature = <103000>; hysteresis = <0>; type = "critical"; @@ -1399,8 +1402,8 @@ <&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>; trips { - gpu-shutdown-trip { - temperature = <103000>; + gpu-critical-trip { + temperature = <102500>; hysteresis = <0>; type = "critical"; }; @@ -1427,7 +1430,7 @@ <&soctherm TEGRA124_SOCTHERM_SENSOR_PLLX>; trips { - pllx-shutdown-trip { + pllx-critical-trip { temperature = <103000>; hysteresis = <0>; type = "critical"; -- 2.7.4