From patchwork Wed Jun 22 16:44:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 12891152 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 D8FBBC43334 for ; Wed, 22 Jun 2022 16:45:29 +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: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:In-Reply-To:References: List-Owner; bh=h+MOFuAozBeqoVHWyllMifL7ZGZMEOpt7ofxex+tE3Q=; b=5BTQW9GnT+caH3 2rtQixYfQJ9MFiWP6UjOM94bfBK8/wySfaNf6Lo70PnAyM5IvSNWG1/r1AJqyvz35pYmg9XlypGbH qZ5Uilh6ZUhptpjoTr4rkuf7H7Vcl3DnLc3Tori2+eNmb9e0zs809xM8oywHkfhSkAe3g/qI40INx NKg6Kchnzk+b+7alI9+GDKesBtri1zPmM81xBA476qBOgsZWaYpWqtLPM2bDcP3oJMeyGRD+zDt/Y iOZXK1oGukAH+WRTQtPq+zngs1OaXl6oexeqE/NFVvSMb8QqAushy3ZvjqfmdMJ0nYV5PqLQ3sxOY zRXOJbvZFf9gNZQruCsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o43Ss-00BaYD-3r; Wed, 22 Jun 2022 16:44:26 +0000 Received: from smtp-190e.mail.infomaniak.ch ([185.125.25.14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o43So-00BaWZ-8d for linux-arm-kernel@lists.infradead.org; Wed, 22 Jun 2022 16:44:24 +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 4LSq3L32bczMqwg4; Wed, 22 Jun 2022 18:44:14 +0200 (CEST) Received: from philippe-pc.toradex.int (unknown [31.10.206.125]) by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4LSq3J1hSjzlqV0V; Wed, 22 Jun 2022 18:44:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1655916254; bh=16ktisfcvBgIYLREi0tcTzW4w4C5ndQSyEJGx6PC66Q=; h=From:To:Cc:Subject:Date:From; b=vLCYOSQp/JhOUYEuL2eekc5smKl3lsAvjtBe8HdlSycjBnvJI0SvWlE4KLQ/6Chum B9jAJMyb9WO04DPm1g/yk/i3Dxuv6mAkzRRLSC6Hgd0KE8FsuNo+5+uQqQ6hFeMpPi qVwwL5zo3byiZpNN5/1tlB/pjHA3HWmNI0+ZNnoY= From: Philippe Schenker To: shawnguo@kernel.org, devicetree@vger.kernel.org Cc: Philippe Schenker , Francesco Dolcini , Fabio Estevam , Krzysztof Kozlowski , Marcel Ziswiler , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: imx8m{m,p}-verdin: use IT temperatures Date: Wed, 22 Jun 2022 18:44:10 +0200 Message-Id: <20220622164410.457249-1-dev@pschenker.ch> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220622_094422_775681_366D1813 X-CRM114-Status: UNSURE ( 7.48 ) 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 Use IT temperature threshold for critical/passive trip point on Verdin iMX8M Plus and Mini. Signed-off-by: Philippe Schenker Reviewed-by: Francesco Dolcini --- arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 8 ++++++++ arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi index eafa88d980b3..a819ed43e727 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi @@ -154,6 +154,14 @@ &A53_3 { cpu-supply = <®_vdd_arm>; }; +&cpu_alert0 { + temperature = <95000>; +}; + +&cpu_crit0 { + temperature = <105000>; +}; + &ddrc { operating-points-v2 = <&ddrc_opp_table>; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi index fb17e329cd37..7d8d8df569c5 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi @@ -146,6 +146,14 @@ reserved-memory { }; }; +&cpu_alert0 { + temperature = <95000>; +}; + +&cpu_crit0 { + temperature = <105000>; +}; + /* Verdin SPI_1 */ &ecspi1 { #address-cells = <1>;