From patchwork Wed Mar 6 11:53:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shaik Ameer Basha X-Patchwork-Id: 2225071 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 7A5A2DFE75 for ; Wed, 6 Mar 2013 11:55:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757841Ab3CFLzA (ORCPT ); Wed, 6 Mar 2013 06:55:00 -0500 Received: from mail-pb0-f42.google.com ([209.85.160.42]:45379 "EHLO mail-pb0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757916Ab3CFLy7 (ORCPT ); Wed, 6 Mar 2013 06:54:59 -0500 Received: by mail-pb0-f42.google.com with SMTP id xb4so5911879pbc.15 for ; Wed, 06 Mar 2013 03:54:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=uOFOLy6mYCK2jWlLA/yqtG+3SgRsmC7Wanh0H/xyC18=; b=KHPYka2cx/D8OjNI0p5rChuDqWEHZPU1WvcctGeLzIrayD5GnyuFrp9MGmYVGHHDVJ pzUIrw7GJQHMB6ARodUM8hYCv3uWkglDQkYUm4X8rUbEEf+e/CQbI8jUIf299cJAzQvx IbHgFFpxmb3oI/jJDJUCA9/izSn6C0RwhaZYarzqR2JMdOAfOPc3next5KD+gA+Q6vzF xWcVdcVsIwYEYFHVDJCA9849FGEDT20hmRuR6I/tBoM8jiHq+WgNUKgsYIXJ7PXwNINU +NuNxZm5m9LlSkiiZLZ02tX1TZ4MWemnKuf7fmfXpOZWdAdfUT/7mlwe5C5HbVXTh0U4 va+A== X-Received: by 10.68.198.34 with SMTP id iz2mr43247618pbc.148.1362570899202; Wed, 06 Mar 2013 03:54:59 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ip8sm5358307pbc.39.2013.03.06.03.54.55 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Mar 2013 03:54:58 -0800 (PST) From: Shaik Ameer Basha To: linux-media@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-samsung-soc@vger.kernel.org Cc: s.nawrocki@samsung.com, shaik.samsung@gmail.com Subject: [RFC 09/12] ARM: dts: Adding pinctrl support to Exynos5250 i2c nodes Date: Wed, 6 Mar 2013 17:23:55 +0530 Message-Id: <1362570838-4737-10-git-send-email-shaik.ameer@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362570838-4737-1-git-send-email-shaik.ameer@samsung.com> References: <1362570838-4737-1-git-send-email-shaik.ameer@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org This patch adds the default pinctrl functionality to the i2c device nodes on exynos5250-smdk5250.dts file Signed-off-by: Shaik Ameer Basha --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index 942d576..4b10744 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -30,8 +30,8 @@ i2c@12C60000 { samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <20000>; - gpios = <&gpb3 0 2 3 0>, - <&gpb3 1 2 3 0>; + pinctrl-0 = <&i2c0_bus>; + pinctrl-names = "default"; eeprom@50 { compatible = "samsung,s524ad0xd1"; @@ -42,8 +42,8 @@ i2c@12C70000 { samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <20000>; - gpios = <&gpb3 2 2 3 0>, - <&gpb3 3 2 3 0>; + pinctrl-0 = <&i2c1_bus>; + pinctrl-names = "default"; eeprom@51 { compatible = "samsung,s524ad0xd1"; @@ -69,8 +69,8 @@ i2c@12C80000 { samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <66000>; - gpios = <&gpa0 6 3 3 0>, - <&gpa0 7 3 3 0>; + pinctrl-0 = <&i2c2_bus>; + pinctrl-names = "default"; hdmiddc@50 { compatible = "samsung,exynos5-hdmiddc"; @@ -80,22 +80,32 @@ i2c@12C90000 { status = "disabled"; + pinctrl-0 = <&i2c3_bus>; + pinctrl-names = "default"; }; i2c@12CA0000 { status = "disabled"; + pinctrl-0 = <&i2c4_bus>; + pinctrl-names = "default"; }; i2c@12CB0000 { status = "disabled"; + pinctrl-0 = <&i2c5_bus>; + pinctrl-names = "default"; }; i2c@12CC0000 { status = "disabled"; + pinctrl-0 = <&i2c6_bus>; + pinctrl-names = "default"; }; i2c@12CD0000 { status = "disabled"; + pinctrl-0 = <&i2c7_bus>; + pinctrl-names = "default"; }; i2c@12CE0000 {