Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2581575rda; Wed, 25 Oct 2023 06:59:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF3DteGwpdpm9CSM3P7ExtNVCjrTWkkBOmcXd0XYxrHwz/k4SFkkztUofl8RK8X4VgGLDJM X-Received: by 2002:a05:6870:3e09:b0:1e9:beae:947d with SMTP id lk9-20020a0568703e0900b001e9beae947dmr20192098oab.19.1698242345958; Wed, 25 Oct 2023 06:59:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698242345; cv=none; d=google.com; s=arc-20160816; b=gme/NHpAsitUypTHkvSgYS5eCR+QPIzAC6+2vcm2wXte7Nc9nf7rfmvrNOf2tBz09t 7G70zpscEk84sz2hqmw9zj2+LEUbc8xNxCEY+AAx28XZyOXyO33eGbaEyDQwi0UHlTK6 UErqM9CAvhu5NEbZSPokC74FLl3WnQP4hrWQAJpO6/7cr9xax64Klfc/ZmkeLJoFdemE pB5jVDeaLRpVTKO+a3HCEiVY0wrfHu7FiYYY7ND3FqUqRRAcK1/pKPGb8uQZYvdZGefg UYfQNtd+mxlygG6SgjNhDKQAN6sT3pXvFAHlwkg16V/Hm3DbUZ+PvzD0tE4BI9BRcBJg WqaQ== 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=cEf2/mqOCnblWHSpnVtV7YNKlyEHLsF9Y7iNMvUF26A=; fh=Ys9s9VPY/h4nElcKIJZ7IGSS9eqUEZxOURzQrQdkW5w=; b=0MkO3o8KAGcAZNowrgTBpd34mN9Ex3vsuUHKcjRuOGtiMMuMwkg1fRsbmLNaeHsGao WG1wwuuseu/WEwFjjPeDLvrqViy+L162JzrPNY3X7NLaJhYth2nXHFY/Yekgzk0LQI3X 27LDn3cNlL/ioZq5uSHKj2/QMV9dJyaoz2L8ro7M/Iy7g/K9DG7vWKb99CFW+epIDbLX 4OswOOuQ2dvuWuEflpXCyqlf0QM/KnwY32QwXmqvOVCGSj5Txc84W54qhYdHR7HkHMHq k3NsZahP3z7EUxrwqw5r3Cj6r76oUAoEaeI1XWG+DgivF5jyLRaYtLAgR88Un+nukk8g CXmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="gESLI8s/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id d201-20020a0ddbd2000000b005a21faf6278si10913262ywe.66.2023.10.25.06.59.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 06:59:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="gESLI8s/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 615908061B75; Wed, 25 Oct 2023 06:59:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344191AbjJYN7B (ORCPT + 99 others); Wed, 25 Oct 2023 09:59:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344545AbjJYN6y (ORCPT ); Wed, 25 Oct 2023 09:58:54 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56F19132; Wed, 25 Oct 2023 06:58:49 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68816C433C8; Wed, 25 Oct 2023 13:58:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698242329; bh=UlTZEI3okYwEXOfqTgk+bCPT0BOZMTu5VbgUq9Mk0hM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gESLI8s/yysIu3Do5iEPzsQY1bHaGM5GwL/ilzz2jiuw8Ib3qR/2Tp+kj7zV6XWUP wRgW1ZPNuhRjAJux9fc4IV56ezNfgMAQA8xW9Q/Fic2WvO9b+2XfWrGVXMtlp+L7QA DdWghilDA8bvvmshc+0rLvXIYGp5VufLYpjhbv/Txo1k8YotgvxprDQss49FrwuyrW a3Y+29MwjuUUiAzAIzaxORwMtq06jC5KlZeYnE6olvpLtC2XFkWAhGpML7ZC3vIvPI 3kaNYGI3B1jxfdYtN1nHACAk2nG/0Sg86FKHQUEPTVnkXAzZs7pa2S/wlb3g3Cffji yd8xYIhECv5gw== Date: Wed, 25 Oct 2023 14:58:44 +0100 From: Conor Dooley To: Richard Leitner Cc: Guenter Roeck , Jean Delvare , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 4/4] dt-bindings: hwmon: ti,ina238: add ti,ina237 Message-ID: <20231025-unclip-ion-826a58681a12@spud> References: <20231025-ina237-v1-0-a0196119720c@linux.dev> <20231025-ina237-v1-4-a0196119720c@linux.dev> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pE6BoEu0EbdyHUId" Content-Disposition: inline In-Reply-To: <20231025-ina237-v1-4-a0196119720c@linux.dev> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 25 Oct 2023 06:59:04 -0700 (PDT) --pE6BoEu0EbdyHUId Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 25, 2023 at 10:34:14AM +0000, Richard Leitner wrote: > Add ti,ina237 binding to ti,ina238 as they share the same driver. >=20 > Signed-off-by: Richard Leitner > --- > Documentation/devicetree/bindings/hwmon/ti,ina238.yaml | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/Documentation/devicetree/bindings/hwmon/ti,ina238.yaml b/Doc= umentation/devicetree/bindings/hwmon/ti,ina238.yaml > index aba89e5f34b3..17408076696c 100644 > --- a/Documentation/devicetree/bindings/hwmon/ti,ina238.yaml > +++ b/Documentation/devicetree/bindings/hwmon/ti,ina238.yaml > @@ -22,6 +22,7 @@ description: | > properties: > compatible: > enum: > + - ti,ina237 The driver patch you have done implies no difference between the programming model for both of these devices. It'd seem to make more sense for the ina237 to fall back to the ina238, thereby requiring no change in the driver to support it. Cheers, Conor. > - ti,ina238 > =20 > reg: >=20 > --=20 > 2.40.1 >=20 --pE6BoEu0EbdyHUId Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZTkfEwAKCRB4tDGHoIJi 0pu2AQCAxnniBjz6rcPwfkiVyxIlV2tWkTei9kpP4WDrtKDCdwD+OebGU9904K9V R2HVKdB53Bhw0pxQXt5EW4gUi6BysQI= =tFzz -----END PGP SIGNATURE----- --pE6BoEu0EbdyHUId--