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: 69449 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677257wrd; Tue, 14 Mar 2023 03:35:39 -0700 (PDT) X-Google-Smtp-Source: AK7set/H1zLD3n8/RsYMTiiYMQh+v/8iwADlLaYZPLip8vLce0IU5RcP0FYAo8O4Ri3znqdGxxpN X-Received: by 2002:a17:90b:2390:b0:23b:32e5:9036 with SMTP id mr16-20020a17090b239000b0023b32e59036mr11109897pjb.17.1678790139416; Tue, 14 Mar 2023 03:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790139; cv=none; d=google.com; s=arc-20160816; b=RTYGS6RtHbcOudE6I+/9qw6UgzE7Sau0FY7mVTg/JNN6s9ALqH13x13vNYVzXuV9e/ WYqmL3gFJScgENTZSPDZNUmrA3JgiHGoP7gIlZ0CY2J+gZuc6hr6NtjIrJfe2iYSomy+ 5r4G28xjZ7brhqt8QBuPy+SPXDXWmXGSWBlgjgT5FDft6u2iucbLnz73qQt0D3wTrHWt z4FPkfYjVvj+SOrxmXN/xE6O6gFWxsQKx9AVXvFf21jZlxiCcokX+nhte9WoDL7LcnIF dkGrnqaNUBpGaaactKbgPkNe37Z/3vofyVKJmxNGr8piF2WJFtPw3zEhUm4yu4RugoAi l4Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KAVmrX22cxOZ+bGCn0Rwx9dmOTGJWa/OgCfOrhXF/KM=; b=ay8sSXIUj/qriGQOBfo6E+qOrpQn0mMWcaWqyLdnUawAjYeqcpi2FVRUeHJYafbwXa ZDZbkWYEu+1jjXuX0s7XCjIySrB2pAkV5FABPBv01ApiJ4fNIA8csxRpSP2onsnRIRf4 NikZbUGQUBDuxprSOi6Zbn+X2J/6oNBi0PpUPYMTLSmPCMRR/JHgexdX0Bs1LikW/vvw IultO8gjuIt4bE8/sd6WNx2DTRpjzXkxz8BFFSLIuNZFhgXKdH5cWTZ0ojbqf0GYhZ6m gaNOqvVU+cK2JQfN4zCn3rjUBYospsz+73gGePBxWmW3T/mx0Rdl9QpMq5ew6RX8hJRy EsOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=vXP4QWHL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a17090a9bc700b0023d422d08c6si527270pjw.27.2023.03.14.03.35.26; Tue, 14 Mar 2023 03:35:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=vXP4QWHL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230423AbjCNK0A (ORCPT + 99 others); Tue, 14 Mar 2023 06:26:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231178AbjCNKZI (ORCPT ); Tue, 14 Mar 2023 06:25:08 -0400 Received: from smtp-42a8.mail.infomaniak.ch (smtp-42a8.mail.infomaniak.ch [IPv6:2001:1600:4:17::42a8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBFD5D51A for ; Tue, 14 Mar 2023 03:24:39 -0700 (PDT) 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-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760339049256103094?= X-GMAIL-MSGID: =?utf-8?q?1760339049256103094?= 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>;