From patchwork Tue Nov 20 22:27:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 1776461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id CA804DFF38 for ; Tue, 20 Nov 2012 22:29:36 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TawIN-0005ks-Az; Tue, 20 Nov 2012 22:27:55 +0000 Received: from mail-fa0-f73.google.com ([209.85.161.73]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TawIJ-0005k1-0U for linux-arm-kernel@lists.infradead.org; Tue, 20 Nov 2012 22:27:52 +0000 Received: by mail-fa0-f73.google.com with SMTP id a10so278485fad.0 for ; Tue, 20 Nov 2012 14:27:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=sA2fkWipa73aS8O0/AnVw5rSrVkvLcjWNNY1ByT1s/Y=; b=K/Oftbc1aoZLRuftNOC6hnHDJ6clhQeCZuoODCTLqLRTL8QUbUP0BHfjjoNem9oawq zCGW36j9+UY+u/R54A3QxPCS6zpPqaVNaQ/RvEA79xX+dXpUhmzyeNJJn/MQXUPBDs01 rtT3n3sDxJerCwaDi533qmdqlitTkaLeglyZa+FQcpyfeaURMqB7H35BICfVe40b/0qi 8x/+vjMyKv7ga3qgtawmhxd5KB8gmU6syVbpS2TpARD2JIsTA8DOktpwt2eq90mL3pVY Ssk1eudJXWSVAwnnWMiNUs2PjDy1Z6vUB/O2huAKpFKCyBe6Ev3Gn7R5IFmpjj9uDfv/ XxxQ== Received: by 10.14.216.7 with SMTP id f7mr13825087eep.4.1353450469049; Tue, 20 Nov 2012 14:27:49 -0800 (PST) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id u8si3660210een.1.2012.11.20.14.27.49 (version=TLSv1/SSLv3 cipher=AES128-SHA); Tue, 20 Nov 2012 14:27:49 -0800 (PST) Received: from tictac.mtv.corp.google.com (tictac.mtv.corp.google.com [172.22.73.80]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id AB2FA20005C; Tue, 20 Nov 2012 14:27:48 -0800 (PST) Received: by tictac.mtv.corp.google.com (Postfix, from userid 121310) id EDE5280B05; Tue, 20 Nov 2012 14:27:47 -0800 (PST) From: Doug Anderson To: linux-samsung-soc@vger.kernel.org Subject: [PATCH 1/2] ARM: EXYNOS: Add aliases for i2c controller for exynos4 Date: Tue, 20 Nov 2012 14:27:03 -0800 Message-Id: <1353450428-2615-1-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 1.7.7.3 X-Gm-Message-State: ALoCoQkSJPMRC/941W/qiYz3Tvea30yi+wO1AdrNI1WAO9pAcjXkaBtJFpjCnD2HQluKvi1unfiIEpjHLRHFrDgeI3yw3Tni1c8yd97uFx2AiCLW6uQ+yI+6afkJRBgxdFCq6Kvww8OZMfJJXHAoKQOb1C959jhj+3zreUrc8tjd0HsSmr8XIdgW6Wm9ZaFiQqeJu9oHgO87KJw0PP5IS/eCuNcvg++uDw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121120_172751_711616_4A250E81 X-CRM114-Status: GOOD ( 11.08 ) X-Spam-Score: -0.3 (/) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-0.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- 3.0 KHOP_BIG_TO_CC Sent to 10+ recipients instaed of Bcc or a list -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.161.73 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender 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] Cc: Kukjin Kim , Russell King , Tomasz Figa , Doug Anderson , linux-kernel@vger.kernel.org, Kyungmin Park , Thomas Abraham , linux-i2c@vger.kernel.org, Olof Johansson , linux-arm-kernel@lists.infradead.org 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 This is similar to a recent commit for exynos5250 titled: ARM: EXYNOS: Add aliases for i2c controller Adding aliases will be useful to prevent warnings in a future change. See: i2c: s3c2410: Get the i2c bus number from alias id Signed-off-by: Doug Anderson Acked-by: Olof Johansson --- arch/arm/boot/dts/exynos4.dtsi | 24 ++++++++++++++++-------- 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index a26c3dd..824d362 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -28,6 +28,14 @@ spi0 = &spi_0; spi1 = &spi_1; spi2 = &spi_2; + i2c0 = &i2c_0; + i2c1 = &i2c_1; + i2c2 = &i2c_2; + i2c3 = &i2c_3; + i2c4 = &i2c_4; + i2c5 = &i2c_5; + i2c6 = &i2c_6; + i2c7 = &i2c_7; }; gic:interrupt-controller@10490000 { @@ -121,7 +129,7 @@ status = "disabled"; }; - i2c@13860000 { + i2c_0: i2c@13860000 { #address-cells = <1>; #size-cells = <0>; compatible = "samsung,s3c2440-i2c"; @@ -130,7 +138,7 @@ status = "disabled"; }; - i2c@13870000 { + i2c_1: i2c@13870000 { #address-cells = <1>; #size-cells = <0>; compatible = "samsung,s3c2440-i2c"; @@ -139,7 +147,7 @@ status = "disabled"; }; - i2c@13880000 { + i2c_2: i2c@13880000 { #address-cells = <1>; #size-cells = <0>; compatible = "samsung,s3c2440-i2c"; @@ -148,7 +156,7 @@ status = "disabled"; }; - i2c@13890000 { + i2c_3: i2c@13890000 { #address-cells = <1>; #size-cells = <0>; compatible = "samsung,s3c2440-i2c"; @@ -157,7 +165,7 @@ status = "disabled"; }; - i2c@138A0000 { + i2c_4: i2c@138A0000 { #address-cells = <1>; #size-cells = <0>; compatible = "samsung,s3c2440-i2c"; @@ -166,7 +174,7 @@ status = "disabled"; }; - i2c@138B0000 { + i2c_5: i2c@138B0000 { #address-cells = <1>; #size-cells = <0>; compatible = "samsung,s3c2440-i2c"; @@ -175,7 +183,7 @@ status = "disabled"; }; - i2c@138C0000 { + i2c_6: i2c@138C0000 { #address-cells = <1>; #size-cells = <0>; compatible = "samsung,s3c2440-i2c"; @@ -184,7 +192,7 @@ status = "disabled"; }; - i2c@138D0000 { + i2c_7: i2c@138D0000 { #address-cells = <1>; #size-cells = <0>; compatible = "samsung,s3c2440-i2c";