From patchwork Fri Sep 11 17:06:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 53489 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id 459D6215BF for ; Fri, 11 Sep 2015 17:09:00 +0000 (UTC) Received: by lagj9 with SMTP id j9sf30073923lag.0 for ; Fri, 11 Sep 2015 10:08:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:cc:mime-version :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=ckKpIYxU9ocUFZwRRu8IFfTIKt7iRYjKxu5S56Zt/Qc=; b=QMVX1aMiMVYjXrwLbCCNJ3KEZN0sYaxQnvtwB9zNgFjACcG1BZIAdw3hjUtQFEC8FF QloU2G0ODpot62hwc42GICm1jL72PXxcKPsaD/EQf2sKT8rsOVEo9aBbBxaA9lJApwiK qC+Mbr7iC1STMZwJLTsER6dxpkdnbka+jyIHHfUOgLt3XmWhonG6Ule6VICMGzp3Sw/r RsBerUXCV8OtdWrzpM5wmXnpCEl5cDhT6dtM4u+mXfWPGQYzUcrB62jkso0ae15OO4PD W7pz9Zy5fGKTw/aoZDQwy1SplN2LtmNi0AE/Vxu1HgiSV2Mc86078pSaBu6+IiQpg5EW plxA== X-Gm-Message-State: ALoCoQl7IdPb5JWYP+m89PEkgvi/OAHH25THk9Ri9VNq/IDLt7ETVfc67gj2Y8UPdjt1rCs+EXB+ X-Received: by 10.180.188.211 with SMTP id gc19mr2704253wic.6.1441991339291; Fri, 11 Sep 2015 10:08:59 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.70 with SMTP id y6ls331570lay.55.gmail; Fri, 11 Sep 2015 10:08:59 -0700 (PDT) X-Received: by 10.152.29.232 with SMTP id n8mr35341695lah.97.1441991339122; Fri, 11 Sep 2015 10:08:59 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id kg7si779495lbc.176.2015.09.11.10.08.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Sep 2015 10:08:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by lanb10 with SMTP id b10so51803607lan.3 for ; Fri, 11 Sep 2015 10:08:59 -0700 (PDT) X-Received: by 10.152.23.199 with SMTP id o7mr820326laf.76.1441991339020; Fri, 11 Sep 2015 10:08:59 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1734152lbq; Fri, 11 Sep 2015 10:08:58 -0700 (PDT) X-Received: by 10.50.112.163 with SMTP id ir3mr3415908igb.80.1441991336023; Fri, 11 Sep 2015 10:08:56 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id p137si1193456ioe.59.2015.09.11.10.08.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Sep 2015 10:08:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZaRnO-0007Pf-4O; Fri, 11 Sep 2015 17:07:30 +0000 Received: from mail-wi0-f174.google.com ([209.85.212.174]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZaRnC-0007G2-Hd for linux-arm-kernel@lists.infradead.org; Fri, 11 Sep 2015 17:07:19 +0000 Received: by wicfx3 with SMTP id fx3so71558604wic.1 for ; Fri, 11 Sep 2015 10:06:56 -0700 (PDT) X-Received: by 10.194.221.4 with SMTP id qa4mr84995120wjc.145.1441991216075; Fri, 11 Sep 2015 10:06:56 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by smtp.gmail.com with ESMTPSA id c11sm87994wib.1.2015.09.11.10.06.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Sep 2015 10:06:55 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com Subject: [PATCH 02/11] ARM: STi: DT: STiH407: Add i2c3 alternate pin configs Date: Fri, 11 Sep 2015 18:06:25 +0100 Message-Id: <1441991194-11948-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441991194-11948-1-git-send-email-peter.griffin@linaro.org> References: <1441991194-11948-1-git-send-email-peter.griffin@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150911_100718_747732_C62B62DE X-CRM114-Status: GOOD ( 11.80 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.174 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.212.174 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Cc: peter.griffin@linaro.org, devicetree@vger.kernel.org, lee.jones@linaro.org, Seraphin Bonnaffe MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 i2c3 controller can use several sets of pins depending on board design. This patch adds the missing alternate pinconfigs. Signed-off-by: Seraphin Bonnaffe Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi index d86ccc8..ce219a1 100644 --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi @@ -430,12 +430,24 @@ }; i2c3 { - pinctrl_i2c3_default: i2c3-default { + pinctrl_i2c3_default: i2c3-alt1-0 { st,pins { sda = <&pio18 6 ALT1 BIDIR>; scl = <&pio18 5 ALT1 BIDIR>; }; }; + pinctrl_i2c3_alt1_1: i2c3-alt1-1 { + st,pins { + sda = <&pio17 7 ALT1 BIDIR>; + scl = <&pio17 6 ALT1 BIDIR>; + }; + }; + pinctrl_i2c3_alt3_0: i2c3-alt3-0 { + st,pins { + sda = <&pio13 6 ALT3 BIDIR>; + scl = <&pio13 5 ALT3 BIDIR>; + }; + }; }; spi0 {