From patchwork Mon Jul 1 15:22:29 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: 2808511 Return-Path: X-Original-To: patchwork-linux-arm@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 9119CBF4A1 for ; Mon, 1 Jul 2013 15:31:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C116A2011B for ; Mon, 1 Jul 2013 15:31:54 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 79CBA20141 for ; Mon, 1 Jul 2013 15:31:53 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Utg0G-0000ea-SL; Mon, 01 Jul 2013 15:26:58 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtfzX-0000ZQ-8j; Mon, 01 Jul 2013 15:26:11 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtfzG-0000UH-26 for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2013 15:25:55 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MP900CLNK6H58I0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 02 Jul 2013 00:25:31 +0900 (KST) X-AuditID: cbfee61b-b7f8e6d00000524c-fb-51d19f6b16ff Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 5A.AA.21068.B6F91D15; Tue, 02 Jul 2013 00:25:31 +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 <0MP90039BK2QKU00@mmp1.samsung.com>; Tue, 02 Jul 2013 00:25:31 +0900 (KST) From: Sylwester Nawrocki To: kgene.kim@samsung.com Subject: [PATCH v3 07/13] ARM: dts: Add AK8975 device node for Exynos4412 TRATS2 board Date: Mon, 01 Jul 2013 17:22:29 +0200 Message-id: <1372692155-17653-8-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1372692155-17653-1-git-send-email-s.nawrocki@samsung.com> References: <1372692155-17653-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKLMWRmVeSWpSXmKPExsVy+t9jAd3s+RcDDVYfN7c4MPshq0Xv1eeM Fr0LrrJZnG16w26x6fE1VosZ5/cxWaw9cpfd4nbjCjaL3a+WslocftPOarF+xmsWB26PzUvq Pc7PWMjocfDdHiaPvi2rGD0+b5ILYI3isklJzcksSy3St0vgyuie/Ie1YAJXRVPDYaYGxukc XYycHBICJhITn85hgbDFJC7cW88GYgsJLGKUWHXKEcLuYJKYOaMYxGYTMJToPdrHCGKLCEhK NDX8Ye5i5OJgFjjGJPGz8QY7SEJYIELi1fRtYEUsAqoSa061gdm8Am4Sz9sfANkcQMsUJOZM sgEJcwq4SzSt+MAOsctN4vCBn0wTGHkXMDKsYhRNLUguKE5KzzXSK07MLS7NS9dLzs/dxAgO vGfSOxhXNVgcYhTgYFTi4VWYdzFQiDWxrLgy9xCjBAezkgjvTW+gEG9KYmVValF+fFFpTmrx IUZpDhYlcd6DrdaBQgLpiSWp2ampBalFMFkmDk6pBsbciFWzciwvbOqbPlfa1m29luQ/w9bV R5jbWB8vSdeLn3JQ5vYJma7zLjeqfvXMC57xq1NTl9UqtbS7q01K5vCDRa6cUy34VN6HHBTz C9yy1uxoRdKOzyfDvlroGJ5lrq7hKF7aKBzWrGLsYVca7yLS+eTmrZfHpUUffnj3c1Ha5acX AmM1tJRYijMSDbWYi4oTAdchl3Q4AgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130701_112554_361079_7262DF3C X-CRM114-Status: UNSURE ( 8.19 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) Cc: phil.carmody@partner.samsung.com, devicetree-discuss@lists.ozlabs.org, t.figa@samsung.com, kyungmin.park@samsung.com, linux-samsung-soc@vger.kernel.org, myungjoo.ham@samsung.com, Sylwester Nawrocki , j.anaszewski@samsung.com, linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Reviewed-by: Tomasz Figa --- arch/arm/boot/dts/exynos4412-trats2.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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>; + }; + }; };