From patchwork Mon Jun 24 18:05:50 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: 2772581 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2AC639F3A0 for ; Mon, 24 Jun 2013 18:07:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E5BF201DC for ; Mon, 24 Jun 2013 18:07:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 682CC201EF for ; Mon, 24 Jun 2013 18:07:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753047Ab3FXSHJ (ORCPT ); Mon, 24 Jun 2013 14:07:09 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:24248 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753030Ab3FXSHF (ORCPT ); Mon, 24 Jun 2013 14:07:05 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MOW00HJ9SZMSW50@mailout4.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 25 Jun 2013 03:07:03 +0900 (KST) X-AuditID: cbfee61b-b7f8e6d00000524c-19-51c88ac7dce2 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 28.3C.21068.7CA88C15; Tue, 25 Jun 2013 03:07:03 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MOW005HYSXU1L40@mmp2.samsung.com>; Tue, 25 Jun 2013 03:07:03 +0900 (KST) From: Sylwester Nawrocki To: kgene.kim@samsung.com Cc: t.figa@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, myungjoo.ham@samsung.com, m.szyprowski@samsung.com, phil.carmody@partner.samsung.com, j.anaszewski@samsung.com, kyungmin.park@samsung.com, devicetree-discuss@lists.ozlabs.org, Sylwester Nawrocki Subject: [PATCH v2 7/8] ARM: dts: Add AK8975 device node for Exynos4412 TRATS2 board Date: Mon, 24 Jun 2013 20:05:50 +0200 Message-id: <1372097151-18122-8-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1372097151-18122-1-git-send-email-s.nawrocki@samsung.com> References: <1372097151-18122-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrOLMWRmVeSWpSXmKPExsVy+t9jQd3jXScCDR42mVscmP2Q1aL36nNG i94FV9kszja9YbfY9Pgaq8WM8/uYLNYeuctucbtxBZvF7ldLWS0Ov2lntVg/4zWLA7fH5iX1 HudnLGT0OPhuD5NH35ZVjB6fN8kFsEZx2aSk5mSWpRbp2yVwZczY2c9ecJ+r4tvbIywNjNc5 uhg5OSQETCQWPl/HBGGLSVy4t56ti5GLQ0hgOqPE22ermCCcDiaJVX9a2UCq2AQMJXqP9jGC 2CICkhJNDX+YQYqYBY4xSfxsvMEOkhAWCJNYdn8eC4jNIqAqsfPsA7BmXgE3ias3dwDVcACt U5CYM8kGJMwp4C5x+OFGsFYhoJK2NT0sExh5FzAyrGIUTS1ILihOSs810itOzC0uzUvXS87P 3cQIDr5n0jsYVzVYHGIU4GBU4uH9EHciUIg1say4MvcQowQHs5IIb6gIUIg3JbGyKrUoP76o NCe1+BCjNAeLkjjvwVbrQCGB9MSS1OzU1ILUIpgsEwenVAMjx9385R1TPkg/5G6Xu7Wtcsqq RHvfxY8Ubr2YtTPC+brx4aQ9pfpzHgRdazbRiLQR+paekKqeMI+p94ynmDTbRBmeX1+brIIe xggICm6ZeTo34OXJNy3OMendD9/oVnRa79uhXRF8nvFGO9/zm19d3F3YZzvoxFebrPPNb/mn E81XKHiCYZESS3FGoqEWc1FxIgCuezKmOgIAAA== 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.0 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 --- Changes since v1: - added node alias for i2c-gpio@0 I2C controller node. --- arch/arm/boot/dts/exynos4412-trats2.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 056b835..b9de3b5 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -19,6 +19,10 @@ model = "Samsung Trats 2 based on Exynos4412"; compatible = "samsung,trats2", "samsung,exynos4412"; + aliases { + i2c8 = &i2c_ak8975; + }; + memory { reg = <0x40000000 0x40000000>; }; @@ -453,4 +457,19 @@ serial@13830000 { status = "okay"; }; + + i2c_ak8975: 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>; + }; + }; };