Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2595892rda; Wed, 25 Oct 2023 07:16:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHW+1Ngm72EAODtO5hjVJf82Oldr6MNHzPF7SSVOMirdTsi4cA8OCpS6/B7WKdl1bmZm/G1 X-Received: by 2002:a05:6870:c6a1:b0:1ea:3525:9e99 with SMTP id cv33-20020a056870c6a100b001ea35259e99mr17104362oab.44.1698243367215; Wed, 25 Oct 2023 07:16:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698243367; cv=none; d=google.com; s=arc-20160816; b=OQYVGqwfh1dtoD3qMwkwauOuR1BGoT6uGl6iaSVbR6FfkqobJGB7JjwkGOevniKwbx DgJLGx9fZFhqhy1xArjXNjQZvrLa0bgIgu1suol0G2nJJEmNE2W1f1PdNMn0OIAPqxEG h0X+peA+wIAGENhYSZGc232JjqG7mgnB8dW92X/8B06Trg8808xXJfM8UBh8l0loTZe8 wLxKu6ctpwCkvFicIMXdQ4ratrNCdXRcrbur9oxbt1iR2hC6ZzZWs59xI6Zf77rg+qTY koN8e3vamDHe6TohnumcdE7vZR1TjJPMmaPCG/KuZwv0y3qDovItRzDBrgEuxCmXyRIS q4MA== 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=Tuu/xKNEUp/rVDyrYJ845iJbRdmfWFFfKxYqRchBIq0=; fh=tEFirByh81eMJtFTLru1DdWnsZV7z2mwmyNWt+d+Ggs=; b=x8Coo7Ro90akSHlZ4CfdZaD+EM3qQBMQR/wfwihZxC78Hhc30quhJov8y4UqmJSlZJ lWj3M8OhSSla+e3hIqQuL5sEh5tfJ9exryMy7GapwmjpjOz2AtHGb8f/ZrbPl3aRh5P2 1Y4XA2RhTWY9pxDplxCtPJvIunfX+GyWcF629dTnJg/xOhEvfRhQi05o1TCALrbtweiS c5NpFJRR1cghcvwZORvHg7+6fBEtlbNHR9GuDhgBSsJPhlWU9uOs5j2/X73EypXH4cqb CoDNu/AV8E3pAInlWm47F3GC+UlK7zXNUjhNI+1wvh37z7e8MKWMJek1+zkWAcPEgGB9 Wf3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=Uvj77L7n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id k20-20020ab07154000000b0079b410980ecsi1387148uao.110.2023.10.25.07.16.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 07:16:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=Uvj77L7n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 520858087202; Wed, 25 Oct 2023 07:15:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235091AbjJYOPR (ORCPT + 99 others); Wed, 25 Oct 2023 10:15:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234980AbjJYOPO (ORCPT ); Wed, 25 Oct 2023 10:15:14 -0400 X-Greylist: delayed 450 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 25 Oct 2023 07:15:08 PDT Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [IPv6:2001:41d0:203:375::b0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DF859F for ; Wed, 25 Oct 2023 07:15:08 -0700 (PDT) Date: Wed, 25 Oct 2023 16:07:31 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1698242853; 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=Tuu/xKNEUp/rVDyrYJ845iJbRdmfWFFfKxYqRchBIq0=; b=Uvj77L7n0FVroa8NBfscxvh0MGR2XFY59+eXSR8HvoBB5koZtT753qnqt2/bckbVU9cj1c TNUnGoPv11idbQP+xJkRdOA+ZDsfZ/0HbpzN+Oy0xRfdQutwbUSzGbeyLZps/zuI+F4+WY qZbW3Zk7IUWpipvLDVIe6JBGPVLGzfc= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Richard Leitner To: Conor Dooley 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 2/4] dt-bindings: hwmon: add ti,ina238 Message-ID: References: <20231025-ina237-v1-0-a0196119720c@linux.dev> <20231025-ina237-v1-2-a0196119720c@linux.dev> <20231025-hut-omnivore-f4b44a7b928d@spud> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231025-hut-omnivore-f4b44a7b928d@spud> 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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 25 Oct 2023 07:15:32 -0700 (PDT) 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? > > Cheers, > Conor. > > > > > Mention Jean Delvare and Guenter Roeck as maintainers as reported by the > > get_maintainer.pl script. > > > > Signed-off-by: Richard Leitner > > --- > > .../devicetree/bindings/hwmon/ti,ina238.yaml | 46 ++++++++++++++++++++++ > > MAINTAINERS | 1 + > > 2 files changed, 47 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/hwmon/ti,ina238.yaml b/Documentation/devicetree/bindings/hwmon/ti,ina238.yaml > > new file mode 100644 > > index 000000000000..aba89e5f34b3 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/hwmon/ti,ina238.yaml > > @@ -0,0 +1,46 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > + > > +$id: http://devicetree.org/schemas/hwmon/ti,ina238.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Texas Instruments INA238 power/voltage monitors > > + > > +maintainers: > > + - Jean Delvare > > + - Guenter Roeck > > + > > +description: | > > + The INA238 is an ultra-precise digital power monitor with a > > + 16-bit delta-sigma ADC specifically designed for current-sensing > > + applications. > > + > > + Datasheets: > > + https://www.ti.com/lit/ds/symlink/ina238.pdf > > + > > +properties: > > + compatible: > > + enum: > > + - ti,ina238 > > + > > + reg: > > + maxItems: 1 > > + > > +required: > > + - compatible > > + - reg > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + i2c { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + power-sensor@40 { > > + compatible = "ti,ina238"; > > + reg = <0x40>; > > + }; > > + }; > > diff --git a/MAINTAINERS b/MAINTAINERS > > index 28f91c8a2e1c..13858bd6a3d4 100644 > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -10271,6 +10271,7 @@ INA238 HARDWARE MONITOR DRIVER > > M: Guenter Roeck > > L: linux-hwmon@vger.kernel.org > > S: Maintained > > +F: Documentation/devicetree/bindings/hwmon/ti,ina238.yaml > > F: drivers/hwmon/ina238.c > > > > INDEX OF FURTHER KERNEL DOCUMENTATION > > > > -- > > 2.40.1 > >