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: 13778582 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9ED1219D06A for ; Mon, 26 Aug 2024 22:15:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724710551; cv=none; b=ffjLjJJgicmZeRocVGAVx5YSB+sDcphf13ZNhcTolnxOvCKZRvZHWcC41qBBVQ8Gpqd2C2qYkMSGVpc8RjHGMYRjZ2sfJa8E7N3dyJpVWu9wkq8D1rFe3KswdAT9a7iXDc6Pw+BiSVrKgMSGI3VQhUBfzaGAJEnJWmpZ4pzToRY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724710551; c=relaxed/simple; bh=rfzqc55zCdpfzcYny2wFiR0kjfUF+JfoU3QQxX0h6dI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZspyjUUBPdSahfaznA9uZjkSDXkyPCIqVR2/FUhASM2VRVO7D8We1YKOjjJISjD1YpQlhPMtGp2mIeTyFajY019xxybbVAmTK4c42AQhc5BxdBDEFkF0Jst8MpuIlNBNnLW+TQLtoIghlzgl6Cjzsf/miMxtraCVoaEyTiNsSjE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=T571HiBw; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="T571HiBw" 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> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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";