From mboxrd@z Thu Jan 1 00:00:00 1970 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 7AA32CA0EF8 for ; Thu, 21 Aug 2025 09:40:08 +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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RfPOWbVRUC2ftEQ8/ZhtZEj1I9GSOS1lR3GmPpWbzms=; b=Tik3ML8qPBkx5TSSEgM0Dv20c9 ah3tNLTQoxhfj0fCOE3+2x8yM33+ewQqFKcxm/vDP1FqivjTSjnjGOxnelI4757TACRWKfe93eNs6 tG4xS+aByjLlVUk6hEGw3g0CdXlcp6dqpp3ApO+iq2prf6Xh1eCDKYfjPOAGKKy3iS+3eJj1y0AyQ VcpAVkLLJuQVgmpBC8NgvUbLC8H7jeIVNP5wKQhU4mk9zaAtKINzMUjYNcYzdb2Xq+4LDuf9mY2Ej loLn9xIgWNL/RJ6QEzn5weGccdf9CJ6Sm1Kns/mElRhnGev0aDLSZjZLn/RqbKN5psQl3Ivb8ZLDu 8meZGRfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1up1lk-0000000GQBk-2Myi; Thu, 21 Aug 2025 09:39:40 +0000 Received: from mail-m16.yeah.net ([220.197.32.19]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uozQR-0000000G3kU-1cVS for linux-arm-kernel@lists.infradead.org; Thu, 21 Aug 2025 07:09:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yeah.net; s=s110527; h=Date:From:To:Subject:Message-ID:MIME-Version: Content-Type; bh=RfPOWbVRUC2ftEQ8/ZhtZEj1I9GSOS1lR3GmPpWbzms=; b=B4Ps3rxA5lTLKOMX9qz4KLmfQrRInSuwWyASzKpE8BzdORqUVxYMRs7LRTHMd7 SAziTySrOi108CliGQfaDT4Jng65U7PMGDioaXIl/eTKtTdsMJYgjIf4kMP7bXMD JW8f3za/C4lYET9Jp2+PH+kM1G2bjYBqw+5h88X9xYpJY= Received: from dragon (unknown []) by gzsmtp1 (Coremail) with SMTP id Mc8vCgAHe3sUxqZoZKcNAw--.5607S3; Thu, 21 Aug 2025 15:09:10 +0800 (CST) Date: Thu, 21 Aug 2025 15:09:08 +0800 From: Shawn Guo To: Martin Kepplinger Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, kernel@pengutronix.de, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] arm64: dts: imx8mp: add idle cooling devices to cpu core Message-ID: References: <20250715055903.1806961-1-martink@posteo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250715055903.1806961-1-martink@posteo.de> X-CM-TRANSID: Mc8vCgAHe3sUxqZoZKcNAw--.5607S3 X-Coremail-Antispam: 1Uf129KBjvJXoW7tF13XF18WFy8Xw1Uuw48JFb_yoW8ZrWUpr 48uwn5W3Wvgr47C3yaqwnYkrnY9ws5tFW5Wr12gryfK345Zr90gayYyF13Wr18Xw18ua1f ZF4avryI9r4DJaDanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07UyCJQUUUUU= X-Originating-IP: [117.81.240.235] X-CM-SenderInfo: pvkd40hjxrjqh1hdxhhqhw/1tbiNhZ632imxhaGowAA3+ X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250821_000931_758835_26A5D5B4 X-CRM114-Status: GOOD ( 16.61 ) 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 On Tue, Jul 15, 2025 at 05:59:22AM +0000, Martin Kepplinger wrote: > The thermal framework can use the cpu-idle-states as > described for imx8mp as an alternative or in parallel to > cpufreq. > > Add the DT node to the cpu so the cooling devices will be present > and the thermal zone descriptions can use them. > > Signed-off-by: Martin Kepplinger > --- > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > index bb24dba7338ea..66e1a27d6eed9 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -80,6 +80,11 @@ A53_0: cpu@0 { > operating-points-v2 = <&a53_opp_table>; > #cooling-cells = <2>; > cpu-idle-states = <&cpu_pd_wait>; > + cpu0_therm: thermal-idle { Have a newline between properties and child node. Shawn > + #cooling-cells = <2>; > + duration-us = <10000>; > + exit-latency-us = <700>; > + }; > }; > > A53_1: cpu@1 { > @@ -98,6 +103,11 @@ A53_1: cpu@1 { > operating-points-v2 = <&a53_opp_table>; > #cooling-cells = <2>; > cpu-idle-states = <&cpu_pd_wait>; > + cpu1_therm: thermal-idle { > + #cooling-cells = <2>; > + duration-us = <10000>; > + exit-latency-us = <700>; > + }; > }; > > A53_2: cpu@2 { > @@ -116,6 +126,11 @@ A53_2: cpu@2 { > operating-points-v2 = <&a53_opp_table>; > #cooling-cells = <2>; > cpu-idle-states = <&cpu_pd_wait>; > + cpu2_therm: thermal-idle { > + #cooling-cells = <2>; > + duration-us = <10000>; > + exit-latency-us = <700>; > + }; > }; > > A53_3: cpu@3 { > @@ -134,6 +149,11 @@ A53_3: cpu@3 { > operating-points-v2 = <&a53_opp_table>; > #cooling-cells = <2>; > cpu-idle-states = <&cpu_pd_wait>; > + cpu3_therm: thermal-idle { > + #cooling-cells = <2>; > + duration-us = <10000>; > + exit-latency-us = <700>; > + }; > }; > > A53_L2: l2-cache0 { > -- > 2.39.5 >