Received: by 10.192.165.156 with SMTP id m28csp897901imm; Fri, 13 Apr 2018 09:40:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx49qA3DZJqjWphuNaELXMaSMlHKphwgajjl9Wo+6DNZbapJVW36Rn+3WD1ExK/fohWi9sy+A X-Received: by 10.98.196.153 with SMTP id h25mr12174674pfk.111.1523637629504; Fri, 13 Apr 2018 09:40:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523637629; cv=none; d=google.com; s=arc-20160816; b=ISGnHVRfneWFZLNQ9uvnfuYFy/H59ZHQQoxQFeoZXUVLiJMWUwqw/PEqPgIJBpJBU/ O/J3AKhBRD6HMigwF4onEi7ud6zeUJzLPjo4zU7C41/I5Q1HZjSZxBiSQLDttiRpjEBN KxVhGqzVBx78M/Kh/8SmzcUBfhI4yUxndGubVMBDzKeduaiK1+SXz0js6dkYRgy8IHsd 1QuQDDU658wzTgKFXTf9qoaZ26+p74Qxa2gWmFv5SoOMMNxIrWbF+G+2H5fHgaPkrWOp 1aal69ozvqz3qxIoPJ0vb+AzXH0CXpI7rMuS4HKeUjfVEdX/juCnqxeDmbqqnhB2sVoO MOFQ== 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:cc:to:from :dkim-signature:arc-authentication-results; bh=fqad0JL1kL3pMkYu/Qj9OQPHjEDBrQkDFE7DHln+X4w=; b=BeyBLKPekr7mj+6Y86bIoy8WnMB6c1pUops4NQn1YjskZDasPCEUgyRZl23ESyjQMz d7TDTTnB8rFIP2Po4jpS0pi8xFfzBAblqaBFSee/irgjwjxpva8/aLr5Gql7kU1Eaft8 IN0eXgpbjeKKdMTSmQtAb85OfbkZoI2xdUKC6lrP/mfND/miBHdE2bM8C0qf9Dccv776 dQUi5rxikI9oGWiwxF6collEs5HonbhGfeM9FBBJK7nK9lRs/wSCUbgscAc6Rrbv5+Xr ZCG0WxQgDArExVa/hj+uLtNral1fSbgMr9+YIo3TpGSqzU5ELfWBKKDkFyjz25zklfZh Pckw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=CGner4T2; 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 c3si4905596pfd.185.2018.04.13.09.40.15; Fri, 13 Apr 2018 09:40:29 -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=CGner4T2; 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 S1753187AbeDMQi6 (ORCPT + 99 others); Fri, 13 Apr 2018 12:38:58 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:37140 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752736AbeDMQi4 (ORCPT ); Fri, 13 Apr 2018 12:38:56 -0400 Received: by mail-qk0-f195.google.com with SMTP id w6so9720626qkb.4 for ; Fri, 13 Apr 2018 09:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fqad0JL1kL3pMkYu/Qj9OQPHjEDBrQkDFE7DHln+X4w=; b=CGner4T2Lhg8OHr9beNLFlX1LOr9PVr7cqnHYsCU4yImkQr71SyUESyNY47kznJyVq wxHnSTPB/H/FWERypd2NfeLRkaSjD2XeJKSVQPSKQkT0FPk9rRzXT0Nq7e5qE1Lre2JB rIpHKpiQ1s/hH2Rcu5aNdwASDVk91JmWgE8uo6GmWgPArME1XP8wJJdIL1eDMt/uqj7H WHDhqqDkHdHsZnMFdKgbJoS0qv0eBDBpgKVcGgz9P5pVVnXjIO5+ZjSk0v7oLmIrd1Ua tavgRPi0s8pgFAdK0X09Bw+QJ3GxypPj9QC1VkjYlE80VBvUcq7+vx+0CQp0k2ALEXdQ ixag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fqad0JL1kL3pMkYu/Qj9OQPHjEDBrQkDFE7DHln+X4w=; b=AQDts/BxYD3uVJIZGtXxiO6ocNMNTEUZLoc55q4xfATUrhZbkSdct9VWA2AsLPOiN2 cRq33Bz4P9hf/l7FzusxPEB682pdvMjMlKzAKxLTN/DSwEndlgQo9ZHPzQ86+1jQYY5f 7S8eiWa0FDe5kCLX5+Dy3YJTlgJeaisBMIbgsOthQLNC1nz+JmB+JoqbdEneF+fslNLp aKO75PnStqcxc6g3BjCRXR/4EihuO3lC0dL392cHj73QtJkka2UeAnMBxVi8eV26sTJp V6Rt3tQbiZaH2XqLwBKsdzxV8xuV2B8jljkfwQu65VAh/hiR1ie2ZKO1pgbTHARskH1u ua1Q== X-Gm-Message-State: ALQs6tDm8NBbL5qcq1ogckaW+FQn8aA0ngcYpp5/8l6pPpTdbA1cslln WAlyEiS9cTckJiKgBrNmlFs8Mw== X-Received: by 10.55.110.5 with SMTP id j5mr5262022qkc.192.1523637535396; Fri, 13 Apr 2018 09:38:55 -0700 (PDT) Received: from localhost.localdomain ([190.210.56.45]) by smtp.gmail.com with ESMTPSA id t82sm5024687qke.52.2018.04.13.09.38.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Apr 2018 09:38:54 -0700 (PDT) From: =?UTF-8?q?Hern=C3=A1n=20Gonzalez?= To: 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 Cc: =?UTF-8?q?Hern=C3=A1n=20Gonzalez?= , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH v2 11/14] staging: iio: ad7746: Add devicetree bindings documentation Date: Fri, 13 Apr 2018 13:36:48 -0300 Message-Id: <1523637411-8531-12-git-send-email-hernan@vanguardiasur.com.ar> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523637411-8531-1-git-send-email-hernan@vanguardiasur.com.ar> References: <1523637411-8531-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 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" + - 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. + +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