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 X-Patchwork-Id: 1412581 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 5F540DFFCF for ; Thu, 6 Sep 2012 09:09:04 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T9Y1j-0000IM-IX; Thu, 06 Sep 2012 09:05:31 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T9Y1a-0000Et-6C for linux-arm-kernel@lists.infradead.org; Thu, 06 Sep 2012 09:05:23 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M9X0039P7W2FZQ0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 06 Sep 2012 18:05:21 +0900 (KST) X-AuditID: cbfee61a-b7fd26d000002b62-97-504867512fbb Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id C0.AA.11106.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> for linux-arm-kernel@lists.infradead.org; Thu, 06 Sep 2012 18:05:21 +0900 (KST) From: Thomas Abraham To: linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.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+NgFnrMJMWRmVeSWpSXmKPExsVy+t9jQd3AdI8Ag5MruSw2Pb7G6sDosXlJ fQBjFJdNSmpOZllqkb5dAlfGpEP3GQt2cFac3fiOsYHxLnsXIyeHhICJxLt9hxkhbDGJC/fW s3UxcnEICUxnlGjqmsoC4axnkni0YQ0LSBWbgIHEo4XvwLpFBJwlzu/ewghSxCxwilGi4fR8 sFHCAokS9/43soHYLAKqErfev2cFsXkFPCWeHNrKBrFOSWJD71EmEJtTwEvi56d2sBohoJr/ 69qYJjDyLmBkWMUomlqQXFCclJ5rqFecmFtcmpeul5yfu4kR7PVnUjsYVzZYHGIU4GBU4uH9 le8eIMSaWFZcmXuIUYKDWUmE19LUI0CINyWxsiq1KD++qDQntfgQozQHi5I4r9M5uwAhgfTE ktTs1NSC1CKYLBMHp1QDozubxOUzKm92ajGFL7NxCz5+MMZkAeOaZVbpvTernu9sMzi7+fa1 UKGdV9V4xLYsvRqa5pX0l0t8SV2ssJlpruYVz4t50z9eDzrL/eVInku10JS731W02+UC1v7a W7RNij/U+9MfW/5LntWpiwUF5wg0WKovq46T7pIKM7Ja+ePLz47kfxdXKbEUZyQaajEXFScC ABR6vRf2AQAA X-Spam-Note: CRM114 invocation failed X-Spam-Score: -6.9 (------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-6.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.24 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, patches@linaro.org, linus.walleij@linaro.org, swarren@wwwdotorg.org, w.sang@pengutronix.de, linux-samsung-soc@vger.kernel.org, ben-linux@fluff.org, dong.aisheng@linaro.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 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 {