From patchwork Tue Mar 29 01:32:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 64549 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1740862lbc; Mon, 28 Mar 2016 18:34:27 -0700 (PDT) X-Received: by 10.66.146.39 with SMTP id sz7mr48068823pab.76.1459215267424; Mon, 28 Mar 2016 18:34:27 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x6si6640500pas.72.2016.03.28.18.34.27; Mon, 28 Mar 2016 18:34:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755867AbcC2BeZ (ORCPT + 29 others); Mon, 28 Mar 2016 21:34:25 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:33291 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755677AbcC2Bct (ORCPT ); Mon, 28 Mar 2016 21:32:49 -0400 Received: by mail-pa0-f44.google.com with SMTP id zm5so1482660pac.0 for ; Mon, 28 Mar 2016 18:32:49 -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:in-reply-to:references; bh=9qwFWmi7fKLM7tXZWmZquYQeLKFRq1DjJB+y666Ai0M=; b=QMj7Vb7RajoIMSqWV7/0zVMw94+YPYgE9kJWat/SgTk879tRlEjORrg8nnETbhN4bi KQ/2lHU76yrJEM4njmdeYFIEv96Kcq+0N8/y17BhgO0wzTbyDmkQTzMObGSDids8Nsxy +zImTULVekecCrSQzBccNr1KZmqu8EzFY3Lag= 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=9qwFWmi7fKLM7tXZWmZquYQeLKFRq1DjJB+y666Ai0M=; b=VkfmZPJqZboiw7WHjUJVDJcda8eMzsW69pla9spMsumuima+pni/+IGzBHIAABk9Zy ro8n3WqvJWqEQnIN+9NXzvF94fBZgZiy8AsoSw7pmhTwbYu0LoKisTHazWda+zCnqspO wOV4wNibFCmGRmKrji39ODe2m+4lUw+jAAD5/z05pGn3YqaRefe0pFyO3B5L0syWW1qa 7rf+tP5kj/mYPRXw8lHB1m+W1NO5wlxI7F0jSDEhx83+MqnThVKQaStTc9LWR+vSvSbN 0G0JEas4bI8P87Plom+6G4vRYtYh2UjnlJifRdn4ZkoNfZHriCUvH02EDLHhhLo9MFzh 3oPg== X-Gm-Message-State: AD7BkJLXCxz2OI5h3fmngiSw6VENHhu5Ht2gAYZpUQDSnOG/nE2AMCJR2tBBuHJckVHVWJXW X-Received: by 10.66.139.199 with SMTP id ra7mr47532166pab.74.1459215168782; Mon, 28 Mar 2016 18:32:48 -0700 (PDT) Received: from localhost.localdomain (ip68-111-223-48.sd.sd.cox.net. [68.111.223.48]) by smtp.gmail.com with ESMTPSA id m84sm38419243pfi.75.2016.03.28.18.32.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Mar 2016 18:32:48 -0700 (PDT) From: Bjorn Andersson To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] ARM: dts: msm8974: Add modem smp2p and smd nodes Date: Mon, 28 Mar 2016 18:32:39 -0700 Message-Id: <1459215159-2576-4-git-send-email-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1459215159-2576-1-git-send-email-bjorn.andersson@linaro.org> References: <1459215159-2576-1-git-send-email-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-msm8974.dtsi | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) -- 2.5.0 diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index d872ddc2d190..79c9cfcabf77 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -168,6 +168,31 @@ hwlocks = <&tcsr_mutex 3>; }; + smp2p-modem { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + + interrupt-parent = <&intc>; + interrupts = <0 27 IRQ_TYPE_EDGE_RISING>; + + qcom,ipc = <&apcs 8 14>; + + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + modem_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,state-cells = <1>; + }; + + modem_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + smp2p-wcnss { compatible = "qcom,smp2p"; qcom,smem = <451>, <431>; @@ -548,6 +573,13 @@ smd { compatible = "qcom,smd"; + modem { + interrupts = <0 25 IRQ_TYPE_EDGE_RISING>; + + qcom,ipc = <&apcs 8 12>; + qcom,smd-edge = <0>; + }; + rpm { interrupts = <0 168 1>; qcom,ipc = <&apcs 8 0>;