From patchwork Tue Sep 10 12:49: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: 19867 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 82220246A4 for ; Tue, 10 Sep 2013 12:50:03 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id gf11sf8722542vcb.10 for ; Tue, 10 Sep 2013 05:50:03 -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=Aa6csA2cntAdJjAMk14FICeMUoqxm4MYAX83UhWxQv0=; b=cgmlDa27SSBtFTfchuqzgJsFtvNRPjC5Os3CNfCWGkhyOkNWwoLhLAR8DfieaB/GPs eqpAB8lq/xnUQBKOvQ49Bj5XIIXchUQGGcEenq70FFZhfVlEPnQqn2ARPm0cMud1k62B NXsAARzv9tpR0m7P1KBKteKpsclnpaTDYNPo0Vzl8duiCMgcp65Kc026pllR4R1480So EKkYUVt4bf0s9sg26lXZIhpZ1KRxJASVq+TeQnlBYidGTOMCBoCEC1tv2oDqZdJ362z2 Hm8rqDAhJkcYB/FbRpmRuDuvR8OFi2BvaVt8IybHTN0ZLo9QeWgKMeJLSpyqmlDbEsYK gcjw== X-Received: by 10.236.163.67 with SMTP id z43mr8157088yhk.27.1378817403260; Tue, 10 Sep 2013 05:50:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.110.9 with SMTP id hw9ls2182854qeb.16.gmail; Tue, 10 Sep 2013 05:50:03 -0700 (PDT) X-Received: by 10.52.162.66 with SMTP id xy2mr18306547vdb.3.1378817403006; Tue, 10 Sep 2013 05:50:03 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id jc7si2387921vdb.104.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:50:03 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.174 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.174; Received: by mail-vc0-f174.google.com with SMTP id gd11so4967135vcb.33 for ; Tue, 10 Sep 2013 05:50:02 -0700 (PDT) X-Gm-Message-State: ALoCoQmmZJmMbQ2ncgvJfTd5hiIJiby5Z6Xbd6Y1gQv6R7owpOnj1M0bqXI2GUB+OMoQlNPgDOw2 X-Received: by 10.52.230.74 with SMTP id sw10mr18345732vdc.6.1378817402910; Tue, 10 Sep 2013 05:50:02 -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 u4csp19384vcz; Tue, 10 Sep 2013 05:50:02 -0700 (PDT) X-Received: by 10.14.172.133 with SMTP id t5mr38467075eel.35.1378817400058; Tue, 10 Sep 2013 05:50:00 -0700 (PDT) Received: from mail-ea0-f179.google.com (mail-ea0-f179.google.com [209.85.215.179]) by mx.google.com with ESMTPS id h8si14826590eeo.216.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.179 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.215.179; Received: by mail-ea0-f179.google.com with SMTP id b10so3827352eae.38 for ; Tue, 10 Sep 2013 05:49:59 -0700 (PDT) X-Received: by 10.15.91.3 with SMTP id r3mr39203155eez.4.1378817399505; Tue, 10 Sep 2013 05:49:59 -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 12/38] Documentation: dt: iio: Add binding for L3G4200D Date: Tue, 10 Sep 2013 13:49:13 +0100 Message-Id: <1378817379-8238-13-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.174 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: , L3G4200D is a Gyroscope Sensor Signed-off-by: Lee Jones --- .../devicetree/bindings/iio/gyro/l3g4200d.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/gyro/l3g4200d.txt diff --git a/Documentation/devicetree/bindings/iio/gyro/l3g4200d.txt b/Documentation/devicetree/bindings/iio/gyro/l3g4200d.txt new file mode 100644 index 0000000..29baf9d --- /dev/null +++ b/Documentation/devicetree/bindings/iio/gyro/l3g4200d.txt @@ -0,0 +1,21 @@ +* STMicroelectronics Gyroscope Sensor + +Required properties: + - compatible: Should be "st,l3g4200d_gyro" + - 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 { + l3g4200d_gyro@68 { + compatible = "st,l3g4200d_gyro"; + reg = <0x68>; + + vdd-supply = <&ab8500_ldo_aux1_reg>; + vddio-supply = <&db8500_vsmps2_reg>; + }; +};