Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp388050rdb; Tue, 31 Oct 2023 10:07:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHJ1XoHqY3W2QgApQHNZHLpZeacLZIwGjEQkq4Da5K2oVSZvziakrKtrbJJn2DzUYWfLPV/ X-Received: by 2002:a17:903:22c5:b0:1cc:4669:c0eb with SMTP id y5-20020a17090322c500b001cc4669c0ebmr5703005plg.21.1698772076545; Tue, 31 Oct 2023 10:07:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698772076; cv=none; d=google.com; s=arc-20160816; b=Bx/T2pL7A5o9rZKrAHQr5NaCIsV4lDXoP3FYwvzQfTXqalVVAByR6ptid9zbbjUL3H 9eDP8Z0329FunPR/aw1+xAznC3sOWgOa1AicjKngWgZUl6GP/D5kmXDwQ2QcA+IQO2zV GAHwisRHQPNxjnQYgAcBAsRNgaJOWO+wGQlo3d/6O5soJsl6zuvMQPpVIjKzVrJ3bBI7 fcickF0mpVIh0EIq2djVIPx6rv/o1DJyNQXped5DHFknwf++ueiqOVZC2a4+lWexbP4L l+UqDPyhm35UGCVeCBZzLSjfthS5NZsEyPtZUteSWIg7hEpmF0mPA00+ek2Zl7L+jtUP zL4Q== 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=50MjCJzIP72Yn7mgxwZJJ5dKqfUGyakIXGXwLlthWvA=; fh=Cnv66U23A9maR+x6dlRmneyAMQZyZp7/ThpB0GP4QWk=; b=det5ipIR5GilWtVr+NOQ6nf5xIKP8AuedyRyuwkj+kDF6lFk1tDR/2GcoTnxY+ZSIq AuTbg1SkfDjHonRJ39YJgp+48SIBBZ3sNnaVnyPG9y/P705u3UDhStSvXfwBwDU4jUIP GD/O23C3uDoZScXF2ms9KJfWt/QuwYyfsAd3+sE+51jn5M5dFlGGym6hCysbluU5iYc2 2HDLbvRVBICeR40a6pw3pY+HO9nBmsJpoZ+f9FUS/m+s1Z80eVI3UvQR8WdGyd5y69vN cQOAFHv6CAqlspuhFCzW8eNuWcF+wMIe7KbEv4lVW9Lg2JTf+KuGF3i7LHQil4an8Jfh VXQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uIbPNRXp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id ju11-20020a170903428b00b001bc2fd76db1si1215852plb.65.2023.10.31.10.07.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 10:07:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uIbPNRXp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 02120801B9F3; Tue, 31 Oct 2023 10:07:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233249AbjJaRHa (ORCPT + 99 others); Tue, 31 Oct 2023 13:07:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236535AbjJaRHR (ORCPT ); Tue, 31 Oct 2023 13:07:17 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14A03D63; Tue, 31 Oct 2023 10:06:13 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0ACCDC433C7; Tue, 31 Oct 2023 17:06:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698771972; bh=IURdf+ELaMvBNjQ4JtTI42ePYhUeSVb18qPrqHz3arw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uIbPNRXpRvaa7V97Idx9HyKSfMSIIW0Six+5xZQeNIen57cDoX4WBjuIwP/WhYdzN bv1IleATgdUjejRfGBsPGttyyceo4hVQPsECH+/Z6H8WWHIBJA040qPp/nm6pXppby ovav7AninKn018A3P1GLs+aL/5HH6CkeSKmECkjBXDGpnVVm/IZxBYNir8zT9mK/AG tnXkDYQ+lAd7AE3x07prQWEcb//gEq5PbowbqjyV0FZD064B2DL0iZdQnx1pWu/Cpl HWPvZygc8n3KYb0puWS3JUE7jLi/fJf+VI5fnrikA53DwVaejdhcZ6fsFSjbI8hVuL dv3OiY80X+Haw== Date: Tue, 31 Oct 2023 17:06:07 +0000 From: Conor Dooley To: Delphine CC Chiu Cc: patrick@stwcx.xyz, Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , linux-i2c@vger.kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v3 1/2] dt-bindings: hwmon: Add lltc ltc4286 driver bindings Message-ID: <20231031-sneeze-zoom-8fdb3ccebd25@spud> References: <20231031072124.201181-1-Delphine_CC_Chiu@Wiwynn.com> <20231031072124.201181-2-Delphine_CC_Chiu@Wiwynn.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="f94SAZhlDIXtJjhr" Content-Disposition: inline In-Reply-To: <20231031072124.201181-2-Delphine_CC_Chiu@Wiwynn.com> X-Spam-Status: No, score=-1.7 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 fry.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 (fry.vger.email [0.0.0.0]); Tue, 31 Oct 2023 10:07:41 -0700 (PDT) --f94SAZhlDIXtJjhr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 31, 2023 at 03:21:21PM +0800, Delphine CC Chiu wrote: > Add a device tree bindings for ltc4286 device. >=20 > Signed-off-by: Delphine CC Chiu >=20 > Changelog: > v3 - Revise adi,vrange-select-25p6 to adi,vrange-low-enable > v2 - Revise vrange_select_25p6 to adi,vrange-select-25p6 > - Add type for adi,vrange-select-25p6 > - Revise rsense-micro-ohms to shunt-resistor-micro-ohms > --- > .../bindings/hwmon/lltc,ltc4286.yaml | 52 +++++++++++++++++++ > MAINTAINERS | 10 ++++ > 2 files changed, 62 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/lltc,ltc4286.= yaml >=20 > diff --git a/Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml b/= Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml > new file mode 100644 > index 000000000000..4695bca77c05 > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml > @@ -0,0 +1,52 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/hwmon/lltc,ltc4286.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: LTC4286 power monitors > + > +maintainers: > + - Delphine CC Chiu > + > +properties: > + compatible: > + enum: > + - lltc,ltc4286 > + - lltc,ltc4287 > + > + reg: > + maxItems: 1 > + > + adi,vrange-low-enable: > + description: > + This property is a bool parameter to represent the > + voltage range is 25.6 volts or 102.4 volts for > + this chip. > + The default is 102.4 volts. You've got weird wrapping of text here (short lines). Either this property or the corollary work for me, depending on what Guenter wants. With two nits below, Reviewed-by: Conor Dooley > + type: boolean > + > + shunt-resistor-micro-ohms: > + description: > + Resistor value in micro-Ohm micro-ohms > + > +required: > + - compatible > + - reg > + - shunt-resistor-micro-ohms > + > +additionalProperties: false > + > +examples: > + - | > + i2c { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + power-sensor@40 { the generic node name is "power-monitor". Cheers, Conor. --f94SAZhlDIXtJjhr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZUEz/wAKCRB4tDGHoIJi 0nsPAPwMsm8WDMU9Aj1pA51Pw3mApuz03WqNCT0Y9+VAvpRndwD+LFNjRUGoV/sP lReVzQpXC55/MqJaHLpSmwwrgf6fKw0= =2uTo -----END PGP SIGNATURE----- --f94SAZhlDIXtJjhr--