Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1209856pxb; Fri, 22 Apr 2022 23:35:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwt2+Vil5hLNPGYBZRj5gbynZPPcaC8KmQ+WnpkMMm0dQ3OICz0/vCp9S/+xURi14Zp3T+s X-Received: by 2002:a05:6402:e85:b0:41d:121b:f436 with SMTP id h5-20020a0564020e8500b0041d121bf436mr8834950eda.121.1650695755980; Fri, 22 Apr 2022 23:35:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650695755; cv=none; d=google.com; s=arc-20160816; b=VSma1F0f07K0pFgbmcOHhvIG0UDzsFacRJerrfJkMbu8W/J0KneEjEmPOK0Io8QfEW EuiiDUxbsTEFupKFi7UryvdCkBlIQKrG3b1YxksJYz9wvXe/QVy8x2TwTzEnI6L3f1uI yG6I+JBlkFy+z0pAVtiO9BeHAUUhnYKYG+T3zufy5IQudCo4KkTcGzYRMFx0JQhgDtfz hoYkcxbzXT8yV7+zKeSSdIvY76iCZz7hEf3/DB/sxxpCk7zjhxFb9MFrzUlP85soUWKk GEETv5iS3gttTL4r9dO8RMY6eOBfrgczHntHxtoXD3crdq7Qpsjkm+lQPVKLk+UBM6X7 KLOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:user-agent:date :mime-version:references:in-reply-to:cc:to:from:subject:message-id :dkim-signature; bh=StkoNKdbnGH5dKV48fZd1Jj+CSelMPAntldOTn9N+7g=; b=Z1SbGGJkMSp8/ej1X971bcy4H2tv1NDTV07TTaqIAtt6a3pSW0zcof8NGkr999ZwL/ R+lnCPF0B3RnYicXfta4NBB2w+jeTVp5Yb4rY8zHObphdO/QM/mEfbZgfJTo31UiDL6f dXxTCGcTdzRiCdVDJDIcZ6NqSe0VXlF2Q+m35dEXlOfbrCns+T2MbvypSwxGuvrWI5GU IoWaOvHJugJCXg+mUL4B8YHCWnHUx3NroBuyqP0J2XlmJjfpHUWxJ++U3QdXB/cJqLhX StmtfPFQ34+VBU1gA5Tpq6MPo0LwRyGRUh/CzilOaiOsKjqossqKSvfsLUGKneDEZ77Z 8wgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@aosc.io header.s=default header.b=s7mWDm4q; 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 f17-20020a50fc91000000b0041978294066si6927250edq.275.2022.04.22.23.35.31; Fri, 22 Apr 2022 23:35:55 -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=fail header.i=@aosc.io header.s=default header.b=s7mWDm4q; 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 S233385AbiDWFeW (ORCPT + 99 others); Sat, 23 Apr 2022 01:34:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231922AbiDWFeU (ORCPT ); Sat, 23 Apr 2022 01:34:20 -0400 Received: from relay5.mymailcheap.com (relay5.mymailcheap.com [159.100.248.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 998E72E5; Fri, 22 Apr 2022 22:31:20 -0700 (PDT) Received: from relay3.mymailcheap.com (relay3.mymailcheap.com [217.182.119.155]) by relay5.mymailcheap.com (Postfix) with ESMTPS id 31B84267CE; Sat, 23 Apr 2022 05:31:18 +0000 (UTC) Received: from filter1.mymailcheap.com (filter1.mymailcheap.com [149.56.130.247]) by relay3.mymailcheap.com (Postfix) with ESMTPS id AED893F15F; Sat, 23 Apr 2022 07:31:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by filter1.mymailcheap.com (Postfix) with ESMTP id 0A7472A381; Sat, 23 Apr 2022 05:31:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at filter1.mymailcheap.com Received: from filter1.mymailcheap.com ([127.0.0.1]) by localhost (filter1.mymailcheap.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cl0X8p721LZJ; Sat, 23 Apr 2022 05:31:14 +0000 (UTC) Received: from mail20.mymailcheap.com (mail20.mymailcheap.com [51.83.111.147]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by filter1.mymailcheap.com (Postfix) with ESMTPS; Sat, 23 Apr 2022 05:31:14 +0000 (UTC) Received: from [172.16.34.145] (unknown [121.33.114.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail20.mymailcheap.com (Postfix) with ESMTPSA id 3E0644006D; Sat, 23 Apr 2022 05:31:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=aosc.io; s=default; t=1650691873; bh=w40/85VIv5BQZf+43/3bBfUU3+lju+R6jndNVZ1NoDo=; h=Subject:From:To:Cc:In-Reply-To:References:Date:From; b=s7mWDm4qE8QFgZ5iFz1SuzvyRKqdDicOrOnmOqccLA8xDTGTEUt3kIRvxKpwFnbjZ oUh8/CivdVevTOY6GHkZvwlwHt+nhOqMbmkG3pXasQyqnxix0EbB8TJzi/MFYNhCvS TEgMh7jrTC5+d3yFhjnGnrkepNXpj53Ceu0W3Ebg= Message-ID: <9525d336040d2fc89005d2923f0d8ee98597ac86.camel@aosc.io> Subject: Re: [PATCH 1/2] dt-bindings: thermal: sun8i-thermal: add binding for R329 THS From: Icenowy Zheng To: Vasily Khoruzhick Cc: Yangtao Li , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Rob Herring , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Linux PM , devicetree , arm-linux , linux-sunxi@lists.linux.dev, linux-kernel In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sat, 23 Apr 2022 07:51:54 +0800 User-Agent: Evolution 3.40.4 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DATE_IN_PAST_03_06, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, T_SPF_PERMERROR,URIBL_BLOCKED autolearn=no 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 在 2022-04-22星期五的 11:44 -0700,Vasily Khoruzhick写道: > On Fri, Apr 22, 2022 at 9:12 AM wrote: > > > > From: Icenowy Zheng > > > > R329 has a thermal sensor controller that has only one sensor, and > > the > > structure of it is like the H6 one. > > > > Add device tree binding for it. > > > > Signed-off-by: Icenowy Zheng > > --- > >  .../devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml  | 3 > > +++ > >  1 file changed, 3 insertions(+) > > > > diff --git > > a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t- > > ths.yaml > > b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t- > > ths.yaml > > index 6e0b110153b0..87b4103e0a5f 100644 > > --- a/Documentation/devicetree/bindings/thermal/allwinner,sun8i- > > a83t-ths.yaml > > +++ b/Documentation/devicetree/bindings/thermal/allwinner,sun8i- > > a83t-ths.yaml > > @@ -20,6 +20,7 @@ properties: > >        - allwinner,sun50i-a100-ths > >        - allwinner,sun50i-h5-ths > >        - allwinner,sun50i-h6-ths > > +      - allwinner,sun50i-r329-ths > > > >    clocks: > >      minItems: 1 > > @@ -63,6 +64,7 @@ allOf: > >              enum: > >                - allwinner,sun50i-a100-ths > >                - allwinner,sun50i-h6-ths > > +              - allwinner,sun50i-r329-ths > > > >      then: > >        properties: > > @@ -85,6 +87,7 @@ allOf: > >          compatible: > >            contains: > >              const: allwinner,sun8i-h3-ths > > +            const: allwinner,sun8i-r329-ths > > > >      then: > >        properties: > > There's also a check at line #99 that requires clock, clock-names and > resets properties for thermal sensors in other Allwinner SoCs. Are > these not required for r329? Thanks for this tip, I will add R329 to this check in the next revision. > > Also are you planning to add a node for thermal sensor to r329 dtsi? > > > > -- > > 2.35.1 > >