From patchwork Tue Feb 23 14:14:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 62706 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1855022lbl; Tue, 23 Feb 2016 06:17:18 -0800 (PST) X-Received: by 10.66.220.7 with SMTP id ps7mr46911890pac.58.1456237038180; Tue, 23 Feb 2016 06:17:18 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id p84si47670785pfi.134.2016.02.23.06.17.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Feb 2016 06:17:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for 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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@linaro.org 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 1aYDlB-0006Vd-9x; Tue, 23 Feb 2016 14:16:17 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aYDk5-0004NS-8v for linux-arm-kernel@lists.infradead.org; Tue, 23 Feb 2016 14:15:10 +0000 Received: by mail-wm0-x233.google.com with SMTP id a4so210963382wme.1 for ; Tue, 23 Feb 2016 06:14:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TQcoh/qmtdcB2a8CPYTQ0HiKHe4N6Xkg2FBHgQfq278=; b=U0bdhnwT5RPJ3bPFUhp45KSpWMIgm+/15QQNXOH1JiwVeh3CurvqeKspb6TqGn2aMM VKMBEycM0tbIpU2SPuEbKqaQWL9gRZ4FWrN9Bo9Yt+6KDt4byLsErCYHAvFWNJ65K5rc +6qyGb6KIzQDhx4EET1DZdbJbRLNnKQUb+uCc= 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:in-reply-to :references; bh=TQcoh/qmtdcB2a8CPYTQ0HiKHe4N6Xkg2FBHgQfq278=; b=nIb9xgTTuqA2vzA5RqI2KxQ++oT+osNesFoq7VnOGGHj0UIFkoAwqOnkrIT2Ni1Yjt AQerjK22tGbYcLBoo0pOHAwkF/oXGbTJ0rbavmc8o01fjfGW/IC4Jzx5HcKtqa452DOA 9W+xBiCQ0lhaeSlMd17lkvGHj3ztZkbqTXnNTghSn6LM0CL/jj6aj2T9Ifdl6Jv+P7aQ oA5syOsvu9M99WK7NlCBxV1O6enfcNcaqAxT72SmZokXhRO3X8W1OKWk+O3CDkXyi7v6 +eDIvH8uzGEu8/ozbydwXIbqeGlquiMn6xxQW2erTHnWbHc62g2Jzibf8v+ux09ebcTb KfIA== X-Gm-Message-State: AG10YOT9J8OyAu8l+bVk7EOz/qSKraVwuvZDtH73kYQP8gu11AckdQb9hst65EgUYXZtUyDe X-Received: by 10.194.58.12 with SMTP id m12mr38091921wjq.22.1456236887652; Tue, 23 Feb 2016 06:14:47 -0800 (PST) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id ys9sm9042664wjc.35.2016.02.23.06.14.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Feb 2016 06:14:47 -0800 (PST) From: Srinivas Kandagatla To: Andy Gross , linux-arm-msm@vger.kernel.org Subject: [PATCH 07/12] ARM: dts: apq8064: add missing i2c2 pinctrl info Date: Tue, 23 Feb 2016 14:14:45 +0000 Message-Id: <1456236885-2741-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1456236639-1379-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1456236639-1379-1-git-send-email-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160223_061509_573065_1094E3A7 X-CRM114-Status: GOOD ( 10.80 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:233 listed in] [list.dnswl.org] -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.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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: devicetree@vger.kernel.org, Russell King , linux-kernel@vger.kernel.org, Rob Herring , Srinivas Kandagatla , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org This patch adds missing i2c2 pinctrl information in i2c2 node. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-pins.dtsi | 26 ++++++++++++++++++++++++++ arch/arm/boot/dts/qcom-apq8064.dtsi | 2 ++ 2 files changed, 28 insertions(+) -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm/boot/dts/qcom-apq8064-pins.dtsi b/arch/arm/boot/dts/qcom-apq8064-pins.dtsi index 0b7b10e..0a342d3 100644 --- a/arch/arm/boot/dts/qcom-apq8064-pins.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064-pins.dtsi @@ -39,6 +39,32 @@ }; }; + i2c2_pins: i2c2 { + mux { + pins = "gpio24", "gpio25"; + function = "gsbi2"; + }; + + pinconf { + pins = "gpio24", "gpio25"; + drive-strength = <16>; + bias-disable; + }; + }; + + i2c2_pins_sleep: i2c2_pins_sleep { + mux { + pins = "gpio24", "gpio25"; + function = "gpio"; + }; + + pinconf { + pins = "gpio24", "gpio25"; + drive-strength = <2>; + bias-disable = <0>; + }; + }; + i2c3_pins: i2c3 { mux { pins = "gpio8", "gpio9"; diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 3fefb2e..2367adc 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -255,6 +255,8 @@ gsbi2_i2c: i2c@124a0000 { compatible = "qcom,i2c-qup-v1.1.1"; reg = <0x124a0000 0x1000>; + pinctrl-0 = <&i2c2_pins &i2c2_pins_sleep>; + pinctrl-names = "default", "sleep"; interrupts = <0 196 IRQ_TYPE_NONE>; clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>; clock-names = "core", "iface";