From patchwork Mon Sep 16 16:02:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 20357 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f200.google.com (mail-qc0-f200.google.com [209.85.216.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DCBE22486B for ; Mon, 16 Sep 2013 16:02:47 +0000 (UTC) Received: by mail-qc0-f200.google.com with SMTP id x20sf4477623qcv.11 for ; Mon, 16 Sep 2013 09:02:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version: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=blE9wDsWO4uqsELjWvn+cUdWs8ZHZgphjMiMCzwSOb4=; b=X/Ji9ISzfrcIJ9K8GQgRZpW90tbkkJDUqR/XWe9uqjzKWdaxetlgiGk+W+P6xF2Sgo +bqxqYPuF7OCVARZCAM3Ao4rgx9ryD2jq49zyKdhhRMYuQ310rVQHt1dU6U4/+Bmcx/Z evsinSk7sso4xnJZbd9njfoJKEQfAQ9UURmfp4Aa6hmLpFRpKGVsoIdg/nR06nn2dweR FyjG4SmJI7elCH1Gtjisi/ihM5EwRk9Gv39yJCNj1/PFt8BdyJ6HjynV8IklgToEfamr lmxdmWnLon8bl2kU0L6mZhSsZs4TkilBWJIFtSCP7gUn/hGyfTpI2hnMvkupJ7XZqyCM CvSw== X-Gm-Message-State: ALoCoQlsN5D+Aw5wRHj9/PlN+JJsmvH8/yqeJk3CdLkTp0dEjpRAsIXVzSdzjecw8pVrzu8lr7ew X-Received: by 10.236.163.67 with SMTP id z43mr10597461yhk.27.1379347367679; Mon, 16 Sep 2013 09:02:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.29.167 with SMTP id l7ls2392006qeh.47.gmail; Mon, 16 Sep 2013 09:02:47 -0700 (PDT) X-Received: by 10.59.11.69 with SMTP id eg5mr9326667ved.17.1379347367587; Mon, 16 Sep 2013 09:02:47 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id rp4si7262273vcb.111.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 09:02:47 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.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.128.174; Received: by mail-ve0-f174.google.com with SMTP id jy13so3165697veb.33 for ; Mon, 16 Sep 2013 09:02:47 -0700 (PDT) X-Received: by 10.220.144.68 with SMTP id y4mr1003861vcu.28.1379347367500; Mon, 16 Sep 2013 09:02:47 -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 u4csp104933vcz; Mon, 16 Sep 2013 09:02:46 -0700 (PDT) X-Received: by 10.15.63.2 with SMTP id l2mr1401663eex.93.1379347366114; Mon, 16 Sep 2013 09:02:46 -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 t9si16799130eeh.3.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 09:02:46 -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 c50so2114050eek.4 for ; Mon, 16 Sep 2013 09:02:45 -0700 (PDT) X-Received: by 10.14.241.74 with SMTP id f50mr44316527eer.29.1379347365624; Mon, 16 Sep 2013 09:02:45 -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 z12sm43061275eev.6.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 09:02:45 -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 , devicetree@vger.kernel.org Subject: [PATCH 09/20] Documentation: dt: iio: Add binding for L3G4200D Date: Mon, 16 Sep 2013 17:02:15 +0100 Message-Id: <1379347346-823-10-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1379347346-823-1-git-send-email-lee.jones@linaro.org> References: <1379347346-823-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.128.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 Cc: devicetree@vger.kernel.org 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..3ca2b9c --- /dev/null +++ b/Documentation/devicetree/bindings/iio/gyro/l3g4200d.txt @@ -0,0 +1,21 @@ +* STMicroelectronics Gyroscope Sensor + +Required properties: + - compatible: Should be "st,l3g4200d" + - 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@68 { + compatible = "st,l3g4200d"; + reg = <0x68>; + + vdd-supply = <&ab8500_ldo_aux1_reg>; + vddio-supply = <&db8500_vsmps2_reg>; + }; +};