From patchwork Mon Apr 14 13:16:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3980711 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2158BBFF02 for ; Mon, 14 Apr 2014 13:17:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E710201D3 for ; Mon, 14 Apr 2014 13:16:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8F10F201C8 for ; Mon, 14 Apr 2014 13:16:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754143AbaDNNQ6 (ORCPT ); Mon, 14 Apr 2014 09:16:58 -0400 Received: from mail-pb0-f50.google.com ([209.85.160.50]:60770 "EHLO mail-pb0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752344AbaDNNQ5 (ORCPT ); Mon, 14 Apr 2014 09:16:57 -0400 Received: by mail-pb0-f50.google.com with SMTP id md12so8197041pbc.23 for ; Mon, 14 Apr 2014 06:16:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=eafgHHU0GehAuyXuf16bMtFgJZzxcaBwGp1qLWpl2uQ=; b=WBaH7gwFsL3wF0NNMBcy+hybIIFG3Z6waUCJ12RRILDssAl7tl1jJqiuf1R+1XM3nA ksxfS0/wYcMZ5aB9+aerSKoihGWrdBBx9D7hnqHXQRraZBOOfUxPTII2bOTFpJTYWz7M knRouTKSsbcyuqymAVbW3aDa7XdAOOYD6BIzThO5e551CSD121Ma1EFGyovYUcQGXO77 P7fCJtLuAkGjq6xqsi1gJEUHgofbe0F5ph2nCYyH5K8vkXpY06HBwPSJ4cOaECUitWc8 jB7dB35A2Npa1uJIlbXmVcxI4WqBBVa1B2lBeBrQEjS7V+QT0PzCFju1D3lP2qR2RaZJ JE+w== X-Gm-Message-State: ALoCoQm+YHkpyq9XFa66pzlBM6CQb0bp/pCGTvhEPg83n9nBuXfpsOEri2a0Bgux6qEO3r8P5PU6 X-Received: by 10.66.148.134 with SMTP id ts6mr3573290pab.113.1397481416955; Mon, 14 Apr 2014 06:16:56 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id h6sm33770400pbl.75.2014.04.14.06.16.53 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Apr 2014 06:16:56 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, dianders@chromium.org, sachin.kamat@linaro.org, joshi@samsung.com, ajaykumar.rs@samsung.com Subject: [PATCH 1/4] ARM: dts: exynos5250-snow: add pinctrl for i2c-arbitrator Date: Mon, 14 Apr 2014 18:46:04 +0530 Message-Id: <1397481367-12652-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Doug Anderson Added i2c-arbitrator pinctrl node to Snow board. Signed-off-by: Doug Anderson Signed-off-by: Sachin Kamat Reviewed-by: Doug Anderson Reviewed-by: Tomasz Figa --- arch/arm/boot/dts/exynos5250-snow.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 1ce1088..32715b3 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -39,6 +39,22 @@ }; }; + pinctrl@13400000 { + arb_their_claim: arb-their-claim { + samsung,pins = "gpe0-4"; + samsung,pin-function = <0>; + samsung,pin-pud = <3>; + samsung,pin-drv = <0>; + }; + + arb_our_claim: arb-our-claim { + samsung,pins = "gpf0-3"; + samsung,pin-function = <1>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; + }; + gpio-keys { compatible = "gpio-keys"; @@ -65,6 +81,9 @@ wait-retry-us = <3000>; wait-free-us = <50000>; + pinctrl-names = "default"; + pinctrl-0 = <&arb_our_claim &arb_their_claim>; + /* Use ID 104 as a hint that we're on physical bus 4 */ i2c_104: i2c@0 { reg = <0>;