Received: by 10.192.165.156 with SMTP id m28csp1047899imm; Mon, 16 Apr 2018 13:09:34 -0700 (PDT) X-Google-Smtp-Source: AIpwx49gNUs9bi9KUgXm5hv5M7tmLgdjxwvHR0+loHVfryVL2Mxy1bwAW9qfp0HYpzAWjJPFgRG6 X-Received: by 2002:a17:902:b40d:: with SMTP id x13-v6mr16359506plr.167.1523909374123; Mon, 16 Apr 2018 13:09:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523909374; cv=none; d=google.com; s=arc-20160816; b=hUgywVzW3o7lSk5Fb4tIUmz5q9giMbeNGgvau2i7tu8yPmp1zhRryeBCWgKjhyGQNX 2v50peEWU0JHkSUeRY5ucdvHR7hH9uDC72Fi3zz3+bM/RF4/mXjkteq8ef6IrOgABbVJ d29F7feOg6cAF1/zBjmQ7YOUJH4f9ZtZtXIPiKKpfqwvQenP+IlfYA5AwGGY7z9m7lc7 ikwGof5IyHfoDKruyi49FVhr2nn5RSOSPEGAPR4MdZP9+Bvm+j/tuHtnNX7esP5AL2Xe jmVUiNMn/LXwEYM+XdaN7sooiKaWfIPK8Sy6NyBEWKpvRB2qavDoiZOOt0A/mxSZ/oV7 6lHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=Nr4jeu7yimzwsnMut3ry7eSf8QOa34c+p2HHnHyikIg=; b=YjCAuO5m5nm1bGIXt3KIcxzb1WBOxNr0vqfpFYUa5o1PKlA+TBlP6DWM68hCNBjIa9 DLdCAmPWz8qd/rR2PNr4zWeWSTbms4EZm7i0v1rVpbTWb3+AFkDuVnfq2wuHErTXE1U/ HRorxRjb77Id6bYeb3EDuejoEu49cSgf+DTBRTGx3HiSJWNPEI81tmQgDGJsVeyvpSQt ToCmtT/rE7v26nRrdrvsULcLvYbI7YNHZS9S/ZnqaCGqePtt1Kfx9tWeiwTUs3yHYHPY /YgvccESY+/AcGozWl362NFnjqwEUWMMnS1w3qOai6ZQHXzRQx/ibug/x5pudIALZbMa UXgw== 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 a61-v6si12796572pla.400.2018.04.16.13.09.18; Mon, 16 Apr 2018 13:09:34 -0700 (PDT) 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 S1753530AbeDPUIJ (ORCPT + 99 others); Mon, 16 Apr 2018 16:08:09 -0400 Received: from mail-ot0-f195.google.com ([74.125.82.195]:37323 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753323AbeDPUIH (ORCPT ); Mon, 16 Apr 2018 16:08:07 -0400 Received: by mail-ot0-f195.google.com with SMTP id y46-v6so18859445otd.4; Mon, 16 Apr 2018 13:08:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Nr4jeu7yimzwsnMut3ry7eSf8QOa34c+p2HHnHyikIg=; b=gd15tdJWkNOk9s0UNGaAnSKl5MKDcKAICGrVGrcd0g272zotI73JZ/aJ/QnoBDTkPD Yv89oG0+ER7yav5vcVpzsjN+S7mX2N1qPSPFCJVeG6QpGkB+bAfOAnulG0Oz8K/sPpm9 NQbKQam4x600OLl8xEeY0oYZ/EKzAI0i14yArZCncGWFLCN60QTZMx0dInMK2R2lCcVv SHS7rlCw1pcE+t4MX5EG5bnsq83d2UBZ8MAE9XQrBSYITjG0nz9y79MTwDMA07BbalST y3qOQBoWxFbDjAyrACTQkxSDfrtgwNtPNHis5GbNg1DrhNaDrJ+QGKeJ6thTW3f9dH72 cPDA== X-Gm-Message-State: ALQs6tD2ASdq+yd5vgDpzvR8wAbsfCQ8BeF1CA+fK6sCPsxu8LXoFWYv 4v+tovv8KCXIK3C7ozmzwg== X-Received: by 2002:a9d:5f87:: with SMTP id g7-v6mr10882954oti.139.1523909287059; Mon, 16 Apr 2018 13:08:07 -0700 (PDT) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id 85-v6sm7968091oie.8.2018.04.16.13.08.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Apr 2018 13:08:06 -0700 (PDT) Date: Mon, 16 Apr 2018 15:08:05 -0500 From: Rob Herring To: =?iso-8859-1?Q?Hern=E1n?= Gonzalez Cc: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, Michael.Hennerich@analog.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Rutland , devicetree@vger.kernel.org Subject: Re: [PATCH v2 11/14] staging: iio: ad7746: Add devicetree bindings documentation Message-ID: <20180416200805.nybyyrribqvnigh3@rob-hp-laptop> References: <1523637411-8531-1-git-send-email-hernan@vanguardiasur.com.ar> <1523637411-8531-12-git-send-email-hernan@vanguardiasur.com.ar> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1523637411-8531-12-git-send-email-hernan@vanguardiasur.com.ar> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 13, 2018 at 01:36:48PM -0300, Hern?n Gonzalez wrote: Commit msg? > Cc: Rob Herring > Cc: Mark Rutland > Cc: devicetree@vger.kernel.org > Signed-off-by: Hern?n Gonzalez > --- > .../devicetree/bindings/staging/iio/cdc/ad7746.txt | 34 ++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 Documentation/devicetree/bindings/staging/iio/cdc/ad7746.txt > > diff --git a/Documentation/devicetree/bindings/staging/iio/cdc/ad7746.txt b/Documentation/devicetree/bindings/staging/iio/cdc/ad7746.txt > new file mode 100644 > index 0000000..7740f05 > --- /dev/null > +++ b/Documentation/devicetree/bindings/staging/iio/cdc/ad7746.txt > @@ -0,0 +1,34 @@ > +Analog Devices AD7746/5/7 capacitive sensor driver > + > +Required properties: > + - compatible: Should be one of > + * "adi,ad7745" > + * "adi,ad7746" > + * "adi,ad7747" Alignment. > + - reg: The 7-bits long I2c address of the device > + > +Optional properties: > + - adi,exclvl: This property defines the excitation voltage level for the > + capacitance to be measured. Possible values are: > + * 0 = +-VDD/8 > + * 1 = +-VDD/4 > + * 2 = +-VDD * 3/8 > + * 3 = +-VDD/2 (Default) > + - adi,nexca_en: Invert excitation output A. > + - adi,nexcb_en: Invert excitation output B. s/_/-/ > + > +Example: > +Here exclvl would be 1 (VDD/4), Excitation pin A would be inverted and > +Excitation pin B would NOT be inverted. > + > +i2c2 { > + > + < . . . > > + > + ad7746: ad7746@60 { > + compatible = "ad7746"; > + reg = <0x60>; > + adi,exclvl = <1>; > + adi,nexca_en; > + }; > +}; > -- > 2.7.4 >