Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4168845ybl; Mon, 13 Jan 2020 09:01:12 -0800 (PST) X-Google-Smtp-Source: APXvYqxDspaqF9goKxyTYUkjO/2btBNb1x9JKgN4VIcEx0Pr9PiEpq+RhQZ4nSmwKt+ZaOomHDEw X-Received: by 2002:aca:1c1a:: with SMTP id c26mr13749266oic.75.1578934872556; Mon, 13 Jan 2020 09:01:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578934872; cv=none; d=google.com; s=arc-20160816; b=USZD8caAzkuXPAjzl1dm9OyqIrGkkd+gTbDRwj464VebP4TK2Kk843TOSkSyTrKa/f 3iUBr+Fn5xPPDGr6+Q+ShN2paFpTvCftp/Nsk7TvGUwMB0EvsVh8Wlc3FHfvK1NlCX9W n8nNZXTUdn+hd+dBinH2ISzI11A7GTcfSRDKG/+HXGdyWdVtVAhlxsrK2tB8O39l4mdx evfjmR/mJ9lJbmnGZiFDRiBvk/SwbtMaQce6Ht595GEL+We+PWkISLBb/+BaO28ZuEDN uFumQS4/lfJ646DUyvugdcDmd65gkNrruyMhBT74gxYIeNAAOEcVCnHhMsV4EkU8h2wH vmSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=v0W0ZUPXjZFMOR4yuvqLoOwu46SEwhlusrdtpjSsu0g=; b=HimOYRazpfpo0dxpYwbh9LMC4YZmqJ9RCSsc8PpWlWXlrUr+TdjT5r/GJQckOntLlB Xnaxmwv6puuS4PuvG9Bv2KFulFr4aMRzFVVgLrSw7xGhwataywzU6RVGJx5IA2YXLw7D CeAu8BYUzAB4JE2e4jnTOYpmnO9iLkF5QO1sFjB7Azk0XSUOkDsaTy8sqT2TjKVO/TRu gNjfk+g54RFPLEFXioMEePtf7UAN1j46maXNDuoK8+GgpqktLkGEWsoAaevkeUXdW/Ar trtD1/DdA5gZ8tzybXsJFPSXH7BsaoMdpYPRRPDlxAFpmotZJIRJzLKln9XDuiYXM8He WKGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1D9C8fHU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i65si6519579oif.15.2020.01.13.09.00.58; Mon, 13 Jan 2020 09:01: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=pass header.i=@kernel.org header.s=default header.b=1D9C8fHU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728738AbgAMQ76 (ORCPT + 99 others); Mon, 13 Jan 2020 11:59:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:55668 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726943AbgAMQ76 (ORCPT ); Mon, 13 Jan 2020 11:59:58 -0500 Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 53BBF2084D; Mon, 13 Jan 2020 16:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578934797; bh=C887XgOr4yGGRx4kPw2J3hdbZjSJ9qRttgMw4Hl24fg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=1D9C8fHU2yZUL+2lmol0ZrU01jwRVA5wBpRHU7VvTXBBmtti9KxXA7KN+eRcVoWtN iuQO2VyLDLK8f9zxic3EpKNLWVAH+cPfJ7CA0Sm5xdFsPLvm1m6cmYr13FHchedfzT TitcgIyfNDw3yBWs1kw/L2DdUy6OikKQoSBAXQRI= Received: by mail-qk1-f178.google.com with SMTP id z14so9124248qkg.9; Mon, 13 Jan 2020 08:59:57 -0800 (PST) X-Gm-Message-State: APjAAAU1CMOZX6t9fi4m2Lxdgb7tXpe3nP50WrE8f3zGC7nZ87CFOBhx aZdzq1nhQPaS8SgHyKEORkJFJRyZAA05dHuHDg== X-Received: by 2002:ae9:f205:: with SMTP id m5mr17209224qkg.152.1578934796459; Mon, 13 Jan 2020 08:59:56 -0800 (PST) MIME-Version: 1.0 References: <20200107105929.18938-1-beniamin.bia@analog.com> <20200107105929.18938-2-beniamin.bia@analog.com> In-Reply-To: <20200107105929.18938-2-beniamin.bia@analog.com> From: Rob Herring Date: Mon, 13 Jan 2020 10:59:45 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/3] dt-binding: hwmon: Add documentation for ADM1177 To: Beniamin Bia Cc: Linux HWMON List , Michael Hennerich , "linux-kernel@vger.kernel.org" , Jean Delvare , Guenter Roeck , Mark Rutland , Liam Girdwood , Mark Brown , devicetree@vger.kernel.org, biabeniamin@outlook.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 7, 2020 at 4:58 AM Beniamin Bia wrote: > > Documentation for ADM1177 was added. > > Signed-off-by: Beniamin Bia > Reviewed-by: Rob Herring > --- > Changes in v3: > -nothing changed > > .../bindings/hwmon/adi,adm1177.yaml | 66 +++++++++++++++++++ > 1 file changed, 66 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml This is breaking linux-next. Please fix and run 'make dt_binding_check': Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml: while scanning a block scalar in "", line 51, column 5 found a tab character where an indentation space is expected in "", line 61, column 1 > > diff --git a/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml b/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml > new file mode 100644 > index 000000000000..65ef95328bc6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml > @@ -0,0 +1,66 @@ > +# 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 > + > + shunt-resistor-micro-ohms: > + description: > + The value of curent sense resistor in microohms. If not provided, > + the current reading and overcurrent alert is disabled. > + > + adi,shutdown-threshold-microamp: > + description: > + Specifies the current level at which an over current alert occurs. > + If not provided, the overcurrent alert is configured to max ADC range > + based on shunt-resistor-micro-ohms. > + > + 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 > + > +examples: > + - | > + #include > + #include > + i2c0 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + pwmon@5a { > + compatible = "adi,adm1177"; > + reg = <0x5a>; > + shunt-resistor-micro-ohms = <50000>; /* 50 mOhm */ > + adi,shutdown-threshold-microamp = <1059000>; /* 1.059 A */ > + adi,vrange-high-enable; > + }; > + }; > +... > -- > 2.17.1 >