Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp515808rwd; Wed, 31 May 2023 01:20:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6UNdoYZPsfQZZe9hi10BMWab9nwkMGEOwbY3eTFhv82gQ2AUardiOmr10yENI77PHPqAAw X-Received: by 2002:a05:6870:e7d6:b0:19e:b844:9480 with SMTP id q22-20020a056870e7d600b0019eb8449480mr2106341oak.18.1685521218768; Wed, 31 May 2023 01:20:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685521218; cv=none; d=google.com; s=arc-20160816; b=I6q3vpkFo3cuSRJ6gvBSqz3F/zH7BlGwXcpdi53HzMUnJomiCRFB8qXLZCxtN1rSq0 Q9qXNGG3aHw2Y5skbJqxlYFtOxibE023wx7kaTmK2bp577X35YoZVdOUrxsCJPW0tCV4 DJcy/+rmYhvGSHGtoIyWZfPClB6Y1EJo3WW+63HI2+32v2MGOIfY+0ShQA0sirwlRsGG zP9w66XjVGgCyUZBM+lJmf83sbLWcF1lWv9orjovf+VWo98B4Kv2zVPIfdavSRzhVEVa zVlX3pWBxHVhf89ApD2yeEZYmNhT7Fx2Qhaxve6FBrgx9ISMXL9jwMtwTjaT3fB1eg+A ydiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=FWRIv7ahwL+JVt40YGh2V+e+QRGkb/3rzTT1hhmniWo=; b=feMAJyaeRknMD9Z+8948GVV9yobAoKWZ/iBEA2uLlZE3hu3Vthptsm9ctKXWq/IkIS Od0JXgT/6EHks/lxrU//V5+dD8mbquWDvgd3SoxeuRuv2Vk+zh1K5/4AsZSeusQoLzTz 0ih69CeilB/97W1WH067AUB7Vr6Ll5rf4EiteOYcs5pW6HDTcyg+AfyVu1Oi2N92tNTb 0aZ3T6yYGMsWoyrswXsxB/hpCl6yRQz+Gk5WpoBfP7vlhlDDfVKlzR5ofNAS9wPEAout b3JNP8bSi+Ao0vdtZgJ8O7v3WqSfObxECmbWTB4ElJrNf9cwXKCH1Xdzmh2ZtmSnwCU7 uULA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JHcGb3jq; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p124-20020a622982000000b0064feff26183si234286pfp.3.2023.05.31.01.20.06; Wed, 31 May 2023 01:20:18 -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=@chromium.org header.s=google header.b=JHcGb3jq; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229935AbjEaHpX (ORCPT + 99 others); Wed, 31 May 2023 03:45:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232342AbjEaHpU (ORCPT ); Wed, 31 May 2023 03:45:20 -0400 Received: from mail-vk1-xa35.google.com (mail-vk1-xa35.google.com [IPv6:2607:f8b0:4864:20::a35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48DAB113 for ; Wed, 31 May 2023 00:45:19 -0700 (PDT) Received: by mail-vk1-xa35.google.com with SMTP id 71dfb90a1353d-456fa6f1f79so1599978e0c.0 for ; Wed, 31 May 2023 00:45:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1685519118; x=1688111118; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FWRIv7ahwL+JVt40YGh2V+e+QRGkb/3rzTT1hhmniWo=; b=JHcGb3jqfdzeEPXj3RBeei+OqeOA4cy537d2XrfvMglw1E//7aPkV7C1Rf57VQrraV Fr6FBCsz3VhF3QiR3PaMMHxq0WrBrXuD0DQqmMqwWMr3NJZw76ILzOPXRpeYanlPBzoG bEw/PQDaQQiGd9H4j7jbuT61Dg49CyT/34Qwk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685519118; x=1688111118; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FWRIv7ahwL+JVt40YGh2V+e+QRGkb/3rzTT1hhmniWo=; b=Uy8B4u8VtdDm2yZK6YEdQm1KQxB1mkmg2WHg3QlwbxDRyT5xN7zsOMV68IRU2msT7g 5LRJ3QSRNHNewbkm9MsB/CAo5tilUSu34R/DOXd4gURfNjalR8tmTQJeO1ckMVmwSF/Q UF8yLiat4++KKjYZyqjCcuV2Hd6RiuoHCN45JGXTdk73M5ujdmonXsphWsZW7k5cNBPq FO/l7jInJ9TR90ZWh1aKH2ZmZ3BUmvXTauCUQafgfGDdCjz+PTvXMSRZhkWNqZim+OcZ newWI9rJXsYjl/xsC+vP7fF1VGNmP7W9AS+YBM3eX6nlVhTiqncyMzVgqN52t3Y+3mhP XpcQ== X-Gm-Message-State: AC+VfDxINCAZU1L4g5wMnGdWOyE6o71YsaN+KLCES3DQbI6jQcIDNbsy U3WLMikElDj72HVVocLjfGFPiq7OOLbrZoBvoPFhSQ== X-Received: by 2002:a05:6102:3015:b0:437:df4f:ac81 with SMTP id s21-20020a056102301500b00437df4fac81mr1624221vsa.29.1685519118389; Wed, 31 May 2023 00:45:18 -0700 (PDT) MIME-Version: 1.0 References: <20230530195132.2286163-1-bero@baylibre.com> <20230530195132.2286163-5-bero@baylibre.com> In-Reply-To: <20230530195132.2286163-5-bero@baylibre.com> From: Chen-Yu Tsai Date: Wed, 31 May 2023 15:45:07 +0800 Message-ID: Subject: Re: [PATCH v4 4/5] arm64: dts: mediatek: mt8192: Add thermal nodes and thermal zones To: =?UTF-8?Q?Bernhard_Rosenkr=C3=A4nzer?= 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, james.lo@mediatek.com, rex-bc.chen@mediatek.com, nfraprado@collabora.com, abailon@baylibre.com, amergnat@baylibre.com, khilman@baylibre.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 Wed, May 31, 2023 at 3:51=E2=80=AFAM Bernhard Rosenkr=C3=A4nzer 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 > Reviewed-by: N=C3=ADcolas F. R. A. Prado > [bero@baylibre.com: cosmetic changes, reduce lvts_ap size] > Signed-off-by: Bernhard Rosenkr=C3=A4nzer > --- > 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/d= ts/mediatek/mt8192.dtsi > index 65bc8b4046211..82d6629e38c26 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi > @@ -14,6 +14,8 @@ > #include > #include > #include > +#include > +#include > > / { > compatible =3D "mediatek,mt8192"; > @@ -71,6 +73,7 @@ cpu0: cpu@0 { > d-cache-sets =3D <128>; > next-level-cache =3D <&l2_0>; > capacity-dmips-mhz =3D <530>; > + #cooling-cells =3D <2>; FYI these changes (for all the CPU cores) will conflict with the cpufreq patch that Matthias just merged. ChenYu