From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-f42.google.com ([74.125.83.42]:48676 "EHLO mail-ee0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752179Ab3IJMt6 (ORCPT ); Tue, 10 Sep 2013 08:49:58 -0400 Received: by mail-ee0-f42.google.com with SMTP id b45so3943760eek.1 for ; Tue, 10 Sep 2013 05:49:57 -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> In-Reply-To: <1378817379-8238-1-git-send-email-lee.jones@linaro.org> References: <1378817379-8238-1-git-send-email-lee.jones@linaro.org> Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org 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>; + }; +}; -- 1.8.1.2