Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp239598rwb; Tue, 4 Oct 2022 03:26:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7YZyFN3Ni9NlA2pMZFPkrgxqkRluXVyT1CD77tmg5Qhl6pdjJiuTIHANZBs2c1NaKY2109 X-Received: by 2002:a17:90a:eac5:b0:20a:6183:aa11 with SMTP id ev5-20020a17090aeac500b0020a6183aa11mr16589496pjb.183.1664879159948; Tue, 04 Oct 2022 03:25:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664879159; cv=none; d=google.com; s=arc-20160816; b=ayDsEp6V60ci5l6UwsO2PrxHoXFbaQgGl0LgKd8andY1S3t7He3VHeqOjhDD5Ypol/ W0XKE0OvQ6sA3qj+Gdtp/25gj7DR+7Z6QWwg3Paa0cBFdPHpsyuHE1xLCMOTisUsWlyk FWSSjsB87SiiW1s/tJNjx+hTgWepotwXiT7swU7OBroWVwX8Hv4ajV/W0VSvgFFj4poz icWT2hA0pDA5QEe9q22UGRTCXQEWxqZ6fT2gmlx35SacuiGyq0fGC4whdOpaOztwfUHq FJCkU6X6hvhwCa3Od+Q2YvRNlBbtIHKhw0VgR25RY+obThef6i/htKY2JdDBaUWGEkRy Q82g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=BloqKd6NAIvqrSiSmUgDRaqMds0uLArY/YBt5zObz4I=; b=YApFR3k3GUK9FC5AOxm3b9oNDU+ZDZkm1KOAZ8zpaZB/GiNaVEvKM9OR6wP5E4YYkw Q3MXIhzq8IB1RXwlTd7Yz4KAmAxpREhbyFOlKb5kMBFHbssoUOKD7sCYxY7BAIYoj2Gh zCoF8/AjimtAQhQhAsmnxdsalQM8NQMTiW8fgtS1Xk+Z03Wcl6/OSUhyki19rgq2epoO PhEnM/4AENo0LRCIQ3Mu8nd6kf4VUAULJXBblQwNqAxHuccXfKtwC8gQM+LRMyWmgTHu z8QYgtiVN4Cf5POKy9QJHNs+dN0T3UNOKuR2p5yIcmwHqKMD9z/uimWCxMF3zHfYNdN7 xSFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=4cjvYR+Z; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q6-20020a635c06000000b0043a107cd09esi10892035pgb.377.2022.10.04.03.25.44; Tue, 04 Oct 2022 03:25:59 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=4cjvYR+Z; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230088AbiJDKMi (ORCPT + 99 others); Tue, 4 Oct 2022 06:12:38 -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-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: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 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 = <0>; thermal-sensors = <&thermal 1>; sustainable-power = <5000>; + status = "disabled"; trips {}; cooling-maps {}; }; @@ -1200,6 +1201,7 @@ tzts2: tzts2 { polling-delay = <0>; thermal-sensors = <&thermal 2>; sustainable-power = <5000>; + status = "disabled"; trips {}; cooling-maps {}; }; @@ -1209,6 +1211,7 @@ tzts3: tzts3 { polling-delay = <0>; thermal-sensors = <&thermal 3>; sustainable-power = <5000>; + status = "disabled"; trips {}; cooling-maps {}; }; @@ -1218,6 +1221,7 @@ tzts4: tzts4 { polling-delay = <0>; thermal-sensors = <&thermal 4>; sustainable-power = <5000>; + status = "disabled"; trips {}; cooling-maps {}; }; @@ -1227,6 +1231,7 @@ tzts5: tzts5 { polling-delay = <0>; thermal-sensors = <&thermal 5>; sustainable-power = <5000>; + status = "disabled"; trips {}; cooling-maps {}; }; @@ -1236,6 +1241,7 @@ tztsABB: tztsABB { polling-delay = <0>; thermal-sensors = <&thermal 6>; sustainable-power = <5000>; + status = "disabled"; trips {}; cooling-maps {}; }; -- 2.37.3