From patchwork Wed Sep 21 09:05:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amjad Ouled-Ameur X-Patchwork-Id: 12983434 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 05534C6FA8E for ; Wed, 21 Sep 2022 09:10:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=j9xaO1hlG0Ps9Zud68T9U/BX+YyF6RKPnZamxCYVfgg=; b=3fvPrpZKVXA1gb wEDCSZZBnW6eYq+Bvsu+KtGHzhkv8+ZWb6s0QyVM22/8+SaJ+swYJuuFTJT9+zGSOU1CqENBHprXY /PTwjNnuHmxAK5iVzBvnpM+lG1od+u1uhGtZ73IRYV0tN+5ATOTbLK18leNhaQ6Fp5DRx6dXI+Fvx eK1KYkbdhyB/plo84lWB4xfFNkPLizjgWPY7VM2dBWvzqJh4dGN2ut5Ldjroetq0IsAiT/TY4IXBh wzRDhcQOmJWHnoTf9GepgBic86u8JMgHDTizHu8TEkPy1irCGe9WZqCrjVs7OeCN+0DZ+c1yxnfsQ vxGui5cf8XYVSw+7ssmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oavj3-00AFmx-26; Wed, 21 Sep 2022 09:09:01 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oavgE-00AE7z-69 for linux-arm-kernel@lists.infradead.org; Wed, 21 Sep 2022 09:06:09 +0000 Received: by mail-wr1-x42b.google.com with SMTP id y5so8791182wrh.3 for ; Wed, 21 Sep 2022 02:06:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date; bh=hTq3Rd3TJ513y76FFI3WT0dfpVj4Khn+ApB44y0p0+k=; b=0c2Cy+Q4wxXUAvCsCYHW2Jf8B8+krbOBDUB7xauW7/MN/NXxhW3ygOeM5v2ZrgqEzl xLrIGnNBJS5IvoQhCVJ9RzIA5NcZe0v03Alpp2kuTuvNaZJldsybst/SunpEBzz/hRn+ Bu7b4tbLUItAFCyx8C6B9l0T1coCvRcUmxDsplAJBfc2W0bGKoiYq40M/kSc/GepPFLz DxFZHirBp0PJu+KhrFyA+e060GPY+teQ5a1KsIAdrQeJoq7flqLo+aiguQjoAimB5BZE +DvSu0zXEk5TpN062T1rAElzC73z6yMbpGGh+TCV42ZMbSKdRoAJ9JUvzQtdkMRBhqzC +HBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date; bh=hTq3Rd3TJ513y76FFI3WT0dfpVj4Khn+ApB44y0p0+k=; b=5aLdJXlLKgLPZhg7d5BcDTsUdLnUblC1jdI59Qz77yoQJ8AFcKZ5xqLc7yxRUCTngs dFbQD6NSOEQi13f6CtqKlIbCneoCoJpVZrdKRZunfC8/wBwrJhbOYycgBsgxrTTGvAaU I2oFen0X9nEb8tmaObRhaw2ipBb/5UleQM2gP+WNqR5xYRjdy6nKVwF+gXv/B35Rh4pf bc9hvNDx/XtEQQArhKlXFBWTiMLUx3qaGwosCGyFt3yaOM5zCD859h0wWSTWZCWmcCn4 ZcUoQ8Pw4mhVvJSrF2s9/9dGIiBmKM2/oMSqpwSCA8j08n4bCasW8+B+IwO+PQLhgkrU ZmrQ== X-Gm-Message-State: ACrzQf1hnrW7e5pv+ZS0huP/Tgi/RDp3pYZb60ssEA3v8GhU65ecAiZd tYdlt3zB5aslfeoTqcaiiOV55XE7A4MXYXd/ X-Google-Smtp-Source: AMsMyM4Qpq8v43feSwHJfA27oBOpdjOQnzkAJwh28NMTj4f2VN4DosURKua9zHscoCuwe0yDrxwgnQ== X-Received: by 2002:adf:fb88:0:b0:22a:f742:af59 with SMTP id a8-20020adffb88000000b0022af742af59mr10817471wrr.230.1663751163802; Wed, 21 Sep 2022 02:06:03 -0700 (PDT) Received: from [127.0.1.1] (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id p10-20020a5d638a000000b0022b0064841esm1975482wru.59.2022.09.21.02.06.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Sep 2022 02:06:03 -0700 (PDT) From: Amjad Ouled-Ameur Date: Wed, 21 Sep 2022 11:05:33 +0200 Subject: [PATCH v2 1/1] arm64: dts: mediatek: mt8183: disable thermal zones without trips. MIME-Version: 1.0 Message-Id: <20220921-mt8183-disables-thermal-zones-up-v2-1-4a31a0b19e1e@baylibre.com> References: <20220921-mt8183-disables-thermal-zones-up-v2-0-4a31a0b19e1e@baylibre.com> In-Reply-To: <20220921-mt8183-disables-thermal-zones-up-v2-0-4a31a0b19e1e@baylibre.com> To: Krzysztof Kozlowski , Matthias Brugger , Rob Herring Cc: linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Amjad Ouled-Ameur , daniel.lezcano@linaro.org X-Mailer: b4 0.10.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1663751161; l=1541; i=aouledameur@baylibre.com; s=20220920; h=from:subject:message-id; bh=+48HSG61Tboa5W5HVeC955O8SAyXJVzdboBwb6baiTg=; b=G6EMcK1spRehaxNq/icrbsiBlZLOHtLbMIiv271RWH23rYmDwzq8SlL12BPpNVMsMeAZ6+Q7oXW6 GcLOJNqqCSjfr9joJaP05Cf/8OfsAfmsOx1G9Oe0eTAhXhHPJj7j X-Developer-Key: i=aouledameur@baylibre.com; a=ed25519; pk=HgYWawSL4qLGPx+RzJ+Cuu+V8Pi/KQnDDm1wjWPMOFE= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220921_020606_291951_16058D71 X-CRM114-Status: UNSURE ( 8.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 9d32871973a2..44a197e92c99 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -1193,6 +1193,7 @@ tzts1: tzts1 { sustainable-power = <5000>; trips {}; cooling-maps {}; + status = "disabled"; }; tzts2: tzts2 { @@ -1202,6 +1203,7 @@ tzts2: tzts2 { sustainable-power = <5000>; trips {}; cooling-maps {}; + status = "disabled"; }; tzts3: tzts3 { @@ -1211,6 +1213,7 @@ tzts3: tzts3 { sustainable-power = <5000>; trips {}; cooling-maps {}; + status = "disabled"; }; tzts4: tzts4 { @@ -1220,6 +1223,7 @@ tzts4: tzts4 { sustainable-power = <5000>; trips {}; cooling-maps {}; + status = "disabled"; }; tzts5: tzts5 { @@ -1229,6 +1233,7 @@ tzts5: tzts5 { sustainable-power = <5000>; trips {}; cooling-maps {}; + status = "disabled"; }; tztsABB: tztsABB { @@ -1238,6 +1243,7 @@ tztsABB: tztsABB { sustainable-power = <5000>; trips {}; cooling-maps {}; + status = "disabled"; }; };