From patchwork Tue Feb 23 14:14:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 62707 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1855251lbl; Tue, 23 Feb 2016 06:17:44 -0800 (PST) X-Received: by 10.98.8.80 with SMTP id c77mr46012057pfd.42.1456237064177; Tue, 23 Feb 2016 06:17:44 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id yk5si387101pab.160.2016.02.23.06.17.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Feb 2016 06:17:44 -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 1aYDlU-0006p3-DI; Tue, 23 Feb 2016 14:16:36 +0000 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aYDkB-0004QX-44 for linux-arm-kernel@lists.infradead.org; Tue, 23 Feb 2016 14:15:16 +0000 Received: by mail-wm0-x231.google.com with SMTP id g62so224294056wme.1 for ; Tue, 23 Feb 2016 06:14:54 -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=/o0uN6ZnzrMuOOzixdKtYdniwlorpz/t5qJWX+SMZDY=; b=X1IIw2PyaZ+KL2ECpwszqKfvRSZPAZVzH5QBZb+q/g32zaghdTnH+RdKwwFqyfefyp YnuAq0CKrJmqcovph7jHsJ079JXzYfKwGKq7n0flEloOB/LdYTYVbW9MNpeRoZVVKT58 NuWS+dzNeU7O2fpGhZd/sEGo98ysG9ve2Gcgg= 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=/o0uN6ZnzrMuOOzixdKtYdniwlorpz/t5qJWX+SMZDY=; b=aKgzD8TjkUbt+0/7YH95sj/rPOgCHVSDavOZe/vPquu1Jo1RUe5HCeU7UsvdWPqL1H Cbn0NFWigJex0Itr+6vJNsAYZv+FD0sA6cOa1UHi92iVwqszWN6Mm/yZFBBBamBZqhzQ KfxyiSeEXzRZ423bDZuADkpZ9hNeLk8w1tcdaeY5m8eiZiKiBdwp4+U01gxs2DlhuHbk YpgXy3WcBEdXWpoOHpDPVkoYAjBJxyE9OHrq9zHw+0ozJm7b8sfqcbjW5MvHFsvI5+tz kDDZxWk7/NNCWywVDfQgUsySvnxp05Fh/8Sxkonk83bQdyZvSnose3MMNYnt/K1+D+Gk Er7w== X-Gm-Message-State: AG10YOQpKAgJ1WB+CEMWoJF2racyOiGLdGfK58lfC6IRUYT/0A0wtaV0PFdQg2j6EASjQppE X-Received: by 10.28.227.213 with SMTP id a204mr19305679wmh.2.1456236893481; Tue, 23 Feb 2016 06:14:53 -0800 (PST) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id av3sm29964907wjc.44.2016.02.23.06.14.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Feb 2016 06:14:52 -0800 (PST) From: Srinivas Kandagatla To: Andy Gross , linux-arm-msm@vger.kernel.org Subject: [PATCH 09/12] ARM: dts: apq8064: add gsbi4 with i2c node. Date: Tue, 23 Feb 2016 14:14:50 +0000 Message-Id: <1456236890-2783-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_061515_477262_9607A655 X-CRM114-Status: GOOD ( 10.82 ) 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:231 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 gsbi4 and i2c node. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-pins.dtsi | 25 +++++++++++++++++++++++++ arch/arm/boot/dts/qcom-apq8064.dtsi | 23 +++++++++++++++++++++++ 2 files changed, 48 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 0a342d3..0cb22cf 100644 --- a/arch/arm/boot/dts/qcom-apq8064-pins.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064-pins.dtsi @@ -90,6 +90,31 @@ }; }; + i2c4_pins: i2c4 { + mux { + pins = "gpio12", "gpio13"; + function = "gsbi4"; + }; + + pinconf { + pins = "gpio12", "gpio13"; + drive-strength = <16>; + bias-disable; + }; + }; + + i2c4_pins_sleep: i2c4_pins_sleep { + mux { + pins = "gpio12", "gpio13"; + function = "gpio"; + }; + pinconf { + pins = "gpio12", "gpio13"; + drive-strength = <2>; + bias-disable = <0>; + }; + }; + spi5_default: spi5_default { pinmux { pins = "gpio51", "gpio52", "gpio54"; diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 2367adc..445297c 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -287,6 +287,29 @@ }; }; + gsbi4: gsbi@16300000 { + status = "disabled"; + compatible = "qcom,gsbi-v1.0.0"; + cell-index = <4>; + reg = <0x16300000 0x03>; + clocks = <&gcc GSBI4_H_CLK>; + clock-names = "iface"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + gsbi4_i2c: i2c@16380000 { + compatible = "qcom,i2c-qup-v1.1.1"; + pinctrl-0 = <&i2c4_pins &i2c4_pins_sleep>; + pinctrl-names = "default", "sleep"; + reg = <0x16380000 0x1000>; + interrupts = ; + clocks = <&gcc GSBI4_QUP_CLK>, + <&gcc GSBI4_H_CLK>; + clock-names = "core", "iface"; + }; + }; + gsbi5: gsbi@1a200000 { status = "disabled"; compatible = "qcom,gsbi-v1.0.0";