Received: by 10.213.65.68 with SMTP id h4csp1302608imn; Wed, 21 Mar 2018 07:32:37 -0700 (PDT) X-Google-Smtp-Source: AG47ELuxdyqrlFAYFeylVOHm46bTI5h/YgI7wHJC9NhCUCDmoud41ztckfRNF6qXwlzB9ZKrzSDR X-Received: by 10.99.62.193 with SMTP id l184mr14771201pga.87.1521642757396; Wed, 21 Mar 2018 07:32:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521642757; cv=none; d=google.com; s=arc-20160816; b=KED2Nu2H53I06CVNJaL5oVL0P7YhGtbjgLquChUgAKRakzNrba9vneYl5xc0PzUjk/ Qu+ezSU49MTL2bWWN1t6pdcEdUqPUihOw5UlXHIvcH6hvC0h/mQIKArBRog9i7qtOaT5 aAmsX3o5c4CQQINmvK+BpTWG6G/mmsChg/khIETlcfencLvCCKcqlNAXbBCgPnczaELt ayC7HgPJp3UdPH0I2+rwEPiQkslocAVXvPGt82RF9nsp/EKrudi6HZjgHh9DnQC8EIe3 QMjk7G8kuoFsomQ8VJSRl1EDNpCHUbIwxgWNdx4EJOuCKPguX4o4YdlqZxbeN6jUlZHS OClQ== 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 :references:in-reply-to:message-id:date:subject:to:from :dkim-signature:arc-authentication-results; bh=hrUAMl9um4vtAOsjn4NfBJLoY0Dpbt5Y/BCkVt06SQc=; b=hKREpThC+6HRP/JJonkDU9bAv5g32hMFREbUbTfmCwG6RTjOE87gF4lh1CxARQ63A1 OwkzF7G12tk7qLyl9PWn9RndzEEr30DfPEPzp8ChAM2r2UXXWTHGBmPBGzEXypLNb6ck 3hXp9U1FjfKANOX+WsjhGMAcQ5gh07Bnw3b4dD1hmxW9cpAhT8ccwWi7JWUEP9A8ExEh 3HNQh0PcH6SRP3uGt1JTz0MCgxJn4/9d2eDjWOO9cCinChUdk5PBZPpz6ZOi864ut3Jg oO30+ANETOKZwk9VzSe3Qqke+tJsCbKnfrT50VtfljOISg8rrZvj1FSfif7ckFzr6IXd ySQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=V9nntm74; 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 i8si2904785pgt.279.2018.03.21.07.32.22; Wed, 21 Mar 2018 07:32:37 -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; dkim=pass header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=V9nntm74; 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 S1752532AbeCUOak (ORCPT + 99 others); Wed, 21 Mar 2018 10:30:40 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:40035 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752400AbeCUOac (ORCPT ); Wed, 21 Mar 2018 10:30:32 -0400 Received: by mail-qk0-f196.google.com with SMTP id o64so5615850qkl.7 for ; Wed, 21 Mar 2018 07:30:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=hrUAMl9um4vtAOsjn4NfBJLoY0Dpbt5Y/BCkVt06SQc=; b=V9nntm74AXz2RoahjSTGd6Kflm1ltSXiJ6dC7IgBLzGgVF8o0g5ojn1+4ZqMnI4rN3 9RQZJ+zaXTMxT1NE0xdfmcwKI3EWktS3sRZFOGu6QlVumcIqofAjwmuoWMjTk3YfC5GV HX8xgmUBeZKt+8Y80J1Nguz87WEpmKg97Rp0YO1m4NZtFw11p2ywZxuX6CCwBM4wpGzu qecC7iXNik2azoUzr6+a1A0sxtO1UoZOAKfVlvLZMxPCCDrHTVkFRT215AVTUwh5iVk9 tshM/wdPndwcgvjGZLgCSlX2oj8cYe/S16CVjdtuSDKeOC6Vf/jnotnzweXMRw5DfBSA p0TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hrUAMl9um4vtAOsjn4NfBJLoY0Dpbt5Y/BCkVt06SQc=; b=KnHPP4zwnPG7gpri9oKYZW04Py4n3HiJyMQzuMpnlllaCgbscX/eLGjGInyOH8ziRM AjvzKXf3e21pd2WE/BETVCcSSVao7nEf8xgvDpaa8XXviP1S57ruGPbgwSeQD4oYIp1U 7gyayZrINckJbUR74/wFW3ISP5Mw9BRRcrTvZmzGyK/wuTYhvGgyaWC/NXYnnxewmuOY T7SRwUolqQCgAbgof3R0LemBrfusTqaydBYStfMaNQxiWCOrEyQZiRJKEDWpKOU6QnYL FcWUM4kBMxb29EHs+MxljC288k/ddr/IkV10LZB26CW6T1kFtD6mXWqfAMzlBmgTtOVj G/0Q== X-Gm-Message-State: AElRT7GqzMeOY8ftlqjUMw8OqInajj7M7A6MzQhA10Z+v8CyHvm2imrO PVuRNspo4uxCZ0rCypoE9fhlzA== X-Received: by 10.55.161.130 with SMTP id k124mr29925397qke.113.1521642632165; Wed, 21 Mar 2018 07:30:32 -0700 (PDT) Received: from localhost.localdomain ([190.210.56.45]) by smtp.gmail.com with ESMTPSA id g14sm3118592qtk.71.2018.03.21.07.30.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Mar 2018 07:30:31 -0700 (PDT) From: =?UTF-8?q?Hern=C3=A1n=20Gonzalez?= To: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, hernan@vanguardiasur.com.ar Subject: [PATCH 09/11] staging: iio: ad7746: Add devicetree bindings documentation Date: Wed, 21 Mar 2018 11:28:57 -0300 Message-Id: <1521642539-4845-10-git-send-email-hernan@vanguardiasur.com.ar> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521642539-4845-1-git-send-email-hernan@vanguardiasur.com.ar> References: <1521642539-4845-1-git-send-email-hernan@vanguardiasur.com.ar> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: HernĂ¡n Gonzalez --- .../devicetree/bindings/staging/iio/cdc/ad7746.txt | 32 ++++++++++++++++++++++ 1 file changed, 32 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..13d0056 --- /dev/null +++ b/Documentation/devicetree/bindings/staging/iio/cdc/ad7746.txt @@ -0,0 +1,32 @@ +Analog Devices AD7746/5/7 capacitive sensor driver + +Required properties: + - compatible: Should be one of + * "adi,ad7745": When using the AD7745 device + * "adi,ad7746": When using the AD7746 device + * "adi,ad7747": When using the AD7747 device + - reg: The 7-bits long I2c address of the device + +Optional properties: + - adi,exclvl: 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. + +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