Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7916256rwn; Wed, 14 Sep 2022 06:28:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR7UNL8cK3k6aZ2BYqDQ/awtolD5V2SFQeNjgdDRhDQxOk+07rZDoY4nVq6O3HWxnlAe/7a9 X-Received: by 2002:a17:907:75e7:b0:77a:2378:91bb with SMTP id jz7-20020a17090775e700b0077a237891bbmr17518958ejc.329.1663162080018; Wed, 14 Sep 2022 06:28:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663162080; cv=none; d=google.com; s=arc-20160816; b=nX5hXBKwtsBQhZiiILn0gQ0vo6kAP6v47N0bax+YDYgs6ooapjt134aMXWm2uGGtB7 NTmIt5l4+ibVppTDQQz4fKPDMFP8wzFeRH97V6JCB2PDALg11qUWsRRSpEec7sZThdfT aez3e7xEAe8nsDuS9+NSL7eao/JfPEkYNk8Wm7lmm5R70XMYpzT3J9/iQ6Vl9ILCtddT dX7WuWhZ8yB9HtzniJDSKEnnObRwW9rnkuR8I/fofhvLXL7eAvwh1S0fpkVJqgFZazn9 RIdlGMSnHEBrC0/OAHIQfyUuiL9XA73Tw+1DWAijqnXPA7/xTAEMWPxIHMkg51EPiVx4 mPxg== 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=kK+4cuyn2x8bZa+3XjGCMKovnOpMsppyq3qKsdF2ffg=; b=sv+7TLklDVuj5RBnhGdDaw5J3OCYOjbpbabQXFT8GAHqRrNVYh9NGjBee6oZgv9p3e q68utBwcAdun4hBEdursqJUtWSlAVcTtgfmCyJQa4KNPrEZFgX4IAF3YmxlhItvJACXZ e9bf9wl0jz5Oid2CYaUux8XVvjVxzd2GzpgdGgrz/4muHCeRL68I1FBqMHOvgLsQK+lq wD63BC7cWTrO4SviScOEkQtVD9O6X9tVYnZKPJkP3Uw67ZZW+osELDffpwS4K54X/CMk 3Lnltokdaqm+iL9QJhYGqmHUNaZS5PlksKFsehSbw4UNeTj3mfK0RM+yeegS6EjvuNGH 3SEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=QsXOsr8p; 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 w13-20020a50d78d000000b0044da16b4e30si10223497edi.306.2022.09.14.06.27.33; Wed, 14 Sep 2022 06:28:00 -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=QsXOsr8p; 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 S229757AbiINNOW (ORCPT + 99 others); Wed, 14 Sep 2022 09:14:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbiINNOU (ORCPT ); Wed, 14 Sep 2022 09:14:20 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 973AD50071 for ; Wed, 14 Sep 2022 06:14:18 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id t7so25605873wrm.10 for ; Wed, 14 Sep 2022 06:14:18 -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=kK+4cuyn2x8bZa+3XjGCMKovnOpMsppyq3qKsdF2ffg=; b=QsXOsr8pctoL+dvXPhfMqitnyDpitQBYg6IdWPYLziAKQS/2z68AXxL7Y8ZMgltcne aRWXDvzTef1JmAU1pf2KgQ3C64iplqyg/YeTwBCHmNcJeKXhHUS3gjMMoatV4usMNXqh jT1KbXksezwoec5WtRhMr+2YINIFL+hwCazWfsb7so7TtN26A/d+KthKpin0bK3PZZ9o azLTC/dob2rz2LpTSVPEsaPiJMZeiDbRL6aVLY1oFMG1mksf/l/OxB+yfHxzOJ6kSNt7 Zl6U1orgyaCHeeD3igXHWtWyXRcLahQ+59syyXa6vDU8ReDYj8jIy586OOsSRZq9fCCM FsQw== 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=kK+4cuyn2x8bZa+3XjGCMKovnOpMsppyq3qKsdF2ffg=; b=v8A3JNcsOlnZbOSOCHlyjioKdCZzHvXE05iRware4Rx4OJ1cJfCTi1+B6a4dniLwil 6+o5Ng4Mb38fZHvwqvqbukZFfy9ThrsFdFeLpNkLCsX5lllU73aA2ENOhesv7JXAxhyl DL0C1qHsTC0y0AxXqTHQRLJ6AIM69crvXjMzky5HFLEAAzmy7FxsL8Y+7kHbLFdA0bTi WqYFb//WomkK5i9mUMjFvBZ3mX6ry61BGSXfbJBYrzVW9ZuQJxsLbeJ+F+Va5RfVipzT itt8yqo1Tygh0DLkzFyp4IADBMWP+GrsnxHKCc7dWCdavK9eS7f+mWj1gwMepUgLKVvd s2TA== X-Gm-Message-State: ACgBeo36l/u0DA0pXIw6lG2wWMPEvIBcY1emddbn7NvxEjfs/zmMbIg6 QtZ1IQUcjgZM9rZGfd8nbOCD3g== X-Received: by 2002:a5d:4602:0:b0:228:62df:7d2f with SMTP id t2-20020a5d4602000000b0022862df7d2fmr21723881wrq.247.1663161257160; Wed, 14 Sep 2022 06:14:17 -0700 (PDT) Received: from localhost.localdomain (210.145.15.109.rev.sfr.net. [109.15.145.210]) by smtp.googlemail.com with ESMTPSA id o29-20020a05600c511d00b003a319b67f64sm8185249wms.0.2022.09.14.06.14.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 06:14:16 -0700 (PDT) From: Amjad Ouled-Ameur To: Rob Herring Cc: Amjad Ouled-Ameur , Krzysztof Kozlowski , Matthias Brugger , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: mediatek: mt8183: remove thermal zones without trips. Date: Wed, 14 Sep 2022 15:13:39 +0200 Message-Id: <20220914131339.18348-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, T_SCC_BODY_TEXT_LINE 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 Thermal zones without trip point are not registered by thermal core. tzts1 ~ tzts6 zones of mt8183 were intially introduced for test-purpose only but are not supposed to remain on DT. Remove the zones above and keep only cpu_thermal. Signed-off-by: Amjad Ouled-Ameur --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 57 ------------------------ 1 file changed, 57 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 9d32871973a2..f65fae8939de 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -1182,63 +1182,6 @@ THERMAL_NO_LIMIT }; }; }; - - /* The tzts1 ~ tzts6 don't need to polling */ - /* The tzts1 ~ tzts6 don't need to thermal throttle */ - - tzts1: tzts1 { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&thermal 1>; - sustainable-power = <5000>; - trips {}; - cooling-maps {}; - }; - - tzts2: tzts2 { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&thermal 2>; - sustainable-power = <5000>; - trips {}; - cooling-maps {}; - }; - - tzts3: tzts3 { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&thermal 3>; - sustainable-power = <5000>; - trips {}; - cooling-maps {}; - }; - - tzts4: tzts4 { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&thermal 4>; - sustainable-power = <5000>; - trips {}; - cooling-maps {}; - }; - - tzts5: tzts5 { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&thermal 5>; - sustainable-power = <5000>; - trips {}; - cooling-maps {}; - }; - - tztsABB: tztsABB { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&thermal 6>; - sustainable-power = <5000>; - trips {}; - cooling-maps {}; - }; }; pwm0: pwm@1100e000 { -- 2.37.3