From patchwork Tue Aug 23 05:57:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 74487 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1925194qga; Mon, 22 Aug 2016 22:58:18 -0700 (PDT) X-Received: by 10.98.74.91 with SMTP id x88mr49820262pfa.79.1471931897825; Mon, 22 Aug 2016 22:58:17 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z185si2207394pfz.64.2016.08.22.22.58.17; Mon, 22 Aug 2016 22:58:17 -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; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932616AbcHWF54 (ORCPT + 27 others); Tue, 23 Aug 2016 01:57:56 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:33495 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756146AbcHWF5w (ORCPT ); Tue, 23 Aug 2016 01:57:52 -0400 Received: by mail-pa0-f48.google.com with SMTP id ti13so44874076pac.0 for ; Mon, 22 Aug 2016 22:57:52 -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=S5Nx6LV8sXLtTzAnTdUwEotb8bEZlzIUJJuDFPVOA/E=; b=GCuOTNEJ3La26pOxuRAAGSYMHrZ+/su3qmvuX81NZuBsEtHu70BlaHVt0ZZC6+Z9Qa 23OADBkvKOarrJF6lvgfh6nNy6ni5+0M1OK0bZVtWYhwWJG7npm+FVATA2M0dPwKaQIZ BkTmBBd0dEP8+v0ea7rWiC3JljwLz3DpueDUY= 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=S5Nx6LV8sXLtTzAnTdUwEotb8bEZlzIUJJuDFPVOA/E=; b=dk6En8RSH8BvJ/Xz2sDd+ckkciN5Lzbuh6ExSabeU5eder/j5gGPCKKKUjb1moBaYs cTeBhGv1PAjFGG5VzcDdG2VDatttwjLMB9hZBu6lXx5+kwkihICJe3fwYi+CsJ7CkdQt 39MPDD6p7Su6nsn9ynl8D/zoufJ+GzCsvic9Ct7GjTNXDf6WiigWS/uVF9CIzL4dNWLe 9AYmUGlmeT8skjnOxmpxvMdG+hIzq1UakPJ1TatWweHAVaY1xpfHkvKAB8qZfbVErdBg su2R6qfS0O5sFBRqnlYQOIkh/1tq8wc3UlcQQPSoJKsjU23URBUwPkPEYCaBFJrgckQq 8nUQ== X-Gm-Message-State: AEkoouto187NNg+BTDbgEFXO5KD35xOSQ7pCpKtnBo1SzPrsdnnXs5kdO0eAO5JTbNFCYynb X-Received: by 10.66.219.200 with SMTP id pq8mr49944448pac.75.1471931871909; Mon, 22 Aug 2016 22:57:51 -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 uc1sm1994173pac.24.2016.08.22.22.57.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Aug 2016 22:57:51 -0700 (PDT) From: Bjorn Andersson To: Andy Gross Cc: Mark Rutland , Ohad Ben-Cohen , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH v2 3/4] ARM: dts: msm8974: Add ADSP smp2p and smd nodes Date: Mon, 22 Aug 2016 22:57:45 -0700 Message-Id: <1471931866-3107-3-git-send-email-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1471931866-3107-1-git-send-email-bjorn.andersson@linaro.org> References: <1471931866-3107-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 --- Changes since v1: - Added this patch 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 561d4d136762..eac24cbe3c87 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-adsp { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + + interrupt-parent = <&intc>; + interrupts = <0 158 IRQ_TYPE_EDGE_RISING>; + + qcom,ipc = <&apcs 8 10>; + + qcom,local-pid = <0>; + qcom,remote-pid = <2>; + + adsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + adsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + smp2p-modem { compatible = "qcom,smp2p"; qcom,smem = <435>, <428>; @@ -543,6 +568,13 @@ smd { compatible = "qcom,smd"; + adsp { + interrupts = <0 156 IRQ_TYPE_EDGE_RISING>; + + qcom,ipc = <&apcs 8 8>; + qcom,smd-edge = <1>; + }; + modem { interrupts = <0 25 IRQ_TYPE_EDGE_RISING>;