Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1589866rwr; Wed, 3 May 2023 18:23:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5v+8fncPSj65nbe1g9LL4P1DJ1l5tHqPVXzWkHuoaPfsex8EVnSswTDUwxxe6fAOKuk68C X-Received: by 2002:a05:6a20:12c9:b0:fd:d145:a694 with SMTP id v9-20020a056a2012c900b000fdd145a694mr654315pzg.31.1683163412963; Wed, 03 May 2023 18:23:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683163412; cv=none; d=google.com; s=arc-20160816; b=q3MVFWduiMUe06J3O7vyH99SH02voKmrlV4UORIswmvRgzBZELFSyqZI7GAYsYgmAQ 1T+giyh6rzos8EPEcTDKsOLIhm7gOe30lIYdSGM8GmZ7Zbu0X3wNQEOIfd9GIFvKI1e9 pLeAUBXRQ1aq1g35+Gm4zcD6Ms/kpmdNtxx0a/GgGOAofu4EOwFQ3Ptx9kn1S4qTZFpx PcfA8L4lCJGQTmoaHcO+POnZbCWMGrlKCT4b4+ZNzW0Im1MlnyjvGVWFaTm1BElG0HSu 2kiQCk9x0V6cy2FW8jWiY6lRd3nq00D9q/Kp1gIPLC4fTKVFguR5hEnDHwVS2abToJso bedw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=WwuV3Q+alcTp0k0sz09MYCJ8ftPD6InOaS26xPhsiVw=; b=xXmVxN5Du+KhIDdSYU5zSgsRA957FtyIKPpmSObqrZnV4PqgwyB1abOwkbLHLvGa1W gDL7KjkAGwrFDsYAbQhr8O2lhQNpDK91jJgWtMw+sCaQk9qjGTwai+0uWoShv1zgI7FR KIY8wO526xB08Hz3hQDFCsyFglk95EzwQipjoq3uoPvvGgDMf8sbmU907CfaYbAHYlRx cbbLm+kO1LAyHqE3zqIV2293cZuumiDT2u7pN8nrVV9VoT4w9/eOPSh7Rm4s1HcKKl+A 8/aBAfNcqBm82iUk0rekPi7oRHSVhDOyX56jGdmEpdr89W54d4wK71v8WKWu4UBLXTo/ IUkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="GKd0Wre/"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u145-20020a627997000000b006374bd74796si1958519pfc.379.2023.05.03.18.23.21; Wed, 03 May 2023 18:23:32 -0700 (PDT) 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=@collabora.com header.s=mail header.b="GKd0Wre/"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229645AbjEDAxN (ORCPT + 99 others); Wed, 3 May 2023 20:53:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbjEDAxM (ORCPT ); Wed, 3 May 2023 20:53:12 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63FD1118; Wed, 3 May 2023 17:53:11 -0700 (PDT) Received: from notapiano (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id CE49B66029DE; Thu, 4 May 2023 01:53:07 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1683161590; bh=Pf9aKXYua5q4lihd+sJeC03bnAklA25fE7ZxJ5TN248=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GKd0Wre/cMxtHs+HjhiiB6yPf21bBk1C4udeK7iSLm2yVHoyspMQ+gVsd7Odb7fOo QlfUH86jJ8faThvsiDFlg2e7kmQZ7S0dDx1lkECpZrJiU86XB0feoipLtNRVeeuWpE 5/X88U7TvQa6FC79cVAUWqnYELHu2NTmC2ai2Be610aJRiITK2b5b+vWLeC15y1ixA yqBgOOdkQ1w/SrJDffBYxsfPF+Akmi2b8Ciji9UJXYrk6GNSWPTaP46VLTSfm4asHL m/5r1sa3Mx07tLSY0SLgDPddX9lV07b39i6ieZOo3VSxYkyeMmorH0Bsr6NmFvFLzF HrqBUUhRpEUUQ== Date: Wed, 3 May 2023 20:53:03 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: bchihi@baylibre.com Cc: daniel.lezcano@linaro.org, angelogioacchino.delregno@collabora.com, rafael@kernel.org, amitk@kernel.org, rui.zhang@intel.com, matthias.bgg@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, rdunlap@infradead.org, ye.xingchen@zte.com.cn, p.zabel@pengutronix.de, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, wenst@chromium.org, james.lo@mediatek.com, rex-bc.chen@mediatek.com, abailon@baylibre.com, amergnat@baylibre.com, khilman@baylibre.com Subject: Re: [PATCH v2 4/5] arm64: dts: mediatek: mt8192: Add thermal nodes and thermal zones Message-ID: <96157fae-2024-4a8d-9ceb-b0d95ee419d4@notapiano> References: <20230425133052.199767-1-bchihi@baylibre.com> <20230425133052.199767-5-bchihi@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230425133052.199767-5-bchihi@baylibre.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 On Tue, Apr 25, 2023 at 03:30:51PM +0200, bchihi@baylibre.com wrote: > From: Balsam CHIHI > > Add thermal nodes and thermal zones for the mt8192. > The mt8192 SoC has several hotspots around the CPUs. > Specify the targeted temperature threshold to apply the mitigation > and define the associated cooling devices. > > Signed-off-by: Balsam CHIHI > --- > arch/arm64/boot/dts/mediatek/mt8192.dtsi | 454 +++++++++++++++++++++++ > 1 file changed, 454 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi > index 87b91c8feaf96..eb2bd94e0ae86 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi [..] > + cooling-maps { > + map0 { > + trip = <&cpu0_alert>; > + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; Just a nit, but it would be nice to have these aligned (same for others below). In any case, Reviewed-by: N?colas F. R. A. Prado Thanks, N?colas