From patchwork Mon Aug 26 22:15:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13778595 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 366C4C5472C for ; Mon, 26 Aug 2024 22:18:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=y5t2Q9VHKe5OHr6FJPldfu/x63AecBEgBtfvue7SvJU=; b=dIDhhXAmSNpJKyPF2Ks6tse4QA nJsfp8lOJdgZv+XDTzJf1dQrut4FxYXM0A8hTtSxEhqeGhEiCqiKmiFDU74/abH5i36ks9f6hHRyV qpPPUfaKmkffdYtIfb3kNDOqCVtaebdhcMOeDLARG5S/xWJdi1FfJrXWcBo0OMGBaXlEjI5QjotK2 KyFaAiywGq6BWtnq9KFIUEeCY5OamMBFsLuqy3jGoTA2nlODJbXgbySC2/OENL0ztGjkFFstqgl8l xfL1RUWQuR7ihOrsq0umpHR4LgS3JHvnaKXelod24F3R3+WecAAjrlUZMJEHlyfQBI+dVOpISDPaF lGGYOVWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sii2d-00000008yMP-2P9v; Mon, 26 Aug 2024 22:18:27 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sii05-00000008xoW-2O4a for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 22:15:50 +0000 Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 67B391FB25; Tue, 27 Aug 2024 00:15:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1724710547; bh=y5t2Q9VHKe5OHr6FJPldfu/x63AecBEgBtfvue7SvJU=; h=From:To:Subject; b=T571HiBwl1OMA0XBX15tuCfyDKJnrnn1ZM+hIbqQC0NLV1W+4mj7ITmyStc87c+IH AJFa9Gs57aLIJKqx44MYOxyKF56LjFMU6J8uqPVAIDPt60WrcZiKfpzmX4rb3r3b7q 5NBimdY4mk+GmT4enBrjufjvMzT3L8HXoOTV5xbBmBdewy91mmN6o3qCtSEsCfmCM8 +KPBKnJi7J9vPATcyYMLFUeWVgzEuyYSmjY2W47HeiFocCWo6S7LbtlefbdxjLFbl1 WBGomGTU8mLvJ6KOWfaSOsCbS61+TKTrezoHK5LWMjhPCcJHngMCEOTmdcqWoP+A/f QElho1ACDSXCg== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Andrejs Cainikovs , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Francesco Dolcini Subject: [PATCH v1 2/5] arm64: dts: imx8-apalis: Set thermal thresholds Date: Tue, 27 Aug 2024 00:15:38 +0200 Message-Id: <20240826221541.15669-3-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240826221541.15669-1-francesco@dolcini.it> References: <20240826221541.15669-1-francesco@dolcini.it> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_151549_803480_891A25E4 X-CRM114-Status: UNSURE ( 6.82 ) 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: Andrejs Cainikovs 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: Andrejs Cainikovs Signed-off-by: Francesco Dolcini --- .../boot/dts/freescale/imx8-apalis-v1.1.dtsi | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi index 160153853b68..e53683e49e03 100644 --- a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi @@ -239,6 +239,30 @@ &adc1 { /* TODO: Asynchronous Sample Rate Converter (ASRC) */ +&cpu_alert0 { + temperature = <95000>; +}; + +&cpu_alert1 { + temperature = <95000>; +}; + +&cpu_crit0 { + temperature = <105000>; +}; + +&cpu_crit1 { + temperature = <105000>; +}; + +&drc_alert0 { + temperature = <95000>; +}; + +&drc_crit0 { + temperature = <105000>; +}; + /* Apalis ETH1 */ &fec1 { pinctrl-names = "default", "sleep"; @@ -285,6 +309,22 @@ &flexcan3 { /* TODO: Apalis HDMI1 */ +&gpu_alert0 { + temperature = <95000>; +}; + +&gpu_alert1 { + temperature = <95000>; +}; + +&gpu_crit0 { + temperature = <105000>; +}; + +&gpu_crit1 { + temperature = <105000>; +}; + /* On-module I2C */ &i2c1 { pinctrl-names = "default";