From patchwork Wed Nov 7 10:46:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhilash Kesavan X-Patchwork-Id: 1709771 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 95BCC3FC8F for ; Wed, 7 Nov 2012 10:44:10 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TW35N-00052s-QG; Wed, 07 Nov 2012 10:42:17 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TW35J-00052D-Sq for linux-arm-kernel@lists.infradead.org; Wed, 07 Nov 2012 10:42:14 +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 <0MD4001C55PO6530@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 07 Nov 2012 19:42:12 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.122]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 7B.99.12699.40B3A905; Wed, 07 Nov 2012 19:42:12 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-78-509a3b044821 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 4B.99.12699.30B3A905; Wed, 07 Nov 2012 19:42:12 +0900 (KST) Received: from localhost.localdomain ([107.108.73.92]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MD4006SP5N7OJ20@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 07 Nov 2012 19:42:11 +0900 (KST) From: Abhilash Kesavan To: linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com Subject: [PATCH 2/3] ARM: EXYNOS5: Add aliases for i2c controller Date: Wed, 07 Nov 2012 16:16:59 +0530 Message-id: <1352285220-31544-3-git-send-email-a.kesavan@samsung.com> X-Mailer: git-send-email 1.6.6.1 In-reply-to: <1352285220-31544-1-git-send-email-a.kesavan@samsung.com> References: <1352285220-31544-1-git-send-email-a.kesavan@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLLMWRmVeSWpSXmKPExsWyRsSkSpfFelaAwZ+dfBabHl9jdWD02Lyk PoAxissmJTUnsyy1SN8ugStj1in7guPCFWdbNzA1MN7i62Lk4JAQMJE4uVy1i5ETyBSTuHBv PVsXIxeHkMBSRolN5xexQyRMJC7d/M4CkZjOKPFm5jpGCGc9k8TBVStZQKrYBPQkFvz7ygxi iwjYS6w4cRLMFhZwlDgyaTUriM0ioCqx8ewxNhCbV8BV4v+f60wQGxQkTn9YC7aNU8BN4u7M Ccwg1wkB1Wz/wAHRKiDxbfIhFoijZSU2HWAGOUFC4AibxLFVnawQYyQlDq64wTKBUWgBI8Mq RtHUguSC4qT0XCO94sTc4tK8dL3k/NxNjMAwO/3vmfQOxlUNFocYBTgYlXh4LVJnBgixJpYV V+YeYpTgYFYS4V1uNCtAiDclsbIqtSg/vqg0J7X4EKMP0CUTmaVEk/OBMZBXEm9obGJuamxq aWRkZmqKQ1hJnLfZIyVASCA9sSQ1OzW1ILUIZhwTB6dUA6NqTVvkhbIvs21/uqxNK7rqv8or udwoeMUmpzn3Vj7cUuNv8Vvn6ymnLJ0dM+zuT7slU8b8x7/Oj+8kS8XkcJFdpVGK4q+nOyRm yNTt2BGaaCEkai06TSuXfXH7T4NXwmIP3Q/Ef5uwQy2JTXf2BMuZThnsx1UZL3N1FdzN+n/p QuClPfHqU5RYijMSDbWYi4oTAWVI91NgAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLLMWRmVeSWpSXmKPExsVy+t9jQV0W61kBBucusFlsenyN1YHRY/OS +gDGqAZGm4zUxJTUIoXUvOT8lMy8dFsl7+B453hTMwNDXUNLC3MlhbzE3FRbJRefAF23zByg qUoKZYk5pUChgMTiYiV9O0wTQkPcdC1gGiN0fUOC4HqMDNBAwhrGjFmn7AuOC1ecbd3A1MB4 i6+LkZNDQsBE4tLN7ywQtpjEhXvr2boYuTiEBKYzSryZuY4RwlnPJHFw1UqwKjYBPYkF/74y g9giAvYSK06cBLOFBRwljkxazQpiswioSmw8e4wNxOYVcJX4/+c6E8QGBYnTH9ayg9icAm4S d2dOAOrlAFrgKrH9A8cERp4FjAyrGEVTC5ILipPSc430ihNzi0vz0vWS83M3MYLD+Jn0DsZV DRaHGAU4GJV4eC1SZwYIsSaWFVfmHmKU4GBWEuFdbjQrQIg3JbGyKrUoP76oNCe1+BCjD9BR E5mlRJPzgTGWVxJvaGxibmpsamliYWJmiUNYSZy32SMlQEggPbEkNTs1tSC1CGYcEwenVAOj Sl2sVlOL8tfG6U8E/afsfaK7be45BZufm5tXzYwScK63Mr7m7bP/vLqQ9kG+Nif+bRxvN7vs upPXpMqhyzzn9MFVqibP2euP2jWVLk7gEJlYWTSX7a3Bk9lLooPWGGz4lNNoxPp06W/+BiXV uT3e7qlcyUdU/pZ8S2rffdd7OvedC/ESua1KLMUZiYZazEXFiQCAe0pNkAIAAA== X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121107_054214_312115_A622FC1A X-CRM114-Status: UNSURE ( 7.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.6 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.25 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add aliases to determine the i2c controller instance. Signed-off-by: Abhilash Kesavan --- arch/arm/boot/dts/exynos5250.dtsi | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index cf6a02d..3ae23fd 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -31,6 +31,15 @@ gsc1 = &gsc_1; gsc2 = &gsc_2; gsc3 = &gsc_3; + i2c0 = &i2c_0; + i2c1 = &i2c_1; + i2c2 = &i2c_2; + i2c3 = &i2c_3; + i2c4 = &i2c_4; + i2c5 = &i2c_5; + i2c6 = &i2c_6; + i2c7 = &i2c_7; + i2c8 = &i2c_8; }; gic:interrupt-controller@10481000 { @@ -104,7 +113,7 @@ interrupts = <0 54 0>; }; - i2c@12C60000 { + i2c_0: i2c@12C60000 { compatible = "samsung,s3c2440-i2c"; reg = <0x12C60000 0x100>; interrupts = <0 56 0>; @@ -112,7 +121,7 @@ #size-cells = <0>; }; - i2c@12C70000 { + i2c_1: i2c@12C70000 { compatible = "samsung,s3c2440-i2c"; reg = <0x12C70000 0x100>; interrupts = <0 57 0>; @@ -120,7 +129,7 @@ #size-cells = <0>; }; - i2c@12C80000 { + i2c_2: i2c@12C80000 { compatible = "samsung,s3c2440-i2c"; reg = <0x12C80000 0x100>; interrupts = <0 58 0>; @@ -128,7 +137,7 @@ #size-cells = <0>; }; - i2c@12C90000 { + i2c_3: i2c@12C90000 { compatible = "samsung,s3c2440-i2c"; reg = <0x12C90000 0x100>; interrupts = <0 59 0>; @@ -136,7 +145,7 @@ #size-cells = <0>; }; - i2c@12CA0000 { + i2c_4: i2c@12CA0000 { compatible = "samsung,s3c2440-i2c"; reg = <0x12CA0000 0x100>; interrupts = <0 60 0>; @@ -144,7 +153,7 @@ #size-cells = <0>; }; - i2c@12CB0000 { + i2c_5: i2c@12CB0000 { compatible = "samsung,s3c2440-i2c"; reg = <0x12CB0000 0x100>; interrupts = <0 61 0>; @@ -152,7 +161,7 @@ #size-cells = <0>; }; - i2c@12CC0000 { + i2c_6: i2c@12CC0000 { compatible = "samsung,s3c2440-i2c"; reg = <0x12CC0000 0x100>; interrupts = <0 62 0>; @@ -160,7 +169,7 @@ #size-cells = <0>; }; - i2c@12CD0000 { + i2c_7: i2c@12CD0000 { compatible = "samsung,s3c2440-i2c"; reg = <0x12CD0000 0x100>; interrupts = <0 63 0>; @@ -168,7 +177,7 @@ #size-cells = <0>; }; - i2c@12CE0000 { + i2c_8: i2c@12CE0000 { compatible = "samsung,s3c2440-hdmiphy-i2c"; reg = <0x12CE0000 0x1000>; interrupts = <0 64 0>;