From patchwork Tue Mar 14 10:24:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 13174299 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 2BB3AC6FD1C for ; Tue, 14 Mar 2023 12:47:42 +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=XMk6XDBlb8zZxvXSdgZvP7uIh8437rb3l0DeDYZ7t/0=; b=sSxYMDJuSOvL1L jzXNEIV51HGGtr5zJc3yu/ba84RbVSmlnpRExPvXY/Qa1ujWI6lNe5Sc/3eTQjGRe0vh0bMZijfxa wqe4jR/oZ1+h9h2u8lrdgMMiLCRHrobKbUnJHt9DW6T4fE2v3WRz+Ze70TworQXtUyeenl1ykGZSV bVUez+NzLMH/1XRPaHzer3q1Ngpf/Xd98Q9lHQEWUDkTJNxyzJ/NoHEd4/m8royzMzjHt//KHnD7/ McpctLnGItNXAtslpDaETp9/cmezwDgPv0o+/tO9UC1+qLvN4WChUm/AzmGi+9JGZLtY+G60E4KRo uH3bsKra2Y3/kana0UBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pc43G-00ABbK-1j; Tue, 14 Mar 2023 12:46:50 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pc43E-00ABZt-2C for linux-arm-kernel@bombadil.infradead.org; Tue, 14 Mar 2023 12:46:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=KAVmrX22cxOZ+bGCn0Rwx9dmOTGJWa/OgCfOrhXF/KM=; b=LSphZJ4O3oRQeRdAd6QyCaSPGY 8ibNYAv8NkO+PkZEB07ulanUY83bhpXbA9SecrdtYxTHuLmEhWl8wANGLgDuffqZ2Pk9O9RGYhMnd VZsKA1GihTS3B+abGqINWunMpHM4qQhpcYSEJDeNQNE07/udy2TM/xYsaQgr4pGC032yUmVv7IHnV iUwr68b5jBkXWGsahIO5uqTR2azwAnpwiXtAMTAmgipxDZGAkOo5cQ0YX3Xl6yJTvDKOq0uSWcgEx 1EARVKOwZJ8XKfx+M9obaDl3wgZKhR3SazVU/4JtzQ1V1LDtEgbzof7z++Ol66Qbk1Ax5BkA6+u8Q OKv23TFQ==; Received: from smtp-8fac.mail.infomaniak.ch ([2001:1600:4:17::8fac]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pc1pY-001kE7-2j for linux-arm-kernel@lists.infradead.org; Tue, 14 Mar 2023 10:24:35 +0000 Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4v24kpzMqQVx; Tue, 14 Mar 2023 11:24:31 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4t5pvqz2MRS; Tue, 14 Mar 2023 11:24:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789471; bh=yjauXskh+CkHXfC8KZ7Eeurcqsbo5x0x4cTYoo6F1jE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vXP4QWHLa9idoqMDT5/Ep/tX56a1L2TqWewujneSIf8HeWd17eArxMxYTX80qdI+Q MgFR5aDovTBT8VVEq+5Uc/zN3rR55RrDeRfZ2m0kLqzVhdEszFDRWTuJFGI5NZalXs EaVjiMDDy6aenl54y04XJaVeW/E5asuoAePa4dbg= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 17/23] arm64: dts: colibri-imx8x: Set thermal thresholds Date: Tue, 14 Mar 2023 11:24:03 +0100 Message-Id: <20230314102410.424773-18-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-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-20230314_102433_119766_B8DB497D X-CRM114-Status: UNSURE ( 8.91 ) 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 --- (no changes since v1) 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 2e228c5b8109..1e41965e2d01 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"; +}; + /* On-module I2C */ &i2c0 { #address-cells = <1>;