From patchwork Fri Jun 21 12:50:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 2762101 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 C6BF4C0AB1 for ; Fri, 21 Jun 2013 12:52:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A6F8F200F0 for ; Fri, 21 Jun 2013 12:52:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BBC0D200E5 for ; Fri, 21 Jun 2013 12:52:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965727Ab3FUMwX (ORCPT ); Fri, 21 Jun 2013 08:52:23 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:38034 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965550Ab3FUMwW (ORCPT ); Fri, 21 Jun 2013 08:52:22 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MOQ00MDOUEKFKP0@mailout3.samsung.com> for linux-samsung-soc@vger.kernel.org; Fri, 21 Jun 2013 21:52:21 +0900 (KST) X-AuditID: cbfee61b-b7f8e6d00000524c-a0-51c44c85e886 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id B3.26.21068.58C44C15; Fri, 21 Jun 2013 21:52:21 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MOQ00DZCUC2UL40@mmp1.samsung.com>; Fri, 21 Jun 2013 21:52:21 +0900 (KST) From: Sylwester Nawrocki To: kgene.kim@samsung.com Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, kyungmin.park@samsung.com, myungjoo.ham@samsung.com, m.szyprowski@samsung.com, phil.carmody@partner.samsung.com, j.anaszewski@samsung.com, devicetree-discuss@lists.ozlabs.org, Sylwester Nawrocki Subject: [PATCH 7/8] ARM: dts: Add AK8975 device node for Exynos4412 TRATS2 board Date: Fri, 21 Jun 2013 14:50:23 +0200 Message-id: <1371819024-12596-8-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1371819024-12596-1-git-send-email-s.nawrocki@samsung.com> References: <1371819024-12596-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrILMWRmVeSWpSXmKPExsVy+t9jAd1WnyOBBqefmFscmP2Q1aL36nNG i94FV9kszja9YbfY9Pgaq8WM8/uYLNYeuctucbtxBZvF7ldLWS0Ov2lndeDy2Lyk3uP8jIWM Hgff7WHy6NuyitHj8ya5ANYoLpuU1JzMstQifbsEroxXJ/cxF8zmqNjbuIq5gfEeWxcjJ4eE gInEqb7VrBC2mMSFe+uB4lwcQgKLGCUmrG9lgXA6mCROvd7FAlLFJmAo0Xu0jxHEFhGQlGhq +MMMUsQssIFJYsXdd2BjhQWCJQ4+W84OYrMIqEq8XPQdrJlXwE3i7KG3TF2MHEDrFCTmTLIB MTkF3CV+PC8FqRACqpi1aCrbBEbeBYwMqxhFUwuSC4qT0nON9IoTc4tL89L1kvNzNzGCA+6Z 9A7GVQ0WhxgFOBiVeHgDlA4HCrEmlhVX5h5ilOBgVhLhDb4DFOJNSaysSi3Kjy8qzUktPsQo zcGiJM57sNU6UEggPbEkNTs1tSC1CCbLxMEp1cC4breeVM6XssVrgyZoe0xIXWHvfNdhk117 0sF5OROTbI4e82G7/2Rz9f8TXhnvmVh6Vn+/sNimjT+t6+YONe/6Q899nmje3M0XYtqwWCvj isOCybdd9v/rmTTL22/1xQi1N+XXH4vVpBr92Sl9fl79Vf7L3KZSkVd/BCv4/EkXydj+wPKo q121EktxRqKhFnNRcSIAvYJakDQCAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-8.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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: Jacek Anaszewski This patch adds AK8975 magnetometer node and corresponding i2c-gpio bus node for TRATS2 board. Signed-off-by: Jacek Anaszewski Signed-off-by: Kyungmin Park Signed-off-by: Sylwester Nawrocki --- arch/arm/boot/dts/exynos4412-trats2.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 056b835..826e42e 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -453,4 +453,19 @@ serial@13830000 { status = "okay"; }; + + i2c-gpio-0 { + compatible = "i2c-gpio"; + gpios = <&gpy2 4 0>, <&gpy2 5 0>; + i2c-gpio,delay-us = <2>; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + ak8975@0c { + compatible = "asahi-kasei,ak8975"; + reg = <0x0c>; + gpios = <&gpj0 7 0>; + }; + }; };