From patchwork Mon Oct 24 22:22:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 79101 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp2813558qge; Mon, 24 Oct 2016 15:22:19 -0700 (PDT) X-Received: by 10.98.103.152 with SMTP id t24mr33135490pfj.77.1477347739547; Mon, 24 Oct 2016 15:22:19 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m65si17506435pfj.199.2016.10.24.15.22.19; Mon, 24 Oct 2016 15:22:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965385AbcJXWWS (ORCPT + 10 others); Mon, 24 Oct 2016 18:22:18 -0400 Received: from mail-lf0-f43.google.com ([209.85.215.43]:35593 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965165AbcJXWWS (ORCPT ); Mon, 24 Oct 2016 18:22:18 -0400 Received: by mail-lf0-f43.google.com with SMTP id f134so39576927lfg.2 for ; Mon, 24 Oct 2016 15:22:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=PVk7MwHrbXDaqRjVIoOJ7nmsOw9SIG2HHjBc889Op60=; b=jMCm3JQSACCCemVsu6M/pJoeR/fDFh1/rzBG+5KPifbIWut7V9IqSXR2nMoAfpq7zz NHhwTv5Vhqz3AJTpJsMrKU8ze8TU8mByXcDOrnnVIhQEpE9qdd+H2fnxo1HF6tcuMWsO 7+VwYX/cBgqwG20/4ENP3EfDBrd0KT0ZppALo= 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=PVk7MwHrbXDaqRjVIoOJ7nmsOw9SIG2HHjBc889Op60=; b=VwMtt9wf98cWmDjGG85nWJAP6ZxDzkVMzH4wlMfJ+fyCnoD45hCYCyURkzpp0Z0SnM OkR2A3+fZrmbKEIFpOToGsRpnATACUFY6ShtTlXqIgj7maYjSxkYs4WUeaWZPRJvRSWw 7jyPFSFEZ8WRL9WblP0m8agadz7WQn8f27mpq5J+xnCSLTF9abvQlRBZJ4sc/dpVjtZz 4T0HgBv/g1Njhq/5WQaDvR6UYfPfCFdgKxfHIylMRRRFRCIwzhl1oZEz9fgjvCWVRA9U oIyctHftb316joMe4URUechaz4TF7e/KrHUTDGDrgBnFsEHQpXRtUnV4zvvLRLsz4vET r/kw== X-Gm-Message-State: ABUngvcChqmbwGbhkBL/yL8X/eagUKcAIll99fKaQKTF+cAf7zeYmBuQjgepHYCROou3vCnf X-Received: by 10.25.162.78 with SMTP id l75mr9297315lfe.42.1477347736174; Mon, 24 Oct 2016 15:22:16 -0700 (PDT) Received: from localhost.localdomain.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id f124sm3380372lff.20.2016.10.24.15.22.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Oct 2016 15:22:15 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Andy Gross Cc: Stephen Boyd , Bjorn Andersson , David Brown , Linus Walleij Subject: [PATCH 1/2 v5] ARM: dts: add EBI2 to the Qualcomm MSM8660 DTSI Date: Tue, 25 Oct 2016 00:22:12 +0200 Message-Id: <1477347732-10385-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This adds the external bus interface EBI2 to the MSM8660 device tree, albeit with status = "disabled" so that devices actually using EBI2 can turn it on if needed. Signed-off-by: Linus Walleij --- ChangeLog v4->v5: - Rename "ebi2@" to "external-bus@" - Can we apply this now? ChangeLog v3->v4: - Rebase on kernel v4.9-rc1 - Bindings and driver are merged so should be clear to apply. ChangeLog v2->v3: - Use the new #address-cells = <2> for indicating the CS in the first address cell - Use the ranges property properly for defining the six different CS address windows - Define CS3 to properly map over 128MB - The EBI2 bindings are now ACKed by Rob Herring and a pull request to ARM SoC for both binding and driver is pending. - This should be safe to merge for v4.9 --- arch/arm/boot/dts/qcom-msm8660.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/qcom-msm8660.dtsi b/arch/arm/boot/dts/qcom-msm8660.dtsi index 8c65e0d82559..4d828f810746 100644 --- a/arch/arm/boot/dts/qcom-msm8660.dtsi +++ b/arch/arm/boot/dts/qcom-msm8660.dtsi @@ -141,6 +141,23 @@ }; }; + external-bus@1a100000 { + compatible = "qcom,msm8660-ebi2"; + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0x0 0x1a800000 0x00800000>, + <1 0x0 0x1b000000 0x00800000>, + <2 0x0 0x1b800000 0x00800000>, + <3 0x0 0x1d000000 0x08000000>, + <4 0x0 0x1c800000 0x00800000>, + <5 0x0 0x1c000000 0x00800000>; + reg = <0x1a100000 0x1000>, <0x1a110000 0x1000>; + reg-names = "ebi2", "xmem"; + clocks = <&gcc EBI2_2X_CLK>, <&gcc EBI2_CLK>; + clock-names = "ebi2x", "ebi2"; + status = "disabled"; + }; + qcom,ssbi@500000 { compatible = "qcom,ssbi"; reg = <0x500000 0x1000>;