From patchwork Tue Sep 10 12:49:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 19866 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f197.google.com (mail-ye0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 82A0F25E85 for ; Tue, 10 Sep 2013 12:50:02 +0000 (UTC) Received: by mail-ye0-f197.google.com with SMTP id q5sf8278644yen.4 for ; Tue, 10 Sep 2013 05:50:02 -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=KGpKoIR1tLsdyNPbX1g8GzntOXLkQyKz4fO4zUbiaz4=; b=bxJo91qbDTl894iP9YXXu9QLu3MslLnLmMXjMlch0ZWFh9tsq/HUQW7idH2zaUJG+d vCJou4rs6MMcgYwEhnH1jr0aFyVTquBl1r+Pjbzate0u8ghexWJxqDHEQpzdsZEjH6im HALcUkUSqsMQDb1ljut/wuie3iB2VOPnVRyJhibjb9Je3wUscAvrCto7Ttt+M/Qbn/GX sG7GcegqU1p6nrU53EN5JK4is5tmhooxp0ZJos5VnYUybO/jATJ1z2JJoFBzlTGEF5rK 7PXcgK8fUjGrhVaen06UYh0jQRdT+sFgXfbCjzqJwh4UoY/okeQ3w3mha99Q3n0+gbkG GoOg== X-Received: by 10.236.198.197 with SMTP id v45mr1170205yhn.26.1378817402267; Tue, 10 Sep 2013 05:50:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.86.161 with SMTP id q1ls479371qez.13.gmail; Tue, 10 Sep 2013 05:50:02 -0700 (PDT) X-Received: by 10.58.218.225 with SMTP id pj1mr1293853vec.24.1378817402020; Tue, 10 Sep 2013 05:50:02 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id ur9si4405408veb.41.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:50:02 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id ib11so4986422vcb.14 for ; Tue, 10 Sep 2013 05:50:01 -0700 (PDT) X-Gm-Message-State: ALoCoQl7Of1QzDqRO3V6CYtGOWBAZu7091CL6jFqe/GmVBBdHtfapCeOLNTutCn+OUOfSSqp0T/G X-Received: by 10.58.108.74 with SMTP id hi10mr23486864veb.14.1378817401926; Tue, 10 Sep 2013 05:50:01 -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 u4csp19382vcz; Tue, 10 Sep 2013 05:50:01 -0700 (PDT) X-Received: by 10.14.211.195 with SMTP id w43mr3076735eeo.57.1378817399332; Tue, 10 Sep 2013 05:49:59 -0700 (PDT) Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com [74.125.83.43]) by mx.google.com with ESMTPS id h8si14874182eeo.6.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:49:59 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.43 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.83.43; Received: by mail-ee0-f43.google.com with SMTP id e52so3875936eek.30 for ; Tue, 10 Sep 2013 05:49:58 -0700 (PDT) X-Received: by 10.14.37.4 with SMTP id x4mr39292856eea.16.1378817398255; Tue, 10 Sep 2013 05:49:58 -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: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 11/38] Documentation: dt: iio: Add binding for LSM303DLH Date: Tue, 10 Sep 2013 13:49:12 +0100 Message-Id: <1378817379-8238-12-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.220.169 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: , LSM303DLH is a Accelerometer Sensor Signed-off-by: Lee Jones --- .../devicetree/bindings/iio/accel/lsm303dlh.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/accel/lsm303dlh.txt diff --git a/Documentation/devicetree/bindings/iio/accel/lsm303dlh.txt b/Documentation/devicetree/bindings/iio/accel/lsm303dlh.txt new file mode 100644 index 0000000..bb59363 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/accel/lsm303dlh.txt @@ -0,0 +1,21 @@ +* STMicroelectronics Accelerometer Sensor + +Required properties: + - compatible: Should be "st,lsm303dlh_accel" + - 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 { + lsm303dlh_accel@19 { + compatible = "st,lsm303dlh_accel"; + reg = <0x19>; + + vdd-supply = <&ab8500_ldo_aux1_reg>; + vddio-supply = <&db8500_vsmps2_reg>; + }; +};