Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2601099rda; Wed, 25 Oct 2023 07:23:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFgyP2PPhUjVJZ5lnhM00EzEftyd1vd3m6fGIBp/E3wnWivQCgAS9lLjAzw748iB2NCJvc7 X-Received: by 2002:a25:4641:0:b0:d81:754a:7cb8 with SMTP id t62-20020a254641000000b00d81754a7cb8mr12767933yba.65.1698243817666; Wed, 25 Oct 2023 07:23:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698243817; cv=none; d=google.com; s=arc-20160816; b=ofz7Q6TSzpUJCMPTqUQp+zr+cLUQ77f4pmTw2EmuxLKtHxvrwvSQyWinmQHkHXDapD Sw/rETP3YenPe+v+E2w2g+KdUEsggxzWYq2W5+9q+nYkPynbVcB/EgFsQgDQp4QZdNnx JMm9S/qjo5Fp+Mu+qAQKNZRNhEIEMpNgcdbEjZ0NKzu61R7ZhJw9iALtAMWp1njNz6sW 2O1m8kTIei7ghLrTMiJyU5M0fUYJm591aobBWqqkCluAH6yPVZD5y8gtg+lGjJCJBMv1 0G1hPUAoGSU91HUs6q7rf3KzV7JR79CAEIx6bndCwcwkhF6jTGsjawTDvs8u70GHXeL/ jqRQ== 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:dkim-signature:date; bh=Rg6tbAvSCrcPlA8bgCmcEn9MdYqpCnqjQ3fo2cBKWFs=; fh=AZ8bM0SjFcBzHmSdTzVY2HfqT2jLxhzhn6x/w/NIQiQ=; b=vLVDqemxOX9ifGDc4Z9ro6PmQWMsOrqjAj6sytDWK7Bdg5oSZXFaRvwtIQvNxxRvSG ekT2pO0P9MhevL7/vZZtFZBajlM14JiXcIWYDYyS8scnRykacfuZbIg3wr6nulONbNpN h0ZFZFKL/Zdbww86kOGBQN2rZnNJEbon7QLoA3dbCpotu2ZsttMwC7LtSYdSE4m0sgOz Iko/lgkGLajoyEXeqkrUhx01VfT7dqH0DP28vDOyxVEX4Z0cFjdKiRScWZcSIgtYCevS 53X8za/tuNQdG+Vx2gELrwCZcQVJTVewEPcDxW+56C+Y1SH68YA1mXLINjFfMrgz7HL1 hSPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=DngZqtvR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id t7-20020a056902124700b00d9adc6bd8bcsi13630374ybu.702.2023.10.25.07.23.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 07:23:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=DngZqtvR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 766568145960; Wed, 25 Oct 2023 07:23:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344921AbjJYOX1 (ORCPT + 99 others); Wed, 25 Oct 2023 10:23:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344902AbjJYOXZ (ORCPT ); Wed, 25 Oct 2023 10:23:25 -0400 X-Greylist: delayed 575 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 25 Oct 2023 07:23:23 PDT Received: from out-173.mta0.migadu.com (out-173.mta0.migadu.com [IPv6:2001:41d0:1004:224b::ad]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68957136 for ; Wed, 25 Oct 2023 07:23:23 -0700 (PDT) Date: Wed, 25 Oct 2023 16:23:18 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1698243801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Rg6tbAvSCrcPlA8bgCmcEn9MdYqpCnqjQ3fo2cBKWFs=; b=DngZqtvRAc56t0viDS0RGJ9gl4LAbnec47+uE8AYfJDeylH80amVr04GWdjLo8YM8Ref/V HtmGK/41BGzA366tJBU5MvZ7vq9e7dHu49kNcyqSkRfpsDlgf6ftxUMTcDnC2Ri2AyRzBZ LNCIN2+Rydd5+C76x7APZGZnHsqK/14= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Richard Leitner To: Krzysztof Kozlowski Cc: Conor Dooley , 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 2/4] dt-bindings: hwmon: add ti,ina238 Message-ID: <2syaha4sapfpegvdsvef76egcqfebkuapxok6uripdbrgbk2vn@2xq5oi33zz2j> References: <20231025-ina237-v1-0-a0196119720c@linux.dev> <20231025-ina237-v1-2-a0196119720c@linux.dev> <20231025-hut-omnivore-f4b44a7b928d@spud> <20231025-eatery-backup-ad85c043cb01@spud> <8cd5c34e-f733-445d-bc1e-d4dea1bcb47d@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8cd5c34e-f733-445d-bc1e-d4dea1bcb47d@linaro.org> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 25 Oct 2023 07:23:34 -0700 (PDT) On Wed, Oct 25, 2023 at 04:18:31PM +0200, Krzysztof Kozlowski wrote: > On 25/10/2023 16:11, Conor Dooley wrote: > > On Wed, Oct 25, 2023 at 04:07:31PM +0200, Richard Leitner wrote: > >> On Wed, Oct 25, 2023 at 03:00:01PM +0100, Conor Dooley wrote: > >>> On Wed, Oct 25, 2023 at 10:34:12AM +0000, Richard Leitner wrote: > >>>> The ina238 driver is available since 2021 but lacks a dt-bindings file. > >>>> Therefore add the missing file now. > >>> > >>> Seemingly it is documented in Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml > >> > >> Thanks for the feedback. True. So is it fine if it's left there or > >> should it be removed from ti,ina2xxx.yml as this is a separate driver > >> with different properties? > > > > Merging them would seem like the most straightforward thing to do, no? > > Sorry folks, I don't quite get what do you want to merge or move and > why. Drivers are not related to bindings. The point is the compatible is > already documented, so is anything wrong with existing documentation? ina238 is a separate driver which doesn't evaluate the same properties as the ina2xx driver. So I thought it would be reasonable to split those bindings and therefore reflect the drivers capabilities. If it's fine if there are additional properties in the dt-bindings which are not evaluated by the driver then it's of course fine with me to just add the ina327 compatible in ina2xx.yaml. Thanks for the feedback & regards;rl > > Best regards, > Krzysztof >