From patchwork Mon Sep 16 16:02:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 20369 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 819CE2486B for ; Mon, 16 Sep 2013 16:03:13 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id u18sf4486289qcx.10 for ; Mon, 16 Sep 2013 09:03:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=O+EfLGXlRPbuJBjcAbK9imy9HltB3HhoNbzhe+2zZ4s=; b=mO0b2niccHYVTOVZOyaZHWg0RmM3SRYPhfpRF6byrSQdbYjIMRvJRH8m642Wd+CLB3 9Q1rSe1bcLgL4YOioXrK2WQkqtZXhU3fuPycS5S5mmHyrR2XlNL43IBOQEi/N3yvDLQy cADIS5LdpDRrwWXgEF5p1bGSY0b7/EWsj9W/PRjYTvHte54vacABBFgp7MLsqDsN0APX UxUUKkPHXyTTe7Y8C0kc7DFlGkqlE7f0pBSNcChZKraFY5/Su/24eDHqQBkvyHtlE5Fv 9vZx/hEeyOs4UeEX9r7JlxyQCxW3Go9Ya6hjMkTxA6RaInuhq2fWwJlUg6nc9UK2McTb rm5g== X-Gm-Message-State: ALoCoQmIaxSChQHlpyFZ43mRzWTHuzn6EZ3N9GiAvwad6kPQxlumCBau6snSixOKea3YYbO9EIb3 X-Received: by 10.224.137.67 with SMTP id v3mr38972qat.0.1379347365828; Mon, 16 Sep 2013 09:02:45 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.84.1 with SMTP id u1ls2309840qey.8.gmail; Mon, 16 Sep 2013 09:02:45 -0700 (PDT) X-Received: by 10.58.136.4 with SMTP id pw4mr28021889veb.10.1379347365664; Mon, 16 Sep 2013 09:02:45 -0700 (PDT) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by mx.google.com with ESMTPS id c11si7276315vej.52.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 09:02:45 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.53; Received: by mail-vb0-f53.google.com with SMTP id i3so2962992vbh.40 for ; Mon, 16 Sep 2013 09:02:45 -0700 (PDT) X-Received: by 10.220.10.194 with SMTP id q2mr27312134vcq.2.1379347365555; Mon, 16 Sep 2013 09:02:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp104930vcz; Mon, 16 Sep 2013 09:02:44 -0700 (PDT) X-Received: by 10.14.99.71 with SMTP id w47mr48697eef.123.1379347363892; Mon, 16 Sep 2013 09:02:43 -0700 (PDT) Received: from mail-ea0-f170.google.com (mail-ea0-f170.google.com [209.85.215.170]) by mx.google.com with ESMTPS id l4si16796390eew.161.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 09:02:43 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.170 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.215.170; Received: by mail-ea0-f170.google.com with SMTP id h14so2136468eak.15 for ; Mon, 16 Sep 2013 09:02:43 -0700 (PDT) X-Received: by 10.15.91.3 with SMTP id r3mr44311905eez.4.1379347363232; Mon, 16 Sep 2013 09:02:43 -0700 (PDT) Received: from localhost.localdomain (cpc15-aztw25-2-0-cust493.aztw.cable.virginmedia.com. [92.233.57.238]) by mx.google.com with ESMTPSA id z12sm43061275eev.6.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 09:02:42 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jic23@cam.ac.uk Cc: arnd@arndb.de, linus.walleij@linaro.org, denis.ciocca@st.com, linux-iio@vger.kernel.org, Lee Jones , devicetree@vger.kernel.org Subject: [PATCH 07/20] Documentation: dt: iio: Add binding for LPS001WP Date: Mon, 16 Sep 2013 17:02:13 +0100 Message-Id: <1379347346-823-8-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1379347346-823-1-git-send-email-lee.jones@linaro.org> References: <1379347346-823-1-git-send-email-lee.jones@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , LPS001WP is a Pressure and Temperature sensor. Cc: devicetree@vger.kernel.org Signed-off-by: Lee Jones --- .../devicetree/bindings/iio/pressure/lps001wp.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/pressure/lps001wp.txt diff --git a/Documentation/devicetree/bindings/iio/pressure/lps001wp.txt b/Documentation/devicetree/bindings/iio/pressure/lps001wp.txt new file mode 100644 index 0000000..45cb45c --- /dev/null +++ b/Documentation/devicetree/bindings/iio/pressure/lps001wp.txt @@ -0,0 +1,21 @@ +* STMicroelectronics Pressure Sensor + +Required properties: + - compatible: Should be "st,lps001wp" + - reg: The I2C address of the sensor + +Optional properties: + - vdd-supply: Phandle to the Vdd supply regulator + - vddio-supply: Phandle to the Vdd-IO supply regulator + +Example: + +i2c@80128000 { + lps001wp@5c { + compatible = "st,lps001wp"; + reg = <0x5c>; + + vdd-supply = <&ab8500_ldo_aux1_reg>; + vddio-supply = <&db8500_vsmps2_reg>; + }; +};