Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6071673rdb; Thu, 14 Dec 2023 07:39:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IE7k45IQuD/a1mMhug371RdIih5VZL0wI7/VrzaY7Me1dznnL3msiGbesPLu6iRyTm4zQ3X X-Received: by 2002:a17:90a:fb55:b0:28b:1fe0:ff67 with SMTP id iq21-20020a17090afb5500b0028b1fe0ff67mr238589pjb.42.1702568372712; Thu, 14 Dec 2023 07:39:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702568372; cv=none; d=google.com; s=arc-20160816; b=A6GnG0ih+WaSc/tmbO11S7uB07uftrLD/s8FYYZocRBvb7gYETJeNmUpaDeAINJFxN Lgv4Ws4qLWVvwNPhWQ9Z7F6sOplj3NCoTBFw5COi3VSUB03ywxGXmkicnuFk1fbT5ZXr 2T66iz2RCbq3JwbTIAWgN6hPz8ineGvSXknSaZcM70Uplp9zGaLU4FVK3eW2Mp/VTfq3 xkgBD958MQ4R8343PzfHDEkjAHS0rbJYFMUYctqyz64O26ZM7ty022J4LinY+nd32eYm 8sQVI0dx4ixr8ZqNF6PPIh5F1R49z1+qfal+7Ebfv/88MGBsrAz9y2tF91cIIeklI+Yl hYuA== 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:dkim-signature; bh=sp6vXLzE9GjXj2DQcxlTpSB7wSViqnWX/39WNRdX530=; fh=CWEoW3hokp5qBK2Ehsu2id04uqek1xHQqprYilXzffY=; b=ftaTR04brnXsCu7G6WOEthAO7r9lWBvfG6v90adTybQTFEbCoV9CzwsiFsd2cbwOsv Wzec+BP2AMg5cJDP91GVQgmrWk0r5djntMVQvyos5TdlTUPbzqIwc3Y38C2Z6cTjIUpP kePtnApb84DWcsMU0HV7cNDk4DcdGwJuAbQDtURbHROy6vJuwB5WxChmZMYWn85nBymf soagVTviohu6kVKV3pRPrBNm3QgKRVD4R9sRZ9fa4C5m8S8Y5LfM6hNXP0warj+fzo5F okJ5ag2kdyDtOpdG4eJ04tQ7etuZz9/tJSk9PVAYt9Iz/XUhRpz8Mq3O49ndf4Y/TVva EgUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VfSZyovl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id v3-20020a17090a634300b0028ad1c549e4si3901626pjs.142.2023.12.14.07.39.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 07:39:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VfSZyovl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id E01FE832CBC2; Thu, 14 Dec 2023 07:39:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573840AbjLNPjR (ORCPT + 99 others); Thu, 14 Dec 2023 10:39:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573844AbjLNPjQ (ORCPT ); Thu, 14 Dec 2023 10:39:16 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 119D898 for ; Thu, 14 Dec 2023 07:39:23 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66CBFC433C8; Thu, 14 Dec 2023 15:39:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702568362; bh=OUgQGKm22QNdpXpommaA6FLJdhjRd74GWH/14+qKI1U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VfSZyovlHlRjpzeczdQNcJT3OK37zwhq30uHnBLvGvvflGIUUpOFBkTjj6En0yWuQ 4jh20GkIla24I08ShPUH5zMb/XqruDn53xePNQb1mm8yxE8HS8gFLrVSFibD3bhxFK Rrr0KswEODyf/rJFxie9mAZFUEG++GSx/led50iKLilM23KjPbkmD1t4piSXLreyNZ WGnwCWeYBw/gNaD2WZNkaQsdklFh0tPA/e8MNqqwQeohrXn+E4jUaoY2kHdBtb5gZH bBhYbRsQIN9G8NJSzAyosSNq/wUZ8WxBdcWJUoKyzf/r2YLyqr3E7RCClkcRk3wiAd 4EerzlQyXdneQ== Date: Thu, 14 Dec 2023 15:39:18 +0000 From: Conor Dooley To: Guenter Roeck Cc: Daniel Matyas , Jean Delvare , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH 2/3] bindings: hwmon: Add adi,adaq4224_temp as compatible string Message-ID: <20231214-coastline-fled-d7788bc2fb97@spud> References: <20231214143648.175336-1-daniel.matyas@analog.com> <20231214143648.175336-2-daniel.matyas@analog.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="G6GD49EJmszTie2D" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 14 Dec 2023 07:39:30 -0800 (PST) --G6GD49EJmszTie2D Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 14, 2023 at 07:15:13AM -0800, Guenter Roeck wrote: > On 12/14/23 06:36, Daniel Matyas wrote: > > In the device ada4224 the max31827 temperature sensor will be used, so > > the default values corresponding to adaq4224_temp are the same for > > max31827. > >=20 >=20 > I don't know what that device is, but if the max31827 is used it should > be instantiated as max31827. An improved commit message would be rather helpful here, as google did not turn up any information on what this new device is. Taking the patch on face value, a couple comments below. > > Signed-off-by: Daniel Matyas > > --- > > Documentation/devicetree/bindings/hwmon/adi,max31827.yaml | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > >=20 > > diff --git a/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml = b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml > > index f60e06ab7d0a..9f3b0839aa46 100644 > > --- a/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml > > +++ b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml > > @@ -20,6 +20,7 @@ properties: > > - const: adi,max31827 > > - items: > > - enum: > > + - adi,adaq4224_temp No underscores in the compatible please. > > - adi,max31828 > > - adi,max31829 > > - const: adi,max31827 > > @@ -81,7 +82,9 @@ allOf: > > properties: > > compatible: > > contains: > > - const: adi,max31827 > > + enum: > > + - adi,max31827 > > + - adi,adaq4224_temp This doesn't do anything afaict, since the binding doesn't allow "adi,adaq4224_temp" without "adi,max31827". > > then: > > properties: >=20 --G6GD49EJmszTie2D Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZXshpgAKCRB4tDGHoIJi 0i+8AQDLBGQ+HVEs4oHR2QFbfWYmXqmEAx3Uw+1Fm2LmiuGhaQD/b1+AdQl6W2D9 VXZLhAe3bLe3De2JkMLlL8u1XYmRkwc= =yKeT -----END PGP SIGNATURE----- --G6GD49EJmszTie2D--