Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754114Ab2KUJnO (ORCPT ); Wed, 21 Nov 2012 04:43:14 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:41742 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751937Ab2KUJnI (ORCPT ); Wed, 21 Nov 2012 04:43:08 -0500 X-AuditID: cbfee61b-b7f616d00000319b-21-50aca228bff6 From: Kukjin Kim To: "'Doug Anderson'" , linux-samsung-soc@vger.kernel.org Cc: linux-i2c@vger.kernel.org, "'Olof Johansson'" , "'Thomas Abraham'" , "'Russell King'" , "'Tomasz Figa'" , "'Kyungmin Park'" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1353450428-2615-1-git-send-email-dianders@chromium.org> In-reply-to: <1353450428-2615-1-git-send-email-dianders@chromium.org> Subject: RE: [PATCH 1/2] ARM: EXYNOS: Add aliases for i2c controller for exynos4 Date: Wed, 21 Nov 2012 18:43:04 +0900 Message-id: <0dfb01cdc7cc$9aa39500$cfeabf00$%kim@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac3HbkfixzB/PV60R4OkgDtjkt7UJgAOWEcg Content-language: ko DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrAIsWRmVeSWpSXmKPExsVy+t8zfV2NRWsCDBpb9C06/n5htLi8aw6b xYzz+5gcmD0+b5ILYIzisklJzcksSy3St0vgymj4MZe94LloxeQrl1gbGGcLdDFyckgImEjc +3+HGcIWk7hwbz1bFyMXh5DAMkaJY1euMsEUdV9sYIVITGeU+PtqDjuE85dR4s6cfrAqNgEN icPvn7GD2CICfhJHn+9gAiliFtjCJHH4yn+wHUICLhKrT70FSnBwcAq4Sqw/rgUSFhYIkNi8 4CcbiM0ioCrx88Q+MJtXwFb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jfSKE3OLS/PS9ZLzczcxgmP5mfQOxlUNFocYBTgYlXh4JfatDhBiTSwrrsw9xCjB wawkwrtpypoAId6UxMqq1KL8+KLSnNTiQ4w+QH9OZJYSTc4Hppm8knhDYxMzI0sjMwsjE3Nz HMJK4rzNHikBQgLpiSWp2ampBalFMOOYODilGhi3pgYxCIs+eTD9pI5TEfu7s++nGHLF6G62 SVXec0eEeQJ/0Lxk/x9rODqObt9l3hG6WJqv12wnh/Leb90X597y/r3rX7dHTnqfX0bMYauH nrVa9dJaLtE/A4oF00vLOxStjZ46dVzPrpto/y3FPai3fqF3ZKr7al7ft9Hb5z/4+O1p7uMt m5VYijMSDbWYi4oTAeyDNJISAwAA X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2918 Lines: 123 Doug Anderson wrote: > > 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 > > --- > 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"; > -- > 1.7.7.3 Applied, thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/