Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6934591imu; Mon, 3 Dec 2018 05:18:00 -0800 (PST) X-Google-Smtp-Source: AFSGD/VNZ7yrLbgh5KXnoJMEvGzJ8x/4IzV7RaCEqgIaoc0zTfQ35F5NnmDj1V39UDXybLZW6VCl X-Received: by 2002:a17:902:925:: with SMTP id 34mr15337574plm.14.1543843080012; Mon, 03 Dec 2018 05:18:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543843079; cv=none; d=google.com; s=arc-20160816; b=PL24ESSxWJoyvgJWb13jtF/JRnlXk179PfkWrqR/bJpCkWOkCU8HAtC6vK3JxEm35N G0dDldR0hzDHm13TXDdPPQHF6iAcIv28qLn2BDtVV/leruBad+7BkwJAGzXYvdecwk4M vSsiXEJhJL4QuIXEuJSGoX6DmAd0N090mrZjoGpqr53Dx5SCd9NWRdGaLGKF2RUn6uUd 5a0ujTjI2NEd5R1L8cTuf4EXP0e8V+ATB6foVpJwjWk4cL65a46pLAj2fkKtOf7uBJH6 EDfnssNEuMokcKNHtPMFu9yYyg/9drkHFyJFUNueiwKpQELt2B+uFSASACznj0dBjSJe ZWuA== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=Y1qUyNPTWD3NA17ilNaVH41GTscguyFp9F46WqXO+Oo=; b=XX3+oKKFSJNASNawWlu9t1VoqzQm3VgnncBJw7Px+zp9UUJZMML1q5rC4NDl4w9pg3 v9KIl2/hBxXPl8oHV/DM0kVFoHoyyHXM6cKpTJksjDNcZowmyzUIWBCJ9WRLGmptyrbF djReyNNowAQN9qnc77ToRi3skuVLchhX2pEMzsLPn0Fg4XX4QzK+cbrccM1u2v9Fo9lU UkxJTncLzblgtTReLoIfgyV0cs6kib8an/qDpfKk32ebJiCu2faKrkjTz3HsHffU3mIs Ujf0SDOlZizQbiYyDZhEOLBmMUwyg4Pnalk1U15AiPSdmGTXebRGmJYzT5KShnWFi+Io NNWg== ARC-Authentication-Results: i=1; mx.google.com; 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 5si12523069pgf.579.2018.12.03.05.17.44; Mon, 03 Dec 2018 05:17:59 -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; 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 S1725985AbeLCNRw (ORCPT + 99 others); Mon, 3 Dec 2018 08:17:52 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:42107 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725830AbeLCNRv (ORCPT ); Mon, 3 Dec 2018 08:17:51 -0500 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 067E4A2AC0FC; Mon, 3 Dec 2018 21:16:35 +0800 (CST) Received: from localhost (10.202.226.46) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.408.0; Mon, 3 Dec 2018 21:16:33 +0800 Date: Mon, 3 Dec 2018 13:16:21 +0000 From: Jonathan Cameron To: Marcelo Schmitt CC: , , , , , , , , , Subject: Re: [PATCH] staging: iio: ad5933: add binding doc for ad5933 Message-ID: <20181203131621.00002a40@huawei.com> In-Reply-To: <20181202165712.t6pd6ygq57llf2lr@smtp.gmail.com> References: <20181202165712.t6pd6ygq57llf2lr@smtp.gmail.com> Organization: Huawei X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.226.46] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2 Dec 2018 14:57:12 -0200 Marcelo Schmitt wrote: > Add a devicetree documentation for the ad5933 and ad5934 impedance > converter, network analyzer. > > Co-Developed-by: Gabriel Capella Put this in line below Gabriel's sign off - it makes script parsing of these easier. Signed-off-by: Marcelo Schmitt Signed-off-by: Gabriel Capella Co-Developed-by: Gabriel Capella > > Signed-off-by: Marcelo Schmitt > Signed-off-by: Gabriel Capella > --- > .../iio/impedance-analyzer/ad5933.txt | 23 +++++++++++++++++++ > 1 file changed, 23 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/impedance-analyzer/ad5933.txt > > diff --git a/Documentation/devicetree/bindings/iio/impedance-analyzer/ad5933.txt b/Documentation/devicetree/bindings/iio/impedance-analyzer/ad5933.txt > new file mode 100644 > index 000000000000..d9ae2babf016 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/impedance-analyzer/ad5933.txt > @@ -0,0 +1,23 @@ > +Analog Devices AD5933/AD5934 Impedance Converter, Network Analyzer > + > +https://www.analog.com/media/en/technical-documentation/data-sheets/AD5933.pdf > +https://www.analog.com/media/en/technical-documentation/data-sheets/AD5934.pdf > + > +Required properties: > + - compatible : should be one of > + "adi,ad5933" > + "adi,ad5934" > + - reg : the I2C address > + - vdd-supply : supply reference for the device. > + > +Optional properties: > + - vref_mv : default voltage reference. Regulator framework rather than a simple voltage. > + - ext_clk_hz : external master clock for the system. Please use the clocks framework for this rather than rolling our own. There are fixed clocks to cover the common case, but it may be supplied by something smarter. > + > +Example: > + > + impedance-analyzer@0d { > + compatible = "adi,ad5933"; > + reg = <0x0d>; > + vdd-supply = <&vdd_supply>; > + };