From patchwork Thu Nov 8 18:39:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150575 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184547ljp; Thu, 8 Nov 2018 10:41:21 -0800 (PST) X-Google-Smtp-Source: AJdET5exFmuMy8JAJTp5nofbgaECs+WzO4ZihBt6Wo93wtAQygmTwEvSedNX3hJ1eXmiGxmNoa7e X-Received: by 2002:a63:ba48:: with SMTP id l8mr4619604pgu.72.1541702481308; Thu, 08 Nov 2018 10:41:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702481; cv=none; d=google.com; s=arc-20160816; b=EOqMOrcmhe6jPQ5ZLGrkHGTEZnpJYULST23/PdD7TJ332hXTD6C/FZ0X5mL9cv5Y7y AbefRCE1msclD4bMD/h1bNVYSPIWZgV1h6DQgsLwPz4KYDCxFF0Y0WQuX8FeuRcXPm9e 20qKzBqMa0aZ3dtANDpU4vyrZUKjoEghujQJk0qQL6DnjROlISP3KWESX5ZTFLO3RI7h LVlxM2+mTzybWR/dSxcS/TSEm8gZTDcTDqxqzF+48DTllQra81jcWUDjTc/lSjz62HjS mOoKajUJ9Qkoz1rm1FOzFkCb46KMSYOTndYO/ObPYhdehYvc6CavhS7PmLOwjAczzzAv zBXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Yn5WRJhp/il9B25QmUZxp26tn9gGWo8qWTp+DCOBOyA=; b=wjT/5uHnXVcIZPG/tCByxPiymlMxF4U2rHfhX3XLRXgI96xF1pog2h+sbaXoQEghFg A7rScWquN/u8X2dtfKqeSQ75H1vp37Sc0jPEtHtD82M9A6rco7+Q777i02rxJNsNr4IN X7s0xfnbocMgFLShB/Pwdjmx5hdNq7oZYCeZRJwkzbe9UwhJw+a+PSj56qMEO7d+Rg0S Bt8tu/gNG44aeM3f1AvQrLqPJh4hWdKPvC8UNz3XIzf3MuY5a85Be7D0vzltgOBmY15N qcUUoHUTNmou8F1Mi529xBLe+azljbFmrD3FCtI2jsD0zxSmiEq+quwrDj6syLcSqzVq cnyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aBtKjXWc; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q13si4399549pgj.86.2018.11.08.10.41.21; Thu, 08 Nov 2018 10:41:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@kernel.org header.s=default header.b=aBtKjXWc; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727495AbeKIESH (ORCPT + 6 others); Thu, 8 Nov 2018 23:18:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:60118 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIESG (ORCPT ); Thu, 8 Nov 2018 23:18:06 -0500 Received: from localhost.localdomain (unknown [171.76.98.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F052520684; Thu, 8 Nov 2018 18:41:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702479; bh=zZpXSbmNbp/b/hkBQO15rUMRnsw6ga9X7VfhMkxt3Y8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aBtKjXWci6FbzVY9pTyLDjRLv/tS6e17LSmCP5+bdqmS8l/wh2KLNFzo8m95kirQA +siZhX6kobFqjIHblDx5CcfYcI5kjNlN9PHDLJ7179g/DuLQ2tMAxt7PZ5NNPef1yI EwfzDffY3iVCPV/paPHv1F1DXv3f9fIipEeHU9bQ= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v4 06/18] arm64: dts: qcom: qcs404: add smp2p nodes Date: Fri, 9 Nov 2018 00:09:57 +0530 Message-Id: <20181108184009.18430-7-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-1-vkoul@kernel.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the smp2p-adsp, smp2p-cdsp and smp2p-wcss nodes found in QCS404. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index e21b4a549e75..cc4dd3186ae9 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -257,4 +257,64 @@ , ; }; + + smp2p-adsp { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + interrupts = ; + mboxes = <&apcs_glb 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-cdsp { + compatible = "qcom,smp2p"; + qcom,smem = <94>, <432>; + interrupts = ; + mboxes = <&apcs_glb 14>; + qcom,local-pid = <0>; + qcom,remote-pid = <5>; + + cdsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + cdsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-wcss { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + interrupts = ; + mboxes = <&apcs_glb 18>; + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + wcss_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + wcss_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; };