Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1435261ybl; Tue, 3 Dec 2019 07:09:12 -0800 (PST) X-Google-Smtp-Source: APXvYqxGEPEDDC34qs2wY0dwUVz6yDBi7QXo2Wi1/ZhmjSyLIB7mb79jn+GUBdUk4Usm5dGbKp0t X-Received: by 2002:a05:6830:1459:: with SMTP id w25mr3233927otp.270.1575385752475; Tue, 03 Dec 2019 07:09:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575385752; cv=none; d=google.com; s=arc-20160816; b=qoZeWLiiGUayr2bEWBUJWAAICcpLLvL338gt8g0n7cOePW6oVDDYI705FnF7DA5koA naSqpMc+j820ud4twBfxz3qYWfmBKxLyFmzidI3FQ7euC6IDy2/SV+jESqvheh2QjDOt +BVmYLh7PIQJjymGlaH5BBcyF3iN9pv9YbW7SnmYnLT8u2AkdD7Nx5Bd1jOyk+SeSH+4 SJdIa4U306u81iyphe2sbJ5ScPHSOp4H/ihnpIMA0+ZW2Rzy8RM/0W1zqrk0nKiXuKwL bz3IrYcm0EmtTT9US6mpDIKJhJDu4Ht0v3tT0MOIR+cRfJDAap74ehIKGz6S8DJAGFqo X0yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=vuBgxT+Qbk3ubYCJQymif0bEiJiXCbEoz1v3OhqyqTo=; b=w2qU3lqjJIwkNF1bMhTfhDtg/03gwRayphCo0Od+RuKQdiWrpR8QBQEVB0Zi04HM/1 Hc0cvClJtbKT59ywnbakeyYAZGLHDfyHV1035rljoGGXPkBGZCwlA/V/4altd8mJf2ZJ PNPm0n58kqRonwZSmu7gtJWLTLOxQHY/GJJ8KIyp4jHwzCMu9JygVCW8tX3pTqJlAn9I T4oM2j9Ko9fyT0+FxsCK+daiUDCpapoC6XIK1LtKaPii9ILtKvK/iFLCdu3CN35eTiL9 0jqGcQCOCKZPvKoEAjiggu99mjdbbZs/rDOpY7P2UPEY/PoLOHiWJL+zmWZ3m5bs8fX8 9Jqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=OcOLLSM2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z6si1412340oic.18.2019.12.03.07.08.57; Tue, 03 Dec 2019 07:09:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=OcOLLSM2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726908AbfLCPG6 (ORCPT + 99 others); Tue, 3 Dec 2019 10:06:58 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:42250 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726138AbfLCPG5 (ORCPT ); Tue, 3 Dec 2019 10:06:57 -0500 Received: by mail-pl1-f196.google.com with SMTP id x13so1799706plr.9; Tue, 03 Dec 2019 07:06:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=vuBgxT+Qbk3ubYCJQymif0bEiJiXCbEoz1v3OhqyqTo=; b=OcOLLSM21Dry/Jx7rBKSDi7fbfayCR6F2Sw71nKmjXhnewkuGLaC0KJrTWbvJE+Qgn LoM5gF9ZC9LoP2bKmW7ZZo2XqW+NAHswxmzSSNJC2SFez7Z5Xyy1Kr3OApohGUgSo+jH 99JfMsHOXyx8V/Ki5WAX2TUTlJAUb1IG5vMllxIE7HlDTe/LWz7C3WgDDJgFyhDeE8Si 3rEM1WdOamqJ3J2k/PkcIhAPqnCqE+CEYipSHaPpQaIEx1R0DOg5gRHQqrRyHVK2Hvdd 7TTv/fekDOShV9LqmOYQfVVOckKdbfcub4iPGqO2WT3HGeHu+rC+EyB+gMLDfaVjkZJX lvyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vuBgxT+Qbk3ubYCJQymif0bEiJiXCbEoz1v3OhqyqTo=; b=m5rGHEZUClpizcaq+UiP7ayhIBGDy+l2HUKjW+uEAx/IFCTfIYZzS8zBXNLXKo2Cmd Srt/mWjJJQ9nLq3pBRjkVhuEXoetSLy5T0zf+2aZzvx26eKGOld1tDaVGO0uzwr9Mrg7 gugcRPyCiX1iXQ5dhs2QdHh470WmcDUIfeKSStvQ+Qug4MwZFEgpPztmrRaYY1Qr7R9Q eRdi/tNI0V270K4rdO6x2yfWt/43LS2lldMbpaU5klgzoJRpZghtjPN0O1BAJT8L/8FJ wXcVuklm69Lix+YHHPedtyek7E7/Glv8XIwAznWg3cagg9P4QWEwH4/DlOw9E7RAbRct 78+Q== X-Gm-Message-State: APjAAAXG0hjClAsjUGZxnXBRRwa6XWMoTM1ieOQa5TdR96n50tArtI0r 3jbixgbMQp4DEPQPp6bzrd4= X-Received: by 2002:a17:902:8498:: with SMTP id c24mr5227759plo.223.1575385616912; Tue, 03 Dec 2019 07:06:56 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id r6sm1925649pfh.91.2019.12.03.07.06.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Dec 2019 07:06:55 -0800 (PST) Subject: Re: [PATCH 2/3] dt-binding: iio: Add documentation for ADM1177 To: Beniamin Bia , linux-hwmon@vger.kernel.org Cc: Michael.Hennerich@analog.com, linux-kernel@vger.kernel.org, jdelvare@suse.com, mark.rutland@arm.com, lgirdwood@gmail.com, broonie@kernel.org, devicetree@vger.kernel.org, biabeniamin@outlook.com References: <20191203135711.13972-1-beniamin.bia@analog.com> <20191203135711.13972-2-beniamin.bia@analog.com> From: Guenter Roeck Message-ID: Date: Tue, 3 Dec 2019 07:06:54 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191203135711.13972-2-beniamin.bia@analog.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/3/19 5:57 AM, Beniamin Bia wrote: > Documentation for ADM1177 was added. > Subject still points to iio. > Signed-off-by: Beniamin Bia > --- > .../bindings/hwmon/adi,adm1177.yaml | 65 +++++++++++++++++++ > 1 file changed, 65 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml > > diff --git a/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml b/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml > new file mode 100644 > index 000000000000..abd9354217ba > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml > @@ -0,0 +1,65 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/hwmon/adi,adm1177.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor > + > +maintainers: > + - Michael Hennerich > + - Beniamin Bia > + > +description: | > + Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor > + https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf > + > +properties: > + compatible: > + enum: > + - adi,adm1177 > + > + reg: > + maxItems: 1 > + > + avcc-supply: > + description: > + Phandle to the Avcc power supply > + > + adi,r-sense-micro-ohms: > + description: > + The value of curent sense resistor in microohms. There is a standard property for that (shunt-resistor-micro-ohms). > + > + adi,shutdown-threshold-microamp: > + description: > + Specifies the current level at which an over current alert occurs. > + > + adi,vrange-high-enable: > + description: > + Specifies which internal voltage divider to be used. A 1 selects > + a 7:2 voltage divider while a 0 selects a 14:1 voltage divider. > + type: boolean > + > +required: > + - compatible > + - reg > + - adi,r-sense-micro-ohms > + - adi,shutdown-threshold-microamp > + > +examples: > + - | > + #include > + #include > + i2c0 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + pwmon@5a { > + compatible = "adi,adm1177"; > + reg = <0x5a>; > + adi,r-sense-micro-ohms = <50000>; /* 50 mOhm */ > + adi,shutdown-threshold-microamp = <1059000>; /* 1.059 A */ > + adi,vrange-high-enable; > + }; > + }; > +... >