From patchwork Thu Sep 6 09:23:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thomas.abraham@linaro.org X-Patchwork-Id: 11208 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 1318223E54 for ; Thu, 6 Sep 2012 09:05:25 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 24F5DA18BA9 for ; Thu, 6 Sep 2012 09:04:29 +0000 (UTC) Received: by iafj25 with SMTP id j25so1653736iaf.11 for ; Thu, 06 Sep 2012 02:05:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:x-auditid :from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-brightmail-tracker:x-gm-message-state; bh=SOk7utPtLQM1TKe2guPZT4b2rjq/AqFaeSCdufyW2r4=; b=PZ5X2Q86soo51ZdScV+qgA6CzLHcTPKrQvu3b34eKmM7P7yEbDqcB95kh4O7JtE7WD EGxGs7A6pJqbgHzGOYdia3SkchtRjGyjvpbTGPb7j7FObfcG+qNicnDd29yqynLE6Aq9 RJWdSmCm5BPzUg03BnmerKCUKrHSSC3SVxkr7T3s+HmIj7zYmhqWMz3DGrF0o4iitI1T as6TtCEB/5LxvNzITbYs7LFGnj1VUBCUWLoPAsyQbKOpf9PtRHwWFgBKlN6rKibgrwav ZRVhqAITKQhwiHcURDPTkVMoXe7BC2LnF7gV//WB7yQPxRUb9FiiOGEtomGLezi/uocq L6NQ== Received: by 10.50.191.227 with SMTP id hb3mr11363855igc.43.1346922324133; Thu, 06 Sep 2012 02:05:24 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp305754igc; Thu, 6 Sep 2012 02:05:23 -0700 (PDT) Received: by 10.66.89.37 with SMTP id bl5mr2706106pab.55.1346922322579; Thu, 06 Sep 2012 02:05:22 -0700 (PDT) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id sb7si2792554pbc.1.2012.09.06.02.05.21; Thu, 06 Sep 2012 02:05:22 -0700 (PDT) Received-SPF: neutral (google.com: 203.254.224.25 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) client-ip=203.254.224.25; Authentication-Results: mx.google.com; spf=neutral (google.com: 203.254.224.25 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) smtp.mail=thomas.abraham@linaro.org 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 <0M9X00I9T7W32CY0@mailout2.samsung.com>; Thu, 06 Sep 2012 18:05:21 +0900 (KST) X-AuditID: cbfee61b-b7f056d000002c30-e9-50486751b93b Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id B0.C9.11312.15768405; Thu, 06 Sep 2012 18:05:21 +0900 (KST) Received: from localhost.localdomain ([107.108.73.37]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M9X004YR7UR08A0@mmp2.samsung.com>; Thu, 06 Sep 2012 18:05:21 +0900 (KST) From: Thomas Abraham To: linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org, linus.walleij@linaro.org, dong.aisheng@linaro.org, swarren@wwwdotorg.org, kgene.kim@samsung.com, patches@linaro.org, w.sang@pengutronix.de, ben-linux@fluff.org Subject: [PATCH 2/2] ARM: dts: exynos4: allow i2c0 bus to be configured using pinctrl interface Date: Thu, 06 Sep 2012 14:53:01 +0530 Message-id: <1346923381-14144-3-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.6.6.rc2 In-reply-to: <1346923381-14144-1-git-send-email-thomas.abraham@linaro.org> References: <1346923381-14144-1-git-send-email-thomas.abraham@linaro.org> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHJMWRmVeSWpSXmKPExsVy+t9jQd3AdI8Ag5N3OS2WnethtZjyZzmT xZTDX1gcmD3uXNvDFsAYxWWTkpqTWZZapG+XwJUx6dB9xoIdnBVnN75jbGC8y97FyMkhIWAi 0XzuIAuELSZx4d56ti5GLg4hgemMEoev3mGGcNqYJF6tnM4IUsUmYCDxaOE7sG4RAWeJ87u3 MIIUMQucYpRoOD0frEhYIFHi3v9GNhCbRUBV4tb796wgNq+Ap8STQ1vZINYpSWzoPcoEYnMK eEn8/NQOViMEVPN/XRvTBEbeBYwMqxhFUwuSC4qT0nON9IoTc4tL89L1kvNzNzGCQ+GZ9A7G VQ0WhxgFOBiVeHh/5rsHCLEmlhVX5h5ilOBgVhLhtTT1CBDiTUmsrEotyo8vKs1JLT7EKM3B oiTO63TOLkBIID2xJDU7NbUgtQgmy8TBKdXA2D2jKujplZgHffsszqT6f/i3fB23EZuHEKfq tylTHBg2TedIfLjzQV6vAPed016LIrzrtn9XlPFxza1sVnKxkjMIXvc4P3r+xEVZv/ZpOe09 53f5X8O2/XGfTf2yZ8vPucJ+NmT9dZlNUwpCVxZMWVt87PDsr5dP8L04wRW9Zkv/YSGhazqd m5VYijMSDbWYi4oTAeCMY5YBAgAA X-Gm-Message-State: ALoCoQm4y9S4j2zueyFKCwFU5uct3p17E4+6nirz1mVTZtVJ1+UWUctq38C8bSZ8KqaOi9RiGLHd Add a default pin state for i2c0 controller which the pinctrl interface can use to setup the i2c0 bus. Signed-off-by: Thomas Abraham --- arch/arm/boot/dts/exynos4210-smdkv310.dts | 2 -- arch/arm/boot/dts/exynos4210.dtsi | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210-smdkv310.dts b/arch/arm/boot/dts/exynos4210-smdkv310.dts index 1beccc8..ea76542 100644 --- a/arch/arm/boot/dts/exynos4210-smdkv310.dts +++ b/arch/arm/boot/dts/exynos4210-smdkv310.dts @@ -126,8 +126,6 @@ #size-cells = <0>; samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <20000>; - gpios = <&gpd1 0 2 3 0>, - <&gpd1 1 2 3 0>; eeprom@50 { compatible = "samsung,24ad0xd1"; diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index a4bd0c9..e08387f 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -157,6 +157,8 @@ compatible = "samsung,s3c2440-i2c"; reg = <0x13860000 0x100>; interrupts = <0 58 0>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_bus>; }; i2c@13870000 {