From patchwork Wed Mar 8 12:52:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 13165686 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4BB33C64EC4 for ; Wed, 8 Mar 2023 13:00:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gcOtZZtJBsQsVS4b+IPsL8GI7EurGDZ4xsKDcvL/s1E=; b=W1iNJORjjRe4aY 6Tky8BbEYl+5lgssREYVmLoKtMjJk7oPhMAy9N0EkAuV2Bd8EhPSAX1z6NqQI3RaMtd+ptJv8rHXl 4LkUkNJ1R8MmlDXCpLnUIgI73bTWH/OGZXmXZNz1ID8HAKT7Mk6VVBPqTbKDbvzGKBooCGjQKz9ze kw3rtrCJFJ4u8j9xs/bA/qR8CurhAt4WftSLxXBpg1UcXoXKTmToaoEsEPDPNVzDaFKgt5/DUfZss EjjFcegNcO6rltty7PzjHXYnyh2wU2O5lqq5uMI2UkZ0GB3LehVKnccJ3Vhvkiu+EKfsQgH3EnAHE 01gvPX5Igljj4oZ/B0Tg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZtO1-004zLu-Vy; Wed, 08 Mar 2023 12:59:18 +0000 Received: from smtp-190c.mail.infomaniak.ch ([2001:1600:4:17::190c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZtIG-004wHF-UT for linux-arm-kernel@lists.infradead.org; Wed, 08 Mar 2023 12:53:25 +0000 Received: from smtp-2-0000.mail.infomaniak.ch (unknown [10.5.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PWsgL0R36zMrTBC; Wed, 8 Mar 2023 13:53:18 +0100 (CET) Received: from unknown by smtp-2-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PWsgK45GXzMslsc; Wed, 8 Mar 2023 13:53:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678279997; bh=ieLvZpXNqo1ScKL96FKroIXWyLYGJO//PsmsMl4tB5A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UoMW9J5kCiQMXFOFXu18O07VSxWMefr3vlMTZkBLyHBRw6/GfrfT/6BRC/StAXHSp 9x40EujC5k/Khz3HDQboLZ6kqEYcRAi95m4lpfmfGqBYF4CdcOKui16XoumraXcNQf YEdWM0BFmRIYquLKmTafjxHkSy8VZSZ8tlvPsPhQ= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Krzysztof Kozlowski , Rob Herring , Pengutronix Kernel Team , Frank Rowand , linux-arm-kernel@lists.infradead.org, Fabio Estevam , Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v1 19/25] arm64: dts: colibri-imx8x: Set thermal thresholds Date: Wed, 8 Mar 2023 13:52:53 +0100 Message-Id: <20230308125300.58244-20-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230308125300.58244-1-dev@pschenker.ch> References: <20230308125300.58244-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230308_045321_149570_13DCB654 X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Philippe Schenker Set critical/alert thermal thresholds for all relevant SOC temperature trips to the IT value (max T_junction 105 degree Celsius) in accordance with the IT grade of the SOM. Signed-off-by: Philippe Schenker --- arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index f09a6aad6275..2f86a2eb4ff3 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -16,6 +16,18 @@ reg_module_3v3: regulator-module-3v3 { }; }; +&cpu_alert0 { + hysteresis = <2000>; + temperature = <90000>; + type = "passive"; +}; + +&cpu_crit0 { + hysteresis = <2000>; + temperature = <105000>; + type = "critical"; +}; + /* Colibri FastEthernet */ &fec1 { pinctrl-names = "default", "sleep";