Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4116544rwb; Tue, 20 Sep 2022 09:03:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6SpPmt2q2MSDNau/gNp1/QVXURvHfCdbmxeO7Gj86c+z2IQDC9wc7uK+0o0WkR//0s3YcL X-Received: by 2002:a05:6a00:f04:b0:547:50b1:4f4e with SMTP id cr4-20020a056a000f0400b0054750b14f4emr24881061pfb.69.1663689806092; Tue, 20 Sep 2022 09:03:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663689806; cv=none; d=google.com; s=arc-20160816; b=bKZNOnRuU/j5nqsceGxi+dov3/EBUL399qyC1OpIDEI4bZbb3sHm1mkgHGGKH6PyOm 9ONHDTEjS9SNgobxy/XwLXY5I8sjTV5ftsQSsPtQciDfSCYRP/CCIf3DSa8SqtVa6X6k Zc0ekSVk1LuGLEHz9AuTBJll7TinFkGtL9eS+cHTzTW66gYgn4oJHoM4ycwxBJB6EYXF O1/THPsH/IX5QSi6flvV+CH2BAK0OBKc6P8//6mRWAs9XeMmsBhg5AQAVOJ47S+aYvvN k3dBe1WigknRro3qweH3jLtLRrOxY6IXcQwALCSP4soP+oez0Kvi88zyihqpnO32MW8f dSuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=sTa1pbTVMPJ1tf0fbIJm6r4QEWbV/1sWEH4W85gfxdA=; b=vPUB6UBO0GXnfgh3HWs/cfLqPM54TJAagQ3NiYZuIirLYHkZ4OqnpTdHE680IZubf8 TRHtzfW5ZsQgd5tKdGQCd6SQr97eVQD6yFVEaWrvtjXUcIkxIWOZRO2TAYLzEy0+JQ/B OZadK5Mzk98nGGHufMIbLaNfkASvh7oD+a2jcDHc5y9dZCr/NHhL+ZBVxXMGAwHg1lTP OMIImHWyqENUU5Bf6DmKd8J+zwF0io76Q2+U4PH5C+cfXuAMfdjMn5rB93yPZ5nqW2Vf C89Z6a/CBwJSH/5pAcbTv6m2YY/m+oqDUK7gNOjexCehLAio8LD2Ew02nNpDS84AzAtc qFsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=Y0I8B2b3; 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 x185-20020a6386c2000000b004394687b653si111675pgd.253.2022.09.20.09.03.14; Tue, 20 Sep 2022 09:03:26 -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=Y0I8B2b3; 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 S231472AbiITPRh (ORCPT + 99 others); Tue, 20 Sep 2022 11:17:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231594AbiITPRO (ORCPT ); Tue, 20 Sep 2022 11:17:14 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E82B65257 for ; Tue, 20 Sep 2022 08:16:58 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id n12so4797621wrx.9 for ; Tue, 20 Sep 2022 08:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=sTa1pbTVMPJ1tf0fbIJm6r4QEWbV/1sWEH4W85gfxdA=; b=Y0I8B2b3LP+wzBoIwffHFhR8WfPrSkke8bPxBfdpa1N8AqQnjtUb7c4CmtN24qDDhp qdL9Uud2I30izEuKxHpDkDIvQsHjjHSigXA8ob2zyPlsjdSDJEqyqPpzLn28QvWSy7KL qQeFNIl2oWaknO+UzEWzpGs+d8ZNb2Cx/uKizP1/tOe+EHQFl93J0S8U18g/IvP7Y7F4 d6f4YSPMFnQYjUgtnRkeGD7bo7q0GU0CxKxamfwit1fq15nkLEYURNwTzCI/sJHwioVE 98Z217tzwyEGW4GGj3HG0mcmrgh37N5Ne8Nwz9cTvOGRaCoWzT7R1EwI6zs2gdSg2djQ KQXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=sTa1pbTVMPJ1tf0fbIJm6r4QEWbV/1sWEH4W85gfxdA=; b=ylcRlGtMXV+0O5K0K4Nfjf2pMn7LDMFdJ8QDuq3+5M0G1uElFAw3c1pBQUr+Y9UF2f GXsYj9PhS3Q2N3swral3a3CveryLzgYVJzARmm6PXY9gZSngCsl2ziY49MQdoPwpcIgD EK7PgCBK+Ruhu7floJ27wViNgO9MXHrEMUix8ybdCNOOChRcIFLYnNYgRf4TYdAljYn1 podQxP1eaK4RgY57p/uSgiLVxzgS/w/iegKX0CAfa79eWCeXRkP7pFe9E0orJvBnHCDv w3h4ag7okPP3uB2oDQsATyc8nnGupDi8OszmzHYx6GaK2ETAGk5PRICkemyg91B98eYS PKjA== X-Gm-Message-State: ACrzQf3eLgh0tdekjljCiiO0Insd1F6zZBJXk5kxnawpd+1n5MhIYGiS UGaBWHYflmFt6u8Wxk1/MV+IbA== X-Received: by 2002:a5d:6d46:0:b0:21f:8b7:4c1d with SMTP id k6-20020a5d6d46000000b0021f08b74c1dmr14533501wri.455.1663687016603; Tue, 20 Sep 2022 08:16:56 -0700 (PDT) Received: from [192.168.0.20] (210.145.15.109.rev.sfr.net. [109.15.145.210]) by smtp.gmail.com with ESMTPSA id cc16-20020a5d5c10000000b0021e4829d359sm40298wrb.39.2022.09.20.08.16.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Sep 2022 08:16:56 -0700 (PDT) Message-ID: Date: Tue, 20 Sep 2022 17:16:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH] arm64: dts: mediatek: mt8183: remove thermal zones without trips. To: Daniel Lezcano , Matthias Brugger , Rob Herring Cc: Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220914131339.18348-1-aouledameur@baylibre.com> Content-Language: en-US From: Amjad Ouled-Ameur In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Hi, On 9/15/22 17:50, Daniel Lezcano wrote: > On 14/09/2022 16:15, Matthias Brugger wrote: >> >> >> On 14/09/2022 15:13, Amjad Ouled-Ameur wrote: >>> 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. >>> >> >> My understanding is that this thermal zones exist but are not used. >> DTS should describe the HW as it is, so I propose to add >> status = "disabled"; >> to the zones. >> > > At least the trip points must be declared as stated in the bindings > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/thermal/thermal-zones.yaml#n213 > > In the base case we should but there are no trip points for these sensors according to MediaTek. Regards, Amjad