From nobody Sat Sep 21 11:31:04 2024 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29946C433FE for ; Tue, 4 Oct 2022 10:12:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230060AbiJDKMj (ORCPT ); Tue, 4 Oct 2022 06:12:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229794AbiJDKMa (ORCPT ); Tue, 4 Oct 2022 06:12:30 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4665B28E02 for ; Tue, 4 Oct 2022 03:12:28 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id bk15so20551170wrb.13 for ; Tue, 04 Oct 2022 03:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=BloqKd6NAIvqrSiSmUgDRaqMds0uLArY/YBt5zObz4I=; b=4cjvYR+ZpIexqEStMAw9XshGpcQ39DsAXy1EfPd/uHVgYLZHkHyxw9/SjDcvjCGU1v E3gg7c1opMA7J45OYgS4s+ViyljWaU7U6oLfQS5f264o30QIW7PLnxO+nM8nsy5WIEE5 ZyqbZ6ohHYladwfBC8QHiKa5rwOPvkPQ9BkQ9jYNWUe3L1Juu84E/c/CaE2p8gZWZdt+ VJmX8GscKVzG9RNStEJLObuTmTYikvop3uyTdb8jvIyXjlhTxCkVzahrWY0lMyhVru7u Q/unmEfK1S2DrioycCo9NTH8Is2Hru3oIQMsqXoWie3sdV2siFOCRo6O21c6W6LSOpuX e4ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=BloqKd6NAIvqrSiSmUgDRaqMds0uLArY/YBt5zObz4I=; b=t+ysTGsMhogq5XSthE9Jkll9oWN5t46vGH+fHsVZ54RBs4SeM0Fxc6iitgunIK7HpE eQFE/hAcTCB233gPCKxj/NJvASp59bT/FPXMYucHY7h3GWSUCtcJFv7glZco4+w1P8KK nUsQfom6vEhdO0wUcj/sjIokS6bWMUHzqnsQh5S/NKjyLGNqSVyoGBItwgu5SolCA3pT 7Iila55HmPDMlGGGVgjqpDxe/kwtf6sa0sE8ptP9VoxRKpCzYz7Uf8dRbrwXmwaR2Sxy EfZ2VkorNUmJgaqbJKEvLvbYFm84YbT+ouzsXrFmkjDlzw5Q7LMKyGJD8ctxDdLVntzc 6PNQ== X-Gm-Message-State: ACrzQf0idkyDc/Zkjl2Iz8Ap3cluuL5+P13hSFYFibFQNEQBWjMuRacY 0HcFyRiKt8JaCyOeWW4bQ0aO9A== X-Google-Smtp-Source: AMsMyM4z0GVOpeWluvLFxqq0rLN9WkcvWHxSt6dxe4VukX794D7JBWk+aaRPxtXyhslKxe3oLPtscQ== X-Received: by 2002:a5d:6da9:0:b0:22e:53bd:31c1 with SMTP id u9-20020a5d6da9000000b0022e53bd31c1mr1110802wrs.358.1664878346581; Tue, 04 Oct 2022 03:12:26 -0700 (PDT) Received: from localhost.localdomain (210.145.15.109.rev.sfr.net. [109.15.145.210]) by smtp.googlemail.com with ESMTPSA id y14-20020adfe6ce000000b0022c96d3b6f2sm15252214wrm.54.2022.10.04.03.12.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 03:12:26 -0700 (PDT) From: Amjad Ouled-Ameur To: Rob Herring , Krzysztof Kozlowski , Matthias Brugger Cc: Amjad Ouled-Ameur , linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3] arm64: dts: mediatek: mt8183: disable thermal zones without trips. Date: Tue, 4 Oct 2022 12:11:30 +0200 Message-Id: <20221004101130.17256-1-aouledameur@baylibre.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Thermal zones without trip point are not registered by thermal core. tzts1 ~ tzts6 zones of mt8183 were intially introduced for test-purpose only. Disable the zones above and keep only cpu_thermal enabled. Signed-off-by: Amjad Ouled-Ameur --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts= /mediatek/mt8183.dtsi index 9d32871973a2..53f7a0fbaa88 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -1191,6 +1191,7 @@ tzts1: tzts1 { polling-delay =3D <0>; thermal-sensors =3D <&thermal 1>; sustainable-power =3D <5000>; + status =3D "disabled"; trips {}; cooling-maps {}; }; @@ -1200,6 +1201,7 @@ tzts2: tzts2 { polling-delay =3D <0>; thermal-sensors =3D <&thermal 2>; sustainable-power =3D <5000>; + status =3D "disabled"; trips {}; cooling-maps {}; }; @@ -1209,6 +1211,7 @@ tzts3: tzts3 { polling-delay =3D <0>; thermal-sensors =3D <&thermal 3>; sustainable-power =3D <5000>; + status =3D "disabled"; trips {}; cooling-maps {}; }; @@ -1218,6 +1221,7 @@ tzts4: tzts4 { polling-delay =3D <0>; thermal-sensors =3D <&thermal 4>; sustainable-power =3D <5000>; + status =3D "disabled"; trips {}; cooling-maps {}; }; @@ -1227,6 +1231,7 @@ tzts5: tzts5 { polling-delay =3D <0>; thermal-sensors =3D <&thermal 5>; sustainable-power =3D <5000>; + status =3D "disabled"; trips {}; cooling-maps {}; }; @@ -1236,6 +1241,7 @@ tztsABB: tztsABB { polling-delay =3D <0>; thermal-sensors =3D <&thermal 6>; sustainable-power =3D <5000>; + status =3D "disabled"; trips {}; cooling-maps {}; }; --=20 2.37.3