From patchwork Mon Sep 16 16:02: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: 20356 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D2BFF2486B for ; Mon, 16 Sep 2013 16:02:46 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id gd11sf4477992vcb.4 for ; Mon, 16 Sep 2013 09:02:46 -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=gFNO/QN0RcMywk/ap/0SWA1bYVVGujNuCEByL+P1Il4=; b=Z/puqBocBngc//Q1ISw1Ey12lktCXl2gsfsSUbnKM7t7vysRRRcfOsiADwwW7jY/ZB jY2amNhDqwKZhLcY4CnyM9akt8rHjOKdRB71bMlpFvSAOD18tcFZ3B7QmA0xpnQVTVnL lgB4UkpQesChumIclo+b5vUj6r5Ppudsavurny7YtIQsM3Va85YkURqivqxMVmal4huw S9aA7ZiZ6PhhQdu+Ssl7lkc9sSmXPwvV3iFPUKPzVwohMqohjp6H48wzKmGdRO3Kh1P6 uALASvlac995LntAIfB1TM1r5QQyLsyrwG/zwbXFEiWebX5aWhlyENxNEplBBm7jFjNn fy2A== X-Gm-Message-State: ALoCoQnT2i5DH2Ykb7R9V5xcQWjVAsdDSDjPhuv2aRAlolpM6K/KkZfDHnhKUcX1IvLpZGCP0u4M X-Received: by 10.236.13.36 with SMTP id a24mr1107835yha.50.1379347366683; Mon, 16 Sep 2013 09:02:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.16.6 with SMTP id b6ls2251283qed.79.gmail; Mon, 16 Sep 2013 09:02:46 -0700 (PDT) X-Received: by 10.220.145.75 with SMTP id c11mr935428vcv.30.1379347366608; Mon, 16 Sep 2013 09:02:46 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id tj1si7246945vdc.105.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: 209.85.128.170 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.170; Received: by mail-ve0-f170.google.com with SMTP id c14so3151350vea.15 for ; Mon, 16 Sep 2013 09:02:46 -0700 (PDT) X-Received: by 10.58.133.66 with SMTP id pa2mr7112610veb.18.1379347366518; Mon, 16 Sep 2013 09:02:46 -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 u4csp104931vcz; Mon, 16 Sep 2013 09:02:45 -0700 (PDT) X-Received: by 10.15.100.198 with SMTP id bn46mr43240481eeb.11.1379347365008; Mon, 16 Sep 2013 09:02:45 -0700 (PDT) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx.google.com with ESMTPS id h5si16792340eeg.170.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 09:02:45 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.54 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.83.54; Received: by mail-ee0-f54.google.com with SMTP id e53so2136779eek.13 for ; Mon, 16 Sep 2013 09:02:44 -0700 (PDT) X-Received: by 10.14.220.195 with SMTP id o43mr3969611eep.57.1379347364301; Mon, 16 Sep 2013 09:02:44 -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:44 -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 08/20] Documentation: dt: iio: Add binding for LSM303DLH - Accel Date: Mon, 16 Sep 2013 17:02:14 +0100 Message-Id: <1379347346-823-9-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.170 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 Cc: devicetree@vger.kernel.org Signed-off-by: Lee Jones --- .../devicetree/bindings/iio/accel/lsm303dlhc.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/accel/lsm303dlhc.txt diff --git a/Documentation/devicetree/bindings/iio/accel/lsm303dlhc.txt b/Documentation/devicetree/bindings/iio/accel/lsm303dlhc.txt new file mode 100644 index 0000000..5a5101a --- /dev/null +++ b/Documentation/devicetree/bindings/iio/accel/lsm303dlhc.txt @@ -0,0 +1,21 @@ +* STMicroelectronics Accelerometer Sensor + +Required properties: + - compatible: Should be "st,lsm303dlhc_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 { + lsm303dlhc_accel@19 { + compatible = "st,lsm303dlhc_accel"; + reg = <0x19>; + + vdd-supply = <&ab8500_ldo_aux1_reg>; + vddio-supply = <&db8500_vsmps2_reg>; + }; +};