Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp332104imp; Thu, 21 Feb 2019 02:20:02 -0800 (PST) X-Google-Smtp-Source: AHgI3Iabx6nsFo9SWAiC993iYtQHYU1o+T46QNIR0LcOtBqsCnjDC/EO2JDGAquWDfw8SebY38It X-Received: by 2002:a17:902:e090:: with SMTP id cb16mr40323676plb.32.1550744402297; Thu, 21 Feb 2019 02:20:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550744402; cv=none; d=google.com; s=arc-20160816; b=MLMzJaBgoeNdYiq2I3nslGd1F4HCQC6L9OipeIHRUbZhocpxlnQYP9hKNka3j//aOR VYoz3EjtAc8Hhtxbjk8kCAc7RdRSiHThiBVe5GRctTtW9Zb/yJ2oGRpFNTh2kKG1pWl/ 1JwiVOXxMa/D633JVHbaDnkwO5DIhbvx7BFOV/E5R2x7EvIqDDGyIjtV+sikMJ34BA1p yDBpDZSuRIVqBUuAKb25JqoxMBRx4GADft/cm+3FBun4D4eATKgK1OTndOnvuYL35sYW QygHfC1Gv8m0C2nrxMPHMuXy+W4uWb39fr3kzcL20OqacsCGQi7g+4mNCe/Eij1L1VQQ fPPg== 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=NaDRQ3zbVU8+eOry7NjSgrEtONJ/usVlRE5YRHlWlDo=; b=vwhsN0KAPG//Sz0I3c/PwNnPm3kvle6uWcgcyVNFhYeDhQLDan97qPULkM+AGHkF4J 7UzlmNjcjPfgRI9J6cY45rl+DK3tKp3y2fH31dai849/fFIaA+VT8Ksaa7Sy0wvIxyl0 DmtpM6a6YfHCmxnHtjm1E19AMAvRLGEPmkyP4eJ9/SgqnX/gk1+fMjKHXVUDSvBK+62S 0sAzZXO2qOQwL1xvAilwfxR7V6IHcZAc2F8U+vWftpkKZ2iDzmAimzce4Q8QvSqlbqbf XbhyhKtPM1PCHx5CFYLeIabA7e1XNNQ1LX/9Refm4pxcr9erxtqT5Q7DM2MsK6xKjZYf ynvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Zuw5VIW+; 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 z72si3045367pgd.296.2019.02.21.02.19.47; Thu, 21 Feb 2019 02:20:02 -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=Zuw5VIW+; 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 S1727982AbfBUKTE (ORCPT + 99 others); Thu, 21 Feb 2019 05:19:04 -0500 Received: from hqemgate16.nvidia.com ([216.228.121.65]:17413 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727785AbfBUKTB (ORCPT ); Thu, 21 Feb 2019 05:19:01 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 21 Feb 2019 02:19:07 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 21 Feb 2019 02:19:01 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 21 Feb 2019 02:19:01 -0800 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 21 Feb 2019 10:19:00 +0000 Received: from HQMAIL108.nvidia.com (172.18.146.13) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 21 Feb 2019 10:19:00 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 21 Feb 2019 10:19:00 +0000 Received: from niwei-ubuntu.nvidia.com (Not Verified[10.19.225.182]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Thu, 21 Feb 2019 02:19:00 -0800 From: Wei Ni To: , , CC: , , , , , , , Wei Ni Subject: [PATCH v2 03/12] arm64: dts: tegra210: set thermtrip Date: Thu, 21 Feb 2019 18:18:38 +0800 Message-ID: <1550744327-4677-4-git-send-email-wni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1550744327-4677-1-git-send-email-wni@nvidia.com> References: <1550744327-4677-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=1550744347; bh=NaDRQ3zbVU8+eOry7NjSgrEtONJ/usVlRE5YRHlWlDo=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=Zuw5VIW+XNoo0FW/+quVdiOGXlfVTrK+UxFRAGsEo9ap62qwwo1OlD/CrVzdY2UYA JQQKlwMQL7ueCB1cGjUGvCn5OilNQcq2z+Y/yNjxv5HnWGAxqhjVTTKIqw4WXfiOmJ TOnUtryKgLMhFogdTbvR4QKLAvwoRPWpyVI5YXXEN+u+iJgMMjILYkPBKJGfludtY8 qq/CsXVWGx2cmjWXX2ovndoyjHH0qXPkNmbRnpdMHTMacEHnZajMddu/R4ao8T41Re nbQdya4SpHn5i3cE1rrT4jeJOId0GFt6pOZyVqpFJgPLvubLvfQTFrrmHivMz3lxfC LYtWBs0yoB5Bg== 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 6574396d2257..582d56820bbb 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi @@ -1410,6 +1410,9 @@ reset-names = "soctherm"; #thermal-sensor-cells = <1>; + nvidia,thermtrips = ; + throttle-cfgs { throttle_heavy: heavy { nvidia,priority = <100>; @@ -1429,8 +1432,8 @@ <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>; trips { - cpu-shutdown-trip { - temperature = <102500>; + cpu-critical-trip { + temperature = <102000>; hysteresis = <0>; type = "critical"; }; @@ -1457,7 +1460,7 @@ <&soctherm TEGRA124_SOCTHERM_SENSOR_MEM>; trips { - mem-shutdown-trip { + mem-critical-trip { temperature = <103000>; hysteresis = <0>; type = "critical"; @@ -1479,8 +1482,8 @@ <&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>; trips { - gpu-shutdown-trip { - temperature = <103000>; + gpu-critical-trip { + temperature = <102500>; hysteresis = <0>; type = "critical"; }; @@ -1507,7 +1510,7 @@ <&soctherm TEGRA124_SOCTHERM_SENSOR_PLLX>; trips { - pllx-shutdown-trip { + pllx-critical-trip { temperature = <103000>; hysteresis = <0>; type = "critical"; -- 2.7.4