From patchwork Tue Sep 10 12:49:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 19865 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f71.google.com (mail-yh0-f71.google.com [209.85.213.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5AC89246A4 for ; Tue, 10 Sep 2013 12:50:01 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id a41sf9341030yho.2 for ; Tue, 10 Sep 2013 05:50:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state: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=lLLia/NmudF2V1FGRQhg6kzl9Mfsza4G98Q2qZTZcEk=; b=KFv0LGQFskwjbuH45mmOhpZvMmTCLwI6+yYmbpKCK6Swkk5DQsUXhErQthc2sNGQMX fK1gAaPfJ5LbyPgNKYK+TtXdF5JxxmFmmkWce6/WwwrQ3oIBsPpB/lbiBg639g8uXJPl sxe/9A4trHTMdkLmwI+m+F2YIjZPQhwDdqXtrrnwWika+tKE4F30eiGDTN2G2ZCNoIG3 buwL4uJjYP+NuXcQB8jsURIwJcWzOvNSfAUFPfypeubtsustrVhUvCv/GdU95G+eHTsf JVDWkL7/CxVOC1QxBa/yqHLKWMVmNowB1xQWZTT7dyVqrabX8dIG2zqC+huoeqodyLjL P2pg== X-Received: by 10.236.26.202 with SMTP id c50mr8214175yha.14.1378817401191; Tue, 10 Sep 2013 05:50:01 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.121.164 with SMTP id ll4ls312902qeb.17.gmail; Tue, 10 Sep 2013 05:50:01 -0700 (PDT) X-Received: by 10.58.235.69 with SMTP id uk5mr22901420vec.17.1378817400941; Tue, 10 Sep 2013 05:50:00 -0700 (PDT) Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by mx.google.com with ESMTPS id xt2si4393153vcb.108.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:50:00 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.46 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.46; Received: by mail-vb0-f46.google.com with SMTP id p13so4808926vbe.19 for ; Tue, 10 Sep 2013 05:50:00 -0700 (PDT) X-Gm-Message-State: ALoCoQn+BxJhnq71tPDiCUWPfQOIeKPzJFUeH1Nh1250dJV7tLwxHXq9FCKsgKdPdxuRiqUdS6wS X-Received: by 10.52.98.7 with SMTP id ee7mr332700vdb.37.1378817400836; Tue, 10 Sep 2013 05:50:00 -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 u4csp19380vcz; Tue, 10 Sep 2013 05:50:00 -0700 (PDT) X-Received: by 10.15.48.67 with SMTP id g43mr39202432eew.17.1378817398008; Tue, 10 Sep 2013 05:49:58 -0700 (PDT) Received: from mail-ee0-f45.google.com (mail-ee0-f45.google.com [74.125.83.45]) by mx.google.com with ESMTPS id w44si14859314eef.75.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:49:58 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.45 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.83.45; Received: by mail-ee0-f45.google.com with SMTP id c50so3856564eek.4 for ; Tue, 10 Sep 2013 05:49:57 -0700 (PDT) X-Received: by 10.15.77.199 with SMTP id p47mr12075228eey.50.1378817397289; Tue, 10 Sep 2013 05:49:57 -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 z12sm31123277eev.6.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:49:56 -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 Subject: [PATCH 10/38] Documentation: dt: iio: Add binding for LPS001WP Date: Tue, 10 Sep 2013 13:49:11 +0100 Message-Id: <1378817379-8238-11-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1378817379-8238-1-git-send-email-lee.jones@linaro.org> References: <1378817379-8238-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.46 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. 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..3294a65c6 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/pressure/lps001wp.txt @@ -0,0 +1,21 @@ +* STMicroelectronics Pressure Sensor + +Required properties: + - compatible: Should be "st,lps001wp_press" + - 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_press"; + reg = <0x5c>; + + vdd-supply = <&ab8500_ldo_aux1_reg>; + vddio-supply = <&db8500_vsmps2_reg>; + }; +};