Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2583698rda; Wed, 25 Oct 2023 07:01:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGWF2Y+SCXaYbhap4F1YBQDicNd6li+PNJxu5pu53hvBs5SSSzI7AEXhw2+RyYXyScEmEfV X-Received: by 2002:a05:6870:71c4:b0:1d6:5c40:11b6 with SMTP id p4-20020a05687071c400b001d65c4011b6mr19466233oag.14.1698242500513; Wed, 25 Oct 2023 07:01:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698242500; cv=none; d=google.com; s=arc-20160816; b=qiQZXtcDus3Js0lAF8B+59TfcoT7tEuzJKtt4NW4ER2lnsUH0A3mm+HjcOT/4UyH1o WxMBU/gbMh8vx4Bl/uf9B8OV/qIhLxoT1fDpUDp6SgiHpH5DWI3BnvOX3pa+B/2TgP35 FBfxp2NDOT5zP653+l8C1JRCIJ6abZwlFPOXu897yRTGZsa+hK6FZb4P4eZVB3NG7hE3 e8ZXtIQ6Ni3Pc+tVdpGbuIy+bYdQX/V7lM5dm5qiSMljc4mumPogxPqHmssN7qrekj4e ZL4HpVlLxNsIFA22BZhbj4du8Nzoa9ouU4v9WVnIX3fg2Cm8QwXIvhfHhgpCIbi+hGm8 uJdw== 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=WmOXAeZ7PO0MJZukcTob+x079jtBg3n/4q2TbmuzuHs=; fh=Ys9s9VPY/h4nElcKIJZ7IGSS9eqUEZxOURzQrQdkW5w=; b=DfD/cxr6K+2uybcsD4NgeRSYRm2BgPB5es7rgIl34GlyMMex+lIxG1FVVKKajWxzdN +Y9luDXDN8svyBKhJ+q0x4N2dwnU7lvU8zRsG44Ig4FtQ9UgX9v1JvJ5TAgNtIcsW3P7 NRMvjJd3NErQdgZOgFAmE1ygkhaMTUVe/Gdija3+Tx7zV8blYx8hMcPbNTM/+VsLTw0q v1UxTz15+xfps8ywGqD8s23g20Tms9EHrxpPpcxNIo1VrwThCe1q9R2fDPvN7YsyZdA4 kwB6Qdo3dzX2Cqm7AI0ToB1Sc68x1s8JXMVklEjjBe+Xp/uBZ5SntfTSjgxZt75kW9An +Thw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ob42NPr3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id pn28-20020a0568704d1c00b001dd20d1c024si4083872oab.325.2023.10.25.07.01.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 07:01:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ob42NPr3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 29D2C808E64D; Wed, 25 Oct 2023 07:00:18 -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 S1344545AbjJYOAL (ORCPT + 99 others); Wed, 25 Oct 2023 10:00:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232809AbjJYOAJ (ORCPT ); Wed, 25 Oct 2023 10:00:09 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38CC99C; Wed, 25 Oct 2023 07:00:07 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB370C433C8; Wed, 25 Oct 2023 14:00:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698242406; bh=qc+ov5LIKiozFMXukORRE9nDxHa73MG+JepRkO8LbM0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ob42NPr3nRpkQzqR67FWvlhiE8STmmnJgumoM4rT/MisrlsTxUAd/GAlcmN4Y1TKY 2+vEvjd8gr7bvzjQGGOijUj4K6Gma1DNJKEL6G31fCXWlE0qeigb8v7xhQazaWwHV2 GUH0libugDsrQNtXk6ii+aZySXKaX61WHfGIGLV5Tb0NaUSSbiM52P5gdT5EOEJYuX XL74b8uM/r8dsLCFRhqTNWB8HIzXuwmSTiFWSrGVmrtz6poMtUAn4tQE7ZcDG+uO08 ftUc0SIFtTK6ATlq5RC9hMli98aNgYYgtxvVD62TP9D84E0ajcNZp4T4RtHr2CY+vy bzlrUl3haTjkQ== Date: Wed, 25 Oct 2023 15:00:01 +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 2/4] dt-bindings: hwmon: add ti,ina238 Message-ID: <20231025-hut-omnivore-f4b44a7b928d@spud> References: <20231025-ina237-v1-0-a0196119720c@linux.dev> <20231025-ina237-v1-2-a0196119720c@linux.dev> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XaYXm4eAH/Q3nOpF" Content-Disposition: inline In-Reply-To: <20231025-ina237-v1-2-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 07:00:19 -0700 (PDT) --XaYXm4eAH/Q3nOpF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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,in= a2xx.yaml Cheers, Conor. >=20 > Mention Jean Delvare and Guenter Roeck as maintainers as reported by the > get_maintainer.pl script. >=20 > Signed-off-by: Richard Leitner > --- > .../devicetree/bindings/hwmon/ti,ina238.yaml | 46 ++++++++++++++++= ++++++ > MAINTAINERS | 1 + > 2 files changed, 47 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/hwmon/ti,ina238.yaml b/Doc= umentation/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 =3D <1>; > + #size-cells =3D <0>; > + > + power-sensor@40 { > + compatible =3D "ti,ina238"; > + reg =3D <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 > =20 > INDEX OF FURTHER KERNEL DOCUMENTATION >=20 > --=20 > 2.40.1 >=20 --XaYXm4eAH/Q3nOpF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZTkfYQAKCRB4tDGHoIJi 0ij5AP41Xbf/AKBA0f15LztKkzCyqgf5yYkdNMp577jLE0Pw0wD8DnKGgXfXFTKQ XEU/DYq7TMdXOb1pMA9qCvfttAhNTQE= =uvAL -----END PGP SIGNATURE----- --XaYXm4eAH/Q3nOpF--