From patchwork Mon Sep 16 16:02:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 20353 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D2CC12486B for ; Mon, 16 Sep 2013 16:02:42 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id cm18sf2165675qab.4 for ; Mon, 16 Sep 2013 09:02:42 -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=UaBVphPC/vhgzb4PAyZKpnYoEh9vobOM3mDEnPAJwos=; b=kv8RPylQuyUqfbY4AZ6nSTvizsEKy2ycEsREmVbYkHu2vmiIBQsj7fMPoikMJairjz zC7lCG1/IE4ZdLKOXLDZ01aET/Xz0Ay7vLYthJkvHrnFbg5eHVxaOHhzel6DqhG2sl4z fsWhcQKFPgv2pLgGi2BdBrsTP2QxdFqvf9I5MBa+5gk4lgHKCgPKb1eNxdG7TThDoB3/ 8+NuIcn1AqBGsISrWUMFd5Mj+prAD3m2mfv4Dh0dPSLWgD05B+dTglP0UjEfSKTNz4va DMWI/nSYHUcjcjQ6ph74Ybg95WDaXxc1aCLPv6nSG+sPvQwxI9niRoDHQelor+kF1vxy nEeA== X-Gm-Message-State: ALoCoQntQM9On49ZHXiljFf1E3wb7G5i9bIlU2WfpW2GM7Gw+0q040+k3msRNCQ28vMqnFj428KA X-Received: by 10.236.207.103 with SMTP id m67mr10826324yho.1.1379347362711; Mon, 16 Sep 2013 09:02:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.244 with SMTP id l20ls2318089qej.98.gmail; Mon, 16 Sep 2013 09:02:42 -0700 (PDT) X-Received: by 10.220.13.20 with SMTP id z20mr27726582vcz.0.1379347362641; Mon, 16 Sep 2013 09:02:42 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id mq14si7257182vcb.131.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 09:02:42 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.182 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.182; Received: by mail-vc0-f182.google.com with SMTP id hf12so2964272vcb.41 for ; Mon, 16 Sep 2013 09:02:42 -0700 (PDT) X-Received: by 10.52.166.200 with SMTP id zi8mr706878vdb.38.1379347362545; Mon, 16 Sep 2013 09:02:42 -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 u4csp104924vcz; Mon, 16 Sep 2013 09:02:41 -0700 (PDT) X-Received: by 10.14.224.198 with SMTP id x46mr4001431eep.53.1379347360520; Mon, 16 Sep 2013 09:02:40 -0700 (PDT) Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com [74.125.83.42]) by mx.google.com with ESMTPS id x45si15557572eey.126.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 09:02:40 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.42 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.83.42; Received: by mail-ee0-f42.google.com with SMTP id b45so2130262eek.29 for ; Mon, 16 Sep 2013 09:02:39 -0700 (PDT) X-Received: by 10.14.221.7 with SMTP id q7mr840420eep.108.1379347359837; Mon, 16 Sep 2013 09:02:39 -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:39 -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 04/20] ARM: ux500: Enable the LSM303DLH Magnetometer sensor from DT Date: Mon, 16 Sep 2013 17:02:10 +0100 Message-Id: <1379347346-823-5-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.220.182 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: , After applying this node the LSM303DLH sensor chip should probe successfully once the driver support has also been applied. Signed-off-by: Lee Jones --- arch/arm/boot/dts/ste-snowball.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/ste-snowball.dts b/arch/arm/boot/dts/ste-snowball.dts index 61b33a0..b851713 100644 --- a/arch/arm/boot/dts/ste-snowball.dts +++ b/arch/arm/boot/dts/ste-snowball.dts @@ -169,6 +169,14 @@ vdd-supply = <&ab8500_ldo_aux1_reg>; vddio-supply = <&db8500_vsmps2_reg>; }; + + lsm303dlhc_magn@1e { + compatible = "st,lsm303dlhc_magn"; + reg = <0x1e>; + + vdd-supply = <&ab8500_ldo_aux1_reg>; + vddio-supply = <&db8500_vsmps2_reg>; + }; }; uart@80120000 {