From patchwork Sat Mar 1 13:58:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 3747201 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C2295BF13A for ; Sat, 1 Mar 2014 14:01:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0C04420328 for ; Sat, 1 Mar 2014 14:01:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 31A3520304 for ; Sat, 1 Mar 2014 14:01:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753286AbaCAOBc (ORCPT ); Sat, 1 Mar 2014 09:01:32 -0500 Received: from mail-ea0-f180.google.com ([209.85.215.180]:33013 "EHLO mail-ea0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752630AbaCAN7a (ORCPT ); Sat, 1 Mar 2014 08:59:30 -0500 Received: by mail-ea0-f180.google.com with SMTP id m10so3339716eaj.39 for ; Sat, 01 Mar 2014 05:59:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=jl50ODHjQVuDR9xbnyEQ6Uy8bRz22dScHiUCtxUM1nE=; b=sV+gmB0jngb3khaP+cJkKogzEBUjE+dx3IKiROPTtAg/FL9hzhJORf8jI9ckfKaH7a Sj07OtY+WRAi5fKeS+rDuiTDDQf22XjhoeroWXiD4BQVwyVv4p2esBmw4hWsVjSebAjI x0CrYT3NotGNJT533kjWg5diWp90mwicFMVde972yhHOmn03vObNeOfqhG54GpQHThFK xNiplnmmCAOrsJK25i43XSIKHAKFJeILBvycW9qngZvgNHUXhcvF5HCZ8JSIc0g9Wzql 46EdNjJMmWUKz9ohYtmQJtwLgPToKsa+ooxBLLfVG0f4Uo5GZ4KfktiysBr/VyIS6N6a L7fA== X-Received: by 10.14.87.129 with SMTP id y1mr28321275eee.38.1393682368907; Sat, 01 Mar 2014 05:59:28 -0800 (PST) Received: from localhost.localdomain (ip-85.163.57.151.o2inet.sk. [85.163.57.151]) by mx.google.com with ESMTPSA id o43sm23841733eef.12.2014.03.01.05.59.26 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 01 Mar 2014 05:59:28 -0800 (PST) From: Marek Belisko To: bcousson@baylibre.com, tony@atomide.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, hns@goldelico.com, NeilBrown , Marek Belisko Subject: [PATCH v2 2/7] ARM: dts: omap3-gta04: Add support for magnetometer Date: Sat, 1 Mar 2014 14:58:49 +0100 Message-Id: <1393682334-26805-3-git-send-email-marek@goldelico.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1393682334-26805-1-git-send-email-marek@goldelico.com> References: <1393682334-26805-1-git-send-email-marek@goldelico.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, KHOP_BIG_TO_CC,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: NeilBrown Add magnetometer hmc5843 node. Signed-off-by: NeilBrown Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index d3b253b..d9917b8 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts +++ b/arch/arm/boot/dts/omap3-gta04.dts @@ -124,6 +124,12 @@ reg = <0x4>; }; }; + + /* compass aka magnetometer */ + hmc5843@1e { + compatible = "honeywell,hmc5843"; + reg = <0x1e>; + }; }; &i2c3 {