From patchwork Tue Sep 10 12:49:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 19868 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8219925E85 for ; Tue, 10 Sep 2013 12:50:04 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id gf11sf8731051vcb.2 for ; Tue, 10 Sep 2013 05:50:04 -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=VbERw0o6t5p0rmqEcwLy+Zj4ktekFzyOiWMF5J9jW+0=; b=bg4mCTqe/K2ptVehH6ivKoTZQzrDvb3fQTO6YESH6Dv54n4/GJSu+sgz+t1fP9/fZv zb9RVE0aB3hqat/UO2Njz4oNhLhnVfdDaPXlB7sBIxNFs/NROPUvUTK0FO1QE1fWiZfG AvO6qezk/6A2bIdRnPneRrx8CQTkKUKC8KBr/FhN6FyBqdMBHusUIGpJAumqJC3fUCGr ynjB4tZOMvxDVF4DT99HL+MmgkqWQYf5cadE8HfAA5Iirw/ZG1qeFwlP8cyotFrze8VZ MFUMv8LzUQgTJTRSSl6ujfI9OIuT4tVv0yrqIbL4i05qyMrOztif9W8vkQ+oCgaurmnW L/RA== X-Received: by 10.236.172.34 with SMTP id s22mr8179021yhl.25.1378817404318; Tue, 10 Sep 2013 05:50:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.26.70 with SMTP id j6ls2311631qeg.94.gmail; Tue, 10 Sep 2013 05:50:04 -0700 (PDT) X-Received: by 10.58.133.66 with SMTP id pa2mr10944471veb.18.1378817404062; Tue, 10 Sep 2013 05:50:04 -0700 (PDT) Received: from mail-vb0-f52.google.com (mail-vb0-f52.google.com [209.85.212.52]) by mx.google.com with ESMTPS id f8si4397152vec.85.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:50:04 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.52 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.52; Received: by mail-vb0-f52.google.com with SMTP id f12so4803014vbg.39 for ; Tue, 10 Sep 2013 05:50:04 -0700 (PDT) X-Gm-Message-State: ALoCoQlfJ7C1Lfh+MbfEy2FzTMpBpHfw4cGsP1TN75WA36EV6S71Zid/8p3+4amoSPkMOBQgbYxc X-Received: by 10.220.181.136 with SMTP id by8mr23291995vcb.11.1378817403972; Tue, 10 Sep 2013 05:50:03 -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 u4csp19385vcz; Tue, 10 Sep 2013 05:50:03 -0700 (PDT) X-Received: by 10.14.177.199 with SMTP id d47mr38634732eem.14.1378817400895; Tue, 10 Sep 2013 05:50:00 -0700 (PDT) Received: from mail-ea0-f180.google.com (mail-ea0-f180.google.com [209.85.215.180]) by mx.google.com with ESMTPS id c49si14794637eeg.357.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.215.180 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.215.180; Received: by mail-ea0-f180.google.com with SMTP id h10so3884944eaj.11 for ; Tue, 10 Sep 2013 05:50:00 -0700 (PDT) X-Received: by 10.14.183.130 with SMTP id q2mr39220862eem.5.1378817400307; Tue, 10 Sep 2013 05:50:00 -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:59 -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 13/38] Documentation: dt: iio: Add binding for LSM303DLH Date: Tue, 10 Sep 2013 13:49:14 +0100 Message-Id: <1378817379-8238-14-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.52 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 Magnetometer Sensor Signed-off-by: Lee Jones --- .../bindings/iio/magnetometer/lsm303dlh.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/lsm303dlh.txt diff --git a/Documentation/devicetree/bindings/iio/magnetometer/lsm303dlh.txt b/Documentation/devicetree/bindings/iio/magnetometer/lsm303dlh.txt new file mode 100644 index 0000000..5938369 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/magnetometer/lsm303dlh.txt @@ -0,0 +1,21 @@ +* STMicroelectronics Magnetometer Sensor + +Required properties: + - compatible: Should be "st,lsm303dlh_magn" + - 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_magn@1e { + compatible = "st,lsm303dlh_magn"; + reg = <0x1e>; + + vdd-supply = <&ab8500_ldo_aux1_reg>; + vddio-supply = <&db8500_vsmps2_reg>; + }; +};