Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp460840pxu; Fri, 4 Dec 2020 07:28:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrKzngODZuDQyJOjfgeAwem3E2nhgb7sXd0VjmxbBipn1yXV8whLto3VoAEawA1JbHl2ht X-Received: by 2002:a17:906:d87:: with SMTP id m7mr7524298eji.108.1607095727453; Fri, 04 Dec 2020 07:28:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607095727; cv=none; d=google.com; s=arc-20160816; b=WEVLtwSbAp57PRlzWfyxwr7+DvPuXcLFOQhOkS2F7cE0+w/USu3P3PUH/rPW47kda0 b0mDLwc8XPE6AHhsw8OggFAkjAjK45G6AiC3v/Jp0o0iZux3JTjT12NTiijH4wxHXCBJ 8649WdvT5GDUTnH1iEDWmdQBayoJxpd42UTOR3i2hwXlRmCykltgFW6F9gBPPZT1cb8V 7B09OpQYZwkC3Kjapu0bX2V+41APCUovuJJsZWihVWDJ1VMTJ5TH0QaywHRcaoy3uWso 7rrFcFW/DZ11YQhrOcav69BcxvyZAc8PZ9Z5x33B7JzSl3iHdXz49nYSLDrZTTwfMET1 Q0Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=hHBoM8SHwdBEaWX2iAGcaH4kBm1sUEH4S2Rc86Zg3WE=; b=OgqA91xhxXRpKx+CNbcUCkrjRMXc2E8GSeTWVXyFuJsXFRZUQAfj/Q6goSB/7gv6s7 xQTn67Jiyt4c6GlV5J3vmAONuRpPB6fvqd9skGfcE8mZ5xKsOSbq/XRYsfBIonNSfE+2 3o/tYWPJsMMJr6rI3d6CGwygVFWjSwQ2J7JFbpuVq4uHoFxekbkYjfMSBcBpKTUh6LWF 7ITo9MCbHxwQipEYJJq5HKN7k4sIGVMDr6ar0z02q6ht5P6nGRjAkR63BU8/fDDvCl0d B3IcQfrO83b67rDOUPwwBYflKHKBqagHv+QxR5/0yIPNyYFHIs024t+0XrWK4QceXKoQ N26g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=CNL5T8mA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si3009326edx.348.2020.12.04.07.28.23; Fri, 04 Dec 2020 07:28:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=CNL5T8mA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730587AbgLDPXU (ORCPT + 99 others); Fri, 4 Dec 2020 10:23:20 -0500 Received: from gproxy8-pub.mail.unifiedlayer.com ([67.222.33.93]:52060 "EHLO gproxy8-pub.mail.unifiedlayer.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730570AbgLDPXT (ORCPT ); Fri, 4 Dec 2020 10:23:19 -0500 Received: from cmgw14.unifiedlayer.com (unknown [10.9.0.14]) by gproxy8.mail.unifiedlayer.com (Postfix) with ESMTP id BC9E11AB24C for ; Fri, 4 Dec 2020 08:22:28 -0700 (MST) Received: from bh-25.webhostbox.net ([208.91.199.152]) by cmsmtp with ESMTP id lCuikx5vmwNNllCuik8kpb; Fri, 04 Dec 2020 08:22:28 -0700 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.3 cv=Icqpp1ia c=1 sm=1 tr=0 a=QNED+QcLUkoL9qulTODnwA==:117 a=2cfIYNtKkjgZNaOwnGXpGw==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=kj9zAlcOel0A:10:nop_charset_1 a=zTNgK-yGK50A:10:nop_rcvd_month_year a=evQFzbml-YQA:10:endurance_base64_authed_username_1 a=gAnH3GRIAAAA:8 a=gEfo2CItAAAA:8 a=ANbo8Dlv8gLl3pwesY4A:9 a=CjuIK1q_8ugA:10:nop_charset_2 a=oVHKYsEdi7-vN-J5QA_j:22 a=sptkURWiP4Gy88Gu7hUp:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hHBoM8SHwdBEaWX2iAGcaH4kBm1sUEH4S2Rc86Zg3WE=; b=CNL5T8mAtKFCRlkTXwzfz7p/Ef +gEISxL/rQdU6xkQQPdEwa9auJGzJQLwjant+txLeAu48HsYRgt4wefI0nNpYtSUB57mRmh0Tp6oJ CO4F5tL40Ijn8PT/riFUYaX1j6GcljekODBX8AfWxj0/PRWXXGDtnpmLLAXcSjjxLXwwG2CxUZswM GXtCzsMPt0JQrDRDNWeNNcp341GSTNmT2s4ZaoP9cNavTj+GaFjKdJDIAMSBWyUTtRUC4mUAD82xB 7t/8rNC/TVUJl4dv0JRue5WiJbCS4DZsEmdYyh4X/zxkW6tstKIhdcFaLujKnM3d672MCu3ZWpAI8 ZyetWoQw==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:46528 helo=localhost) by bh-25.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1klCuh-001kRd-Nt; Fri, 04 Dec 2020 15:22:27 +0000 Date: Fri, 4 Dec 2020 07:22:26 -0800 From: Guenter Roeck To: alexandru.tachici@analog.com Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Weston.Sapia@analog.com, Brad.Lovell@analog.com, Sal.Afzal@analog.com, robh+dt@kernel.org Subject: Re: [PATCH v3 3/3] dt-binding: hwmon: Add documentation for ltc2992 Message-ID: <20201204152226.GC135107@roeck-us.net> References: <20201203071155.68859-1-alexandru.tachici@analog.com> <20201203071155.68859-4-alexandru.tachici@analog.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201203071155.68859-4-alexandru.tachici@analog.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-BWhitelist: no X-Source-IP: 108.223.40.66 X-Source-L: No X-Exim-ID: 1klCuh-001kRd-Nt X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 108-223-40-66.lightspeed.sntcca.sbcglobal.net (localhost) [108.223.40.66]:46528 X-Source-Auth: guenter@roeck-us.net X-Email-Count: 22 X-Source-Cap: cm9lY2s7YWN0aXZzdG07YmgtMjUud2ViaG9zdGJveC5uZXQ= X-Local-Domain: yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 03, 2020 at 09:11:55AM +0200, alexandru.tachici@analog.com wrote: > From: Alexandru Tachici > > Add documentation for ltc2992. > > Signed-off-by: Alexandru Tachici Side note: You are supposed to keep previous Reviewed-by: tags unless there was a change. Applied, with Rob's Reviewed-by: tag added back. Guenter > --- > .../bindings/hwmon/adi,ltc2992.yaml | 80 +++++++++++++++++++ > 1 file changed, 80 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml > > diff --git a/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml b/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml > new file mode 100644 > index 000000000000..64a8fcb7bc46 > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml > @@ -0,0 +1,80 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/hwmon/adi,ltc2992.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Linear Technology 2992 Power Monitor > + > +maintainers: > + - Alexandru Tachici > + > +description: | > + Linear Technology 2992 Dual Wide Range Power Monitor > + https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2992.pdf > + > +properties: > + compatible: > + enum: > + - adi,ltc2992 > + > + reg: > + maxItems: 1 > + > + '#address-cells': > + const: 1 > + > + '#size-cells': > + const: 0 > + > + avcc-supply: true > + > +patternProperties: > + "^channel@([0-1])$": > + type: object > + description: | > + Represents the two supplies to be monitored. > + > + properties: > + reg: > + description: | > + The channel number. LTC2992 can monitor two supplies. > + items: > + minimum: 0 > + maximum: 1 > + > + shunt-resistor-micro-ohms: > + description: > + The value of curent sense resistor in microohms. > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + i2c1 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + ltc2992@6F { > + #address-cells = <1>; > + #size-cells = <0>; > + > + compatible = "adi,ltc2992"; > + reg = <0x6F>; > + > + channel@0 { > + reg = <0x0>; > + shunt-resistor-micro-ohms = <10000>; > + }; > + > + channel@1 { > + reg = <0x1>; > + shunt-resistor-micro-ohms = <10000>; > + }; > + }; > + }; > +... > -- > 2.20.1 >