From patchwork Tue Sep 10 12:49:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 19859 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 71AFC25E85 for ; Tue, 10 Sep 2013 12:49:55 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id ht10sf8727019vcb.5 for ; Tue, 10 Sep 2013 05:49:55 -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=zbOhSLkzsGX6DOmFirGJaNpYKiUYCviwgYmK9NVgHmE=; b=D+UsUy9f7fIHT8X1fgvcVXLQrsuOE5OMoARYCL8s7ee5hiWrDMznoTHZlEESmUZiSD nHpZSZyvJ5f6L3pe/UXmMg8uOpMVJJDmQt3VtvBl7Nrcx3E5AxXcZwyf33cE/bs4Gd+t VhTEw8dWdhz2IgPdgjWLE9XUvYqlF4aPpQeFDIOYIhnmDGqaDzZZZPEH+utdDcvHYFQO h9M7FjIvtCrvO2a0hI1vCD3YHWp/Dd58oQPNA/R5jgOuAyyKRNPqXgS3eTb4v8uFSPHR W9vvUuLu7wJjb8Zd3O5iln0DTT1uuzkVqq3oEcwFh+j8rHzm5MPiZGdr6l3tEkmf8HRM jGCA== X-Received: by 10.236.2.5 with SMTP id 5mr8153749yhe.23.1378817395110; Tue, 10 Sep 2013 05:49:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.58.148 with SMTP id r20ls2146382qeq.3.gmail; Tue, 10 Sep 2013 05:49:54 -0700 (PDT) X-Received: by 10.52.118.73 with SMTP id kk9mr19030059vdb.13.1378817394899; Tue, 10 Sep 2013 05:49:54 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id l8si4396776vez.86.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:49:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.179 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.179; Received: by mail-ve0-f179.google.com with SMTP id c14so4399659vea.38 for ; Tue, 10 Sep 2013 05:49:54 -0700 (PDT) X-Gm-Message-State: ALoCoQnUQmCrDLXdvk9Eo/3sVNyHOq0LK/ybypb1dlSC+Suc1IK8hjo1EwHP3GR8CC5ILr5uOUhg X-Received: by 10.220.74.69 with SMTP id t5mr10465389vcj.18.1378817394801; Tue, 10 Sep 2013 05:49:54 -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 u4csp19365vcz; Tue, 10 Sep 2013 05:49:54 -0700 (PDT) X-Received: by 10.14.223.134 with SMTP id v6mr37889eep.88.1378817392335; Tue, 10 Sep 2013 05:49:52 -0700 (PDT) Received: from mail-ee0-f47.google.com (mail-ee0-f47.google.com [74.125.83.47]) by mx.google.com with ESMTPS id i5si14815129eeg.265.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:49:52 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.47 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.83.47; Received: by mail-ee0-f47.google.com with SMTP id d49so3801861eek.20 for ; Tue, 10 Sep 2013 05:49:51 -0700 (PDT) X-Received: by 10.15.77.199 with SMTP id p47mr12074605eey.50.1378817391645; Tue, 10 Sep 2013 05:49:51 -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:51 -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/38] ARM: ux500: Enable the LSM303DLH Magnetometer sensor from DT Date: Tue, 10 Sep 2013 13:49:05 +0100 Message-Id: <1378817379-8238-5-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.128.179 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 d1f4c60..e37284e 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>; }; + + lsm303dlh_magn@1e { + compatible = "st,lsm303dlh_magn"; + reg = <0x1e>; + + vdd-supply = <&ab8500_ldo_aux1_reg>; + vddio-supply = <&db8500_vsmps2_reg>; + }; }; uart@80120000 {