Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2305677rwb; Wed, 30 Nov 2022 05:11:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf6NuaPgMbk2h0qXDo6xECZyxmMf+KjKxcyZufhkkr9DqUz3B16m3iBuiaJQ1D5YKw7n8N4f X-Received: by 2002:a63:1915:0:b0:477:3803:674f with SMTP id z21-20020a631915000000b004773803674fmr35141761pgl.469.1669813865158; Wed, 30 Nov 2022 05:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669813865; cv=none; d=google.com; s=arc-20160816; b=1LeWk9/6WfOYfTW+X7+9RmB46vNd/O5+WGVVFt9fFmJWRqVsQ+QZ8/iStnFdDv4pIT LnnPDUf+UFwhbRJG3HPwn3VEZzwdeqyNKTk9N6wCQGAjQu0cy0thRiwK3XSMkl/kTfZA cUpqCgTKbSQkwwwPxdvBryMPMXWOB9T4VgmUKmOITo6tBFUbTKrcBLvX8GTMTMZWmBKJ D0Mx0lYwq0+hZGKC/gYI/GnT3zuSyjubKleRfeeU315a5DzV5TOJlUxfvpjn1+bSPh+3 /dgY8nMPZjArPndLlH4Y1IHpuC+cRiOTyJItm7JGVGb5pB6Fa2JO/7UTfbCh1rUWTeGi ppvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=efQ1auvrx5joRwcznVTM3EMV1vhSADvgXQLY7x3fP0E=; b=Jx1wZ8fddxD2xgEKvEC2mUZl+VoWtZPvMISyaGroUQhfOKUORoGtIrN1ha2sqYoorL nxk+jooKJ8cd9+S3uC39wgFpOOKByNODxMVxY81qFGdJK9pQffBq+b89dddIf5DF+rt5 rjrh3iV74WIQO5f8z4yYOAzydR58ypwh2znCkNjpewKBk6hupf8NIfftiAHt7bT8h6KL 21uRGmcbSJ0A9iQDrUxxuJVyAjXovjNFcprbZ60+xz8FX53QSh3X06Pbqij+UicTAOpC fLvMNt7+gZv8w6R8Wxwh7auuFf1sAmeoEwbCaLOBrKpHvHkPjBvb9q6ZGsWQptJRqaAE I5cQ== ARC-Authentication-Results: i=1; mx.google.com; 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 p62-20020a634241000000b0046f1263abd6si1249995pga.661.2022.11.30.05.10.54; Wed, 30 Nov 2022 05:11:05 -0800 (PST) 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; 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 S233863AbiK3MJz (ORCPT + 84 others); Wed, 30 Nov 2022 07:09:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232159AbiK3MJw (ORCPT ); Wed, 30 Nov 2022 07:09:52 -0500 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09A86659A; Wed, 30 Nov 2022 04:09:51 -0800 (PST) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.94.2) (envelope-from ) id 1p0LuK-0005r4-P3; Wed, 30 Nov 2022 13:09:44 +0100 Date: Wed, 30 Nov 2022 12:09:41 +0000 From: Daniel Golle To: Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-pm@vger.kernel.or, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Matthias Brugger , Krzysztof Kozlowski Subject: Re: [PATCH 2/2] dt-bindings: thermal: mediatek: add compatible string for MT7986 SoC Message-ID: References: <136157bd1f94c64504f87ee2db6b3ed0a8dcc3de.1667254476.git.daniel@makrotopia.org> <1216e96b279d08230cb2aa61d536f44c1e9b800a.1667254476.git.daniel@makrotopia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 On Wed, Nov 02, 2022 at 04:43:35PM -0400, Krzysztof Kozlowski wrote: > On 31/10/2022 18:16, Daniel Golle wrote: > > Add compatible string 'mediatek,mt7986-thermal' for V3 thermal unit > > found in MT7981 and MT7986 SoCs. > > > > Signed-off-by: Daniel Golle > > --- > > Documentation/devicetree/bindings/thermal/mediatek-thermal.txt | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt b/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt > > index 5c7e7bdd029abf..efc16ab5b22b5d 100644 > > --- a/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt > > +++ b/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt > > @@ -13,6 +13,7 @@ Required properties: > > - "mediatek,mt2701-thermal" : For MT2701 family of SoCs > > - "mediatek,mt2712-thermal" : For MT2712 family of SoCs > > - "mediatek,mt7622-thermal" : For MT7622 SoC > > + - "mediatek,mt7986-thermal" : For MT7981 and MT7986 SoC > > Then recommended is to have specific compatible followed by fallback (so > 7986 followed by 7981) I'm a bit confused about the order you are suggesting. It may seem counter-intuitive, but MT7986 was released before MT7981, the thermal units found in both SoCs seems to be exactly identical. Or are you suggesting to list MT7981 first to maintain alphabetical order? Because in terms of precedence, MT7986 has been there first, and hence I'd list 7986 first, followed by 7981, ie. the opposite of the order you were suggesting.