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: 66216 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp323869wrd; Wed, 8 Mar 2023 05:15:44 -0800 (PST) X-Google-Smtp-Source: AK7set9JCt5t3mwxfOoremjW99q12n5WktCzjNHmeLapZRpYdcMNgLChzi11ecgpNvx7BTasqkaW X-Received: by 2002:a05:6a20:4990:b0:cd:99f:b353 with SMTP id fs16-20020a056a20499000b000cd099fb353mr14909820pzb.14.1678281344579; Wed, 08 Mar 2023 05:15:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678281344; cv=none; d=google.com; s=arc-20160816; b=eV5MtYol4mwO9uck1jQDLJVCqmoz6SA4uU+7a2Tjrmi6PlkSEqppifz37HLjBbQ8HI G3kwZDrZkaX/aFoY2WJtt3xt7BickcfvhUPAz7XORTQIm7rbqFkyMoU9Ctq8NjTan/iB gpnfqoWOo+kDfvckhkRGaMQh+VCH2tfPnXdgSiQufSRjPlP1dHm+gJ0Sapb/AY1AX44h 6j57g5YpIfPL4AJCyfDCoxQajSqqNjjkknrWLK3FhoAK2npWfBG8F8RQ4GClKcMz7mXb VGIcBxGtgVAy2I2kurRQDSHmPTPLjLRpDWPewFZoNmyh82Qbr1O2s9kMvG3CdZtqvb45 cZVg== 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=BDNgZ6gyHjsEwfZrnOTzDHhiIreijunNNam5n2wv00o=; b=s/ucXSeCgcIrn5d98Yld6HUMbeFQPF4r7YbCNsxu5mUJh7qvdQxKxBRQ73xEa8axjb nm4PJboqkiz61lwIn4O/DUQ8RiWqev9z9RX9yZcUjxwQZ1ji0iBl+/I5th606vB6cxtQ QrfNoXlrFmmJn9PixyfbyLbgENpI6yOaNMS44spdVNX8YD5v8QlXMo7u5Rw2ayvZNIum s/T4v7O7N0yS/1ZxZAJQ+GLqKFaS0+oe7gFRBdpjoNXQ5mkbSshX0jcn6dP9JxlGMesu ZkNFWqa687LoMgqtA6hMT4Mpn6pl2EsJrt/mOqQGgoT5qQ9CcX7ZM3+j85WOBl0ycidf 8I1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=UoMW9J5k; 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 r9-20020a63a549000000b00502d75b6681si16211320pgu.228.2023.03.08.05.15.31; Wed, 08 Mar 2023 05:15:44 -0800 (PST) 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=UoMW9J5k; 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 S231218AbjCHNBT (ORCPT + 99 others); Wed, 8 Mar 2023 08:01:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231410AbjCHNAe (ORCPT ); Wed, 8 Mar 2023 08:00:34 -0500 Received: from smtp-8fac.mail.infomaniak.ch (smtp-8fac.mail.infomaniak.ch [IPv6:2001:1600:4:17::8fac]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10F3CBCFF6 for ; Wed, 8 Mar 2023 04:59:56 -0800 (PST) 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-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?1759805539331096987?= X-GMAIL-MSGID: =?utf-8?q?1759805539331096987?= 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";